First, prep all of your ingredients, including your aromatics--ginger, garlic, cilantro, and scallion. Prep the beaten eggs as well and set them aside. Only when you have all the ingredients prepared and ready to go should you start cooking.
Heat the cooking oil in a wok over medium-high heat. Add the ginger first, stirring for 30 seconds. Then add the garlic. When the garlic is just cooked (before it starts to turn golden), add the cooked rice to the wok, and turn up the heat to high. Stir fry the rice for 3 minutes or so until it's thoroughly combined with the ginger/garlic mixture and/or warmed through if you're using leftover rice.
Now for the flavorings: add the white pepper, fish sauce, soy sauce, and shaoxing wine to the rice. If it's not quite salty enough for you or if you know you won't be eating it with added hot sauce, now is the time to add salt to taste. Stir-fry to combine.
Using your spatula, spread the rice out into an even layer along the surface of the wok. Pour the beaten egg evenly over the rice. Stir the rice until all of the egg is cooked and incorporated. The egg coats the rice and makes for a most excellent savory experience. Much better than broken up bits/huge chunks of scrambled egg throughout.
Before adding the crab, use your spatula to once more spread the rice evenly in the wok. Add the crab to the rice and stir fry thoroughly. When the crab is warmed through, add the scallion and cilantro and stir-fry briefly until the herbs are just wilted. Serve and finish with a squeeze of lime and your favorite chili oil!