I bet no one can correctly imagine how your squat looks like after your description. So maybe post a video, so we can look what is wrong with it.
Regarding your "muscle pain" - are you suggesting that you are insured or that you are only uncomfortable because you did change something about your squat? Also the location of that "pain" is as obscure to the reader as your squat form. Do you know what a hernia is?