Advertisement
Guest User

Untitled

a guest
May 28th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var tmp
  2. var valloc
  3.  
  4.  
  5.  
  6. gpa "VirtualAlloc","kernel32.dll"
  7. find $RESULT,#c2??00#
  8. mov valloc, $RESULT
  9. bp valloc
  10. esto
  11. esto
  12. esto
  13. esto
  14. sti
  15. bc valloc
  16. find eip,#c20c006800000000c3#
  17. find $RESULT,#c3#
  18. mov tmp, $RESULT
  19. bp tmp
  20. esto
  21. sti
  22. bc tmp
  23.  
  24.  
  25. find eip,#b8????????e8#
  26. mov tmp, $RESULT
  27. add tmp, 0a
  28. bp tmp
  29. esto
  30. bc tmp
  31. sti
  32.  
  33. find eip,#7???ff5328#
  34. mov tmp, $RESULT
  35. add tmp, 0b
  36. bp tmp
  37. esto
  38. bc tmp
  39. sti
  40.  
  41.  
  42. find eip,#c9c2??00#
  43. mov tmp, $RESULT
  44. inc tmp
  45. bp tmp
  46. esto
  47. sti
  48. bc tmp
  49.  
  50.  
  51. find eip,#64ff30648920#
  52. mov tmp, $RESULT
  53. add tmp, 7
  54. mov tmp, [tmp]
  55. bphws tmp,"x"
  56. esto
  57. bphwc tmp
  58.  
  59. findop eip,#c3#
  60. mov tmp,$RESULT
  61. bphws tmp,"x"
  62. esto
  63. bphwc tmp
  64. sti
  65.  
  66. find eip,#c3c3#
  67. mov tmp, $RESULT
  68. bphws tmp,"x"
  69. esto
  70. sti
  71. bphwc tmp
  72. sti
  73. find eip,#e8????????e8????????????e8????????e8????????#
  74. mov tmp, $RESULT
  75. add tmp, 11
  76. bphws tmp, "x"
  77. esto
  78. bphwc tmp
  79. sti
  80. rtr
  81. sti
  82.  
  83.  
  84.  
  85.  
  86. find eip,#81??010000000f#
  87. mov tmp, $RESULT
  88. add tmp, 0c
  89. bphws tmp, "x"
  90. esto
  91. bphwc tmp
  92.  
  93. find eip,#5cffe0#
  94. mov tmp, $RESULT
  95. inc tmp
  96. bphws tmp, "x"
  97. esto
  98. bphwc tmp
  99. sti
  100. cmt eip,"OEP here!  Dump & fix imports!"
  101.  
  102. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement