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.

mams32 Read out

Featured Replies

Posted

Hi

I have a question to read out a offset from a jmp in masm32 without readproccessmemory

00415ED3 .- E9 28B1FEFF JMP 00401000

My routine find this offset 00415ED3 and i need for my wsprintf this offset 00401000

Can i make this with ReadFile?

Thanks,

So you got the VA (offsets are relative to file begin, +0) 415ED3. The instruction there is a jump and you want its destination VA? Formula would be the following:

DestinationVA = InstructionOffset + InstructionVA + InstructionLength

In your case:

0x401000 = 0xFFFEB128 + 0x415ED3 + 5

Is this what you want? Not sure if I got you right.

  • Author

Im not sure

My Goal is:

;00415ED3 .- E9 28B1FEFF JMP 00401000

;this offset 00415ED3 is in eax and i set the file pointer to this offset

invoke SetFilePointer, hInFile, eax, NULL, FILE_BEGIN

invoke ReadFile,hInFile,addr pBuffer,sizeof pBuffer,addr BytesRead,0

Now mus i found a solution for get this offset after this jmp " 00401000"

I need this offset for my next routine with wsprintf

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.