A question about changing machine code
Astalavista Forum Index :: Keygenning and Programming :: A question about changing machine code
Post new topic   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
  A question about changing machine code
Author Message
AzraelUK
Newbie
Newbie


Offline
No Image
Joined: 30 Dec 2007
Posts: 13

Reply with quote
No Image
Hmmm... I want to change some machine code from something like:
Code:
680D314000 | push 00040310D


to a reference to a register, like:
Code:
push ebx


What's the machine code to push a register like that?

_________________
View user's profile Send private message
PostDate Posted:Mon Dec 31, 2007 11:46 am
Thanks: 0Thanked 0 Times In 0 Posts

Author Message
Angel-55
Hall of Fame
Hall of Fame


Offline
No Image
Joined: 04 Jun 2007
Posts: 172
Location: Crack World !!

Reply with quote
No Image
I dunno what exactly you mean but in case you mean you wanna push a register with that value you should use this.....
MOV EBX,0040310D
PUSH EBX

these both instruction equal PUSH 0040310D !!


Note: you posted this in the wrong section so please pay attention more, the post should be in the Free Talking About Cracking section cause it's the support section for any questions on reversing and so on, this section is for keygenning questions and sources......coding too !!

_________________
.:-][ Living In The Shadows ][:.

-[ Retired From RCE, No Cracking Anymore ! ]-
View user's profile Send private message
PostDate Posted:Mon Dec 31, 2007 12:23 pm
Thanks: 0Thanked 7 Times In 3 Posts

Author Message
AzraelUK
Newbie
Newbie


Offline
No Image
Joined: 30 Dec 2007
Posts: 13

Reply with quote
No Image
OK, I just found out through experimentation:
Code:

50: Push EAX
51: Push ECX
52: Push EDX
53: Push EBX
54: Push ESP
55: Push EBP
56: Push ESI
57: Push EDI

_________________
View user's profile Send private message
PostDate Posted:Mon Dec 31, 2007 12:27 pm
Thanks: 0Thanked 0 Times In 0 Posts

Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Page 1 of 1 All times are GMT


Back to top


 
Astalavista Forum Index :: Keygenning and Programming :: A question about changing machine code



Search This Topic:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by Astalavista.MS Team © 2004
Image Here Image Here Image Here