Place crabs in the freezer for about 15-20 minutes to make them dormant and easier to handle. Then rinse them under cold running water to remove any dirt. You can use a brush to clean the shell more thoroughly.
Flip the crab over, lift and pull off the flap/apron. Also, grab the carapace and pull it away from the body. With the carapace off, remove and discard the gills and the mouthparts. Give the crab another rinse.
Use sharp kitchen shears to cut the body into halves or quarters, depending on the size of the crabs. Then use a mallet to crack the claws and legs. If you like the yellow gooey "crab butter" inside, scrape into a bowl and set aside. Cut the scallions into 2-inch long pieces (about 5cm), and keep the white and green parts separated. Thinly slice the ginger.
Place a frying pan over medium heat and heat a generous amount of cooking oil. Dip the flesh side of the crab halves of quarters into cornstarch. Shake off excess starch, and then fry the crab pieces for about 3 minutes or until the side coated with cornstarch is lightly golden. Transfer to a plate.
Place a large skillet over medium heat and add just enough cooking oil to lightly coat the bottom. Add ginger slice, stir and cook briefly until fragrant. Then add the white parts of scallion, also stir and cook briefly until fragrant.
Add the crab pieces to the skillet. Stir and cook for a couple of minutes, then pour Shaoxing wine over the crabs. Give it a quick stir, then continue to add light soy sauce, oyster sauce, water and the "crab butter".
Stir well and let the sauce come to a simmer. Cook for another 4-5 minutes or until the crab pieces are fully cooked, stirring a few times. Adjust the heat as needed. Avoid overcooking as the crab meat may become dry and tasteless. Also adjust the amount of liquid and seasonings to your likings.
Add the green parts of the scallions. Give everything another thorough stir, then transfer to serving plates. Serve right away.