Cut the chicken into serving size pieces.
Heat the sesame seed oil in a large frying pan.
Add the ginger, garlic, chilies and shallots. Cook over medium heat, stirring often, until lightly browned. Scoop out and set aside.
Turn up the heat to medium-high.
Lay the chicken pieces, skin side down and in a single layer, on the hot oil. Cook until the chicken skin is nicely browned and has a crusty texture. Flip them over and brown the other side as well.
Add the ginger, garlic, chilies and shallots back to the pan.
Pour in the soy sauce and rice wine. Turn the heat to low, cover the pan and braise the chicken for about 20 minutes. Taste the sauce occasionally; you may need to add more soy sauce.
Turn up the heat. stir in half of the Thai basil. Continue cooking the chicken, uncovered, until the sauce is thickened and reduced. At this point, there will appear to be more oil than sauce.
Add the rest of the basil leaves. Cook for another minute.
Serve hot with rice.