To prepare the ingredients, cut the garlic, scallions, cucumber, red chili pepper, and lime. Set everything aside so it is ready to go.
To make the crab fried rice, in a wok over high heat, add cooking oil and garlic. Crack in the eggs and scramble until halfway cooked. Add the jasmine rice and stir-fry, breaking up clumps until the grains separate. Season with soy sauce, fish sauce, and sugar. Add the crab meat and toss gently to combine. Stir in the scallions.
To make the chili fish sauce, in a small bowl, combine the red chili pepper, fish sauce, and lime juice.
To serve, transfer the fried rice to a plate and garnish with cucumber, cilantro, and lime. Serve the chili fish sauce on the side.