Wash the chicken thoroughly, then coat it with yogurt, turmeric, and salt. Mix well and let it marinate for at least half an hour.
Roast the red chilies, coriander seeds, cumin seeds, and black peppercorns in a pan over low heat; turn off the flame once the aroma is released.
Combine the roasted spices, garlic, and tamarind; add a little water and blend the mixture into a smooth paste.
Apply the masala paste to the marinated chicken and let it sit for another 15 minutes so the flavors infuse well.
Heat 2 tablespoons of ghee in a pan, add the chicken, and sauté over medium heat until it is partially cooked.
Add the remaining ghee and curry leaves, then cook the chicken completely; keep stirring until the masala thickens and the ghee begins to separate.
Once the chicken turns reddish and is well-coated with the masala, turn off the heat and serve hot.