How to do these things in assembly !?
Posted on 2012-09-13
I'm new to assembly and need to help doing bit small thing, it may be so simple for assembly programmers! But its not for me ! ..
PUSH OFFSET 001E5740 ; ASCII "cmd "
CALL DWORD PTR DS:[1E92B0]
I need to replace the address 001E5740 with a label or a variable how to do this in assembly please give me an example.
Also, the second line the address [1E92B0] is an address of a library in windows 7, how to get the real address everytime i run the program because its change everytime I run the program.
Note that the previous code is from OllyDBG