Original code- 00459746 817D 08 20A10>CMP DWORD PTR SS:[EBP+8],7A120
- 0045974D 7D 61 JGE SHORT 004597B0
复制代码 Select both address and press Right-Click > Binary > Fill with NOPs
So your code should show like this:
- 00459746 90 NOP
- 00459747 90 NOP
- 00459748 90 NOP
- 00459749 90 NOP
- 0045974A 90 NOP
- 0045974B 90 NOP
- 0045974C 90 NOP
- 0045974D 90 NOP
- 0045974E 90 NOP
复制代码 Now, do the same thing with these two addresses:
- 004599C2 |. 66:3938 |CMP WORD PTR DS:[EAX],DI
- 004599C5 |. 7F 12 |JG SHORT 004599D9
复制代码 Then should be like this:- 004599C2 90 NOP
- 004599C3 90 NOP
- 004599C4 90 NOP
- 004599C5 90 NOP
- 004599C6 90 NOP
复制代码 |