The given sentence needs to be filled with an adverb of manner. An adverb of manner indicates the way people do things. Thus ‘badly’ is the apt answer. Hence option D is correct. Whereas ‘last night’ is an adverb of time, it tells us when the action happens, i.e. the time. So option A is incorrect. Similarly ‘regularly’ is an adverb of frequency, it tells us how often the action takes place, i.e. the rate of occurrence. Hence option B is incorrect. ‘Anywhere’ is an adverb of place. It explains where the action happens or where someone is going and is not used to indicate the manner in which the action happens. Therefore option C is incorrect.