Matrix Posted December 22, 2007 Posted December 22, 2007 Hi Friends How I Retrieved Register Value (EAX , EBX , ..) With MASM or VB ? I Need An Example For This Question Plz Help Me Sorry For Bad English
starzboy Posted December 22, 2007 Posted December 22, 2007 (edited) push function pushes a register or registers value and keeps track of it for later use.Example1: Single register pushmov eax,01h ; Original Value of eax registermov ebx,02h ; Original Value of ebx registerpush eax ; push eax registerpush ebx ; push ebx registerxor eax,eax ; any functionxor ebx,ebx ; any functionpop ebx ; pop and retrieve ebx registerpop eax ; pop and retrieve eax registerExample2: All register pushmov eax,01hmov ecx,01hmov ebx,01hpushad ; push all registersxor eax,eaxxor ebx,ebxxor ecx,ecxpopad ; retrieve all registersHope it helpsstarz Edited December 22, 2007 by starzboy
mia Posted December 23, 2007 Posted December 23, 2007 Are you looks for codes to dump the current value of registers; then this will helpRegister_Dump.rarmia...
yamraaj Posted December 23, 2007 Posted December 23, 2007 If you are looking for getting register values from another process then you can use GetThreadContext api.
Matrix Posted December 24, 2007 Author Posted December 24, 2007 If you are looking for getting register values from another process then you can use GetThreadContext api. Hi yamraaj May You Give Me An Example That Used This API ? (VB or MASM) Tnx Dear Sorry For My Bad English
yamraaj Posted December 24, 2007 Posted December 24, 2007 Just read the tut by Markus. It's good enough.snd-basic.coding.a.serial.fisher.rarhttp://jbfonline.net/sndtuts/index.php?dir...ng%20Tutorials/Lemme know if you get any trouble.
ahmadmansoor Posted February 24, 2008 Posted February 24, 2008 pls Guys is there any examlpe in vb6 ..like put hardwere break piont HW-bp on that value and dump it ...and receive it in hex value and dump it many thanks
human Posted February 25, 2008 Posted February 25, 2008 you cant set hw bp on value, only on execute addres,read or write. rest you need to do own checks. slowing process down like hell.setting bp is easy just getthreadcontext update dr0 with address and dr7 with options like execute,read,write,size and drx used then setthreadcontext.btw all this you can find on msdn or google.just look for it.and you dont recive it in hex only binary, computer works in binary mode. how later you show value hex or decimal or octal or ascii its up to you.
wunder Posted October 5, 2011 Posted October 5, 2011 Just read the tut by Markus. It's good enough.snd-basic.coding.a.serial.fisher.rarhttp://jbfonline.net/sndtuts/index.php?dir...ng%20Tutorials/Lemme know if you get any trouble.Hi there .... this tut is useless with out "standardfunctions.asm" ( the brains behind it all is in the API's in that!!!)that is not a standerd thing included with MASMI scoured the web but I can not find it .....I have a few serial sniffers asm's and I tried to make up my own ....did not work....Does any body have "standardfunctions.asm"?
wunder Posted October 5, 2011 Posted October 5, 2011 I hope the author of this tut does not take offense .... I re uploaded the tut with the source.....If you do let me know I will remove itsnd-basic.coding.a.serial.fisher+SCR.rar 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now