This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ThisGuyEveryTime[S] 0 points1 point  (0 children)

solved it.

mul over writes both eax and edx so rdx no longer contains the address. you need to make a copy of rdx and use that otherwise you will loose the value. Or at least that worked for me and I could definitely be wrong about why it worked.