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.

what is assign to a random offset?

Featured Replies

Posted

the following cods is generated by IDA pro. 

I don't understand where and what is assigned to off_40G030?

there is no reference in code section.

what does the following code mean?

off_40.JPG.cdde8143b2493b0028c2a7dd36d8cf50.JPG

what is the clean code of the following code?

Edited by James Taylor

  • Author
9 minutes ago, fearless said:

Probably that at that particular offset is stored a DEVICE_OBJECT, either a pointer to the DEVICE_OBJECT structure, or the actual contents of the structure. https://msdn.microsoft.com/en-us/library/windows/hardware/ff543147(v=vs.85).aspx

what is the pseudo code for the following decompiled code?

Thanks 

Please show the assembly code, that first compare makes no sense to me. Did you patch the Assembly manually or meddle with the decompiler somehow?

  • Author
32 minutes ago, deepzero said:

Please show the assembly code, that first compare makes no sense to me. Did you patch the Assembly manually or meddle with the decompiler somehow?

That's the source code. there is no more to be shown !!

.data

blah dd offset somethingelse

.code

mov eax, [blah]

cmp eax, offset blah

je someothercondition

.. continues

mov ebx,[eax.DEVICE_OBJECT.Characteristics]

and ebx, 2

jz someothercondition

.. continues

lea ebx, [eax.DEVICE_OBJECT.Flags]

cmp byte ptr [ebx], 4

jb someothercondition

.. continues

 

someothercondition:

------

something like that, might be wrong but it gives the general jist..

also "thats the source code" - nonsense, thats some hexrays c interpretation of the asm code, dont lie

 

 

 

Edited by evlncrn8

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.