trojan
November 23rd, 2001, 17:03
I am new to cracking but I understand the basics of assembly language, and
know how to use "w32dasm disaasembler" and the hex editor "hiew"
In the examples of the "w32dasm" disasseembles below, I show to examples of
the "jmp" instructions. Some of them I am able to enterpret like:
:0040117F 7504 jne 00401185 --- I can change this jmp by
changing the "75" in Hiew
:00401183 EB03 jmp 00401188 --- I can change this jmp
by changing the "EB" in Hiew
If i change the 75 to a 74 in the "jne" instruction it will change it to a
"je". And with the "jmp" I can change the "EB" to another jump instruction
if needed.
There are however some jump instructions that do not look familar to me and
I have be unable to change them. They appear as a regular "jmp" instruction,
but the hex is not familar to me and I do not know how to change it. Here is
an example of what I am talking about:
:00401C95 E99C6F0000 Jmp 00408C36 --- I do not know how to change these jmp's
:00401CA5 E916000000 jmp 00401CC0 --- I do not know how to change these jmp's
As you can see it interprets E99C6F0000 and E916000000 as "jmp" instructions, but the hex doesn't appear as a "jmp" instruction which should be "EB" like in the other example.
Are these special "jmp" instructions or are they misinterpreted by w32dasm?
Can anyone tell me how to change these? Everytime I try to change them I end up screwing the exe up.
Here is a more complete view of coding examples that I have used above:
----------------------------------------------------------------------------
--------------------------------------------------------------------
:00401178 8B442414 mov eax, dword ptr [esp+14]
:0040117C 85C0 test eax, eax
:0040117E 57 push edi
:0040117F 7504 jne 00401185 --- I can change this jmp by changing the "75" in Hiew
:00401181 33FF xor edi, edi
:00401183 EB03 jmp 00401188 --- I can change this jmp by changing the "EB" in Hiew
----------------------------------------------------------------------------
--------------------------------------------------------------------
:00401C95 E99C6F0000 Jmp 00408C36 --- I do not know how to change these jmp's
:00401C9A 90 nop
:00401C9B 90 nop
:00401C9C 90 nop
:00401C9D 90 nop
:00401C9E 90 nop
:00401C9F 90 nop
:00401CA0 E80B000000 call 00401CB0
:00401CA5 E916000000 jmp 00401CC0 --- I do not know how to change these jmp's
----------------------------------------------------------------------------
--------------------------------------------------------------------
know how to use "w32dasm disaasembler" and the hex editor "hiew"
In the examples of the "w32dasm" disasseembles below, I show to examples of
the "jmp" instructions. Some of them I am able to enterpret like:
:0040117F 7504 jne 00401185 --- I can change this jmp by
changing the "75" in Hiew
:00401183 EB03 jmp 00401188 --- I can change this jmp
by changing the "EB" in Hiew
If i change the 75 to a 74 in the "jne" instruction it will change it to a
"je". And with the "jmp" I can change the "EB" to another jump instruction
if needed.
There are however some jump instructions that do not look familar to me and
I have be unable to change them. They appear as a regular "jmp" instruction,
but the hex is not familar to me and I do not know how to change it. Here is
an example of what I am talking about:
:00401C95 E99C6F0000 Jmp 00408C36 --- I do not know how to change these jmp's
:00401CA5 E916000000 jmp 00401CC0 --- I do not know how to change these jmp's
As you can see it interprets E99C6F0000 and E916000000 as "jmp" instructions, but the hex doesn't appear as a "jmp" instruction which should be "EB" like in the other example.
Are these special "jmp" instructions or are they misinterpreted by w32dasm?
Can anyone tell me how to change these? Everytime I try to change them I end up screwing the exe up.
Here is a more complete view of coding examples that I have used above:
----------------------------------------------------------------------------
--------------------------------------------------------------------
:00401178 8B442414 mov eax, dword ptr [esp+14]
:0040117C 85C0 test eax, eax
:0040117E 57 push edi
:0040117F 7504 jne 00401185 --- I can change this jmp by changing the "75" in Hiew
:00401181 33FF xor edi, edi
:00401183 EB03 jmp 00401188 --- I can change this jmp by changing the "EB" in Hiew
----------------------------------------------------------------------------
--------------------------------------------------------------------
:00401C95 E99C6F0000 Jmp 00408C36 --- I do not know how to change these jmp's
:00401C9A 90 nop
:00401C9B 90 nop
:00401C9C 90 nop
:00401C9D 90 nop
:00401C9E 90 nop
:00401C9F 90 nop
:00401CA0 E80B000000 call 00401CB0
:00401CA5 E916000000 jmp 00401CC0 --- I do not know how to change these jmp's
----------------------------------------------------------------------------
--------------------------------------------------------------------