RECON06 . A PLATFORM INDEPENDENT MULTI-CAVITY NOP VIRUS
Fixing jumps that jump backward:- » Simultaneusly in the old file and the new file, walk each individual instruction
- » For each instruction, check if the distance between the beginning of it and any jump instruction with a negative argument is equal to the absolute value of the negative argument.
- » If so, adjust the argument of that jump in the new file to the correct distance backwards which, as a side effect of the above, is easy to calculate.