In a cold war with her glasses-wearing classmate, Malfoid agreed to a sultry photoshoot just for his attention