Since you are extending your leg from a bent position I'm almost sure that the main muscle being used is your quadriceps muscle located on the front of your thigh.
Didn't find the answer you were looking for?