Comment Hydan works. (Score 2, Interesting) 250
From the intel instruction set manual:
"The SUB instruction ... sets the CF flags to indicate an overflow in the unsigned result".
Which means that the CF stays the same for both instructions since their results are the same.
-j
"The SUB instruction
Which means that the CF stays the same for both instructions since their results are the same.
Is the same as:ADD EAX, 3 ; eax = eax + 3
So, "Hydan" works.SUB EAX, -3 ; eax = eax - (-3)
-j