They were both in his bedroom, Malfoy sitting on his bed with his back turned to Hermione while she tried casting spells but mostly was just annoyed by him. He kept trying to pull her hands and wand away from him – not with his full strength though, because if he had been trying to push her with all his might, she would’ve never even gotten close to him – but Hermione kept persisting and he kept on glaring at her.