Fix usage of wrong register

Should be "eax", not "edx". I'm an idiot.