Advertisement
Guest User

Untitled

a guest
Nov 24th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.51 KB | None | 0 0
  1. ; BOOL __stdcall DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
  2. .text:10001000                 public DllEntryPoint
  3. .text:10001000 DllEntryPoint   proc near
  4. .text:10001000
  5. .text:10001000 hinstDLL        = dword ptr  4
  6. .text:10001000 fdwReason       = dword ptr  8
  7. .text:10001000 lpReserved      = dword ptr  0Ch
  8. .text:10001000
  9. .text:10001000                 push    esi
  10. .text:10001001                 mov     esi, ds:MessageBoxA
  11. .text:10001007                 jmp     short loc_10001010
  12. .text:10001007 ; ---------------------------------------------------------------------------
  13. .text:10001009                 align 10h
  14. .text:10001010
  15. .text:10001010 loc_10001010:                           ; CODE XREF: DllEntryPoint+7j
  16. .text:10001010                                         ; DllEntryPoint+20j
  17. .text:10001010                 push    0               ; uType
  18. .text:10001012                 push    offset Caption  ; "Error"
  19. .text:10001017                 push    offset Text     ; "HWID Not found"
  20. .text:1000101C                 push    0               ; hWnd
  21. .text:1000101E                 call    esi ; MessageBoxA
  22. .text:10001020                 jmp     short loc_10001010
  23. .text:10001020 DllEntryPoint   endp
  24. .text:10001020
  25. .text:10001020 ; ---------------------------------------------------------------------------
  26. .text:10001022                 align 4
  27. .text:10001024                 dd 77h dup(0)
  28. .text:10001200                 dd 380h dup(?)
  29. .text:10001200 _text           ends
  30. .text:10001200
  31. .idata:10002000 ; Section 2. (virtual address 00002000)
  32. .idata:10002000 ; Virtual size                  : 0000006A (    106.)
  33. .idata:10002000 ; Section size in file          : 00000200 (    512.)
  34. .idata:10002000 ; Offset to raw data for section: 00000600
  35. .idata:10002000 ; Flags 40000040: Data Readable
  36. .idata:10002000 ; Alignment     : default
  37. .idata:10002000 ;
  38. .idata:10002000 ; Imports from USER32.dll
  39. .idata:10002000 ;
  40. .idata:10002000 ; ===========================================================================
  41. .idata:10002000
  42. .idata:10002000 ; Segment type: Externs
  43. .idata:10002000 ; _idata
  44. .idata:10002000 ; int __stdcall MessageBoxA(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType)
  45. .idata:10002000                 extrn MessageBoxA:dword ; CODE XREF: DllEntryPoint+1Ep
  46. .idata:10002000                                         ; DATA XREF: DllEntryPoint+1r ...
  47. .idata:10002004
  48. .idata:10002004
  49. .rdata:10002008 ; ===========================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement