Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How To Retrieve Value In Registers ?

Featured Replies

Posted

Hi Friends

How I Retrieved Register Value (EAX , EBX , ..) With MASM or VB ?

I Need An Example For This Question :wub:

Plz Help Me :rolleyes:

Sorry For Bad English :wub:

push function pushes a register or registers value and keeps track of it for later use.

Example1: Single register push

mov eax,01h ; Original Value of eax register

mov ebx,02h ; Original Value of ebx register

push eax ; push eax register

push ebx ; push ebx register

xor eax,eax ; any function

xor ebx,ebx ; any function

pop ebx ; pop and retrieve ebx register

pop eax ; pop and retrieve eax register

Example2: All register push

mov eax,01h

mov ecx,01h

mov ebx,01h

pushad ; push all registers

xor eax,eax

xor ebx,ebx

xor ecx,ecx

popad ; retrieve all registers

Hope it helps

starz

Edited by starzboy

Are you looks for codes to dump the current value of registers; then this will help

Register_Dump.rar

mia...

If you are looking for getting register values from another process then you can use GetThreadContext api.

  • Author
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) :wub:

Tnx Dear

Sorry For My Bad English :wub:

  • 2 months later...

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

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.

  • 3 years later...

Just read the tut by Markus. It's good enough.

snd-basic.coding.a.serial.fisher.rar

http://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 MASM

I 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"?

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 it

snd-basic.coding.a.serial.fisher+SCR.rar

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.