Advertisement
Guest User

Untitled

a guest
Apr 14th, 2021
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. {
  2.  
  3. Maximum 6 options to be displayed
  4.  
  5. }
  6.  
  7. [ENABLE]
  8. alloc(MenuMem,2048)
  9. registersymbol(MenuMem)
  10.  
  11. label(asTimeGoesBy)
  12. label(shouldExit)
  13. label(print)
  14.  
  15. label(Separator)
  16. label(Back)
  17.  
  18. label(Title,Option1,Option2,Option3,Option4,Option5,Option6)
  19. label(Title_basic,Option1_basic,Option2_basic,Option3_basic,Option4_basic,Option5_basic,Option6_basic)
  20.  
  21. label(side,center)
  22.  
  23. //registersymbol(shouldExit,Title,Option1,Option2,Option3,Option4,Option5,Option6,Separator,Back)
  24. registersymbol(shouldExit,Back)
  25.  
  26.  
  27.  
  28.  
  29. createthread(MenuMem)
  30.  
  31. MenuMem:
  32. //sub esp,20
  33. asTimeGoesBy:
  34.  
  35. push #2000
  36. call sleep
  37.  
  38. lea eax,[@f]
  39. mov [Back],eax
  40. mov eax,side //String
  41. call print
  42. @@:
  43. lea eax,[@f]
  44. mov [Back],eax
  45. mov eax,center //String
  46. call print
  47. @@: //}
  48.  
  49. {
  50. push #1000
  51. call sleep
  52.  
  53. lea eax,[@f]
  54. mov [Back],eax
  55. mov eax,Title //String
  56. call print
  57. @@:
  58.  
  59. lea eax,[@f]
  60. mov [Back],eax
  61. mov eax,Separator //String
  62. call print
  63. @@:
  64. lea eax,[@f]
  65. mov [Back],eax
  66. mov eax,Option1 //String
  67. call print
  68. @@:
  69. lea eax,[@f]
  70. mov [Back],eax
  71. mov eax,Option2 //String
  72. call print
  73. @@:
  74.  
  75. lea eax,[@f]
  76. mov [Back],eax
  77. mov eax,Option3 //String
  78. call print
  79. @@:
  80. lea eax,[@f]
  81. mov [Back],eax
  82. mov eax,Option4 //String
  83. call print
  84. @@: //}
  85.  
  86.  
  87.  
  88. cmp [shouldExit],0
  89. je asTimeGoesBy
  90.  
  91.  
  92. // free memory, return
  93. push 0 // RtlExitUserThread
  94. push 8000 // dwFreeType = MEM_RELEASE
  95. push 0 // dwSize
  96. push MenuMem // lpAddress
  97. push ntdll.RtlExitUserThread
  98. jmp VirtualFree
  99. db CC CC CC CC CC CC
  100.  
  101.  
  102. center:
  103. db 'god ^2Center screen ',0
  104. side:
  105. db '%c "^2Side of screen"',0
  106.  
  107. //Main menu
  108. Title:
  109. db '%c "^1-- Menu --"'
  110. Option1:
  111. db '%c "^2-- Basic --"'
  112. Option2:
  113. db '%c "^2-- Admin --"'
  114. Option3:
  115. db '%c "^2-- Zombies --"'
  116. Option4:
  117. db '%c "^2-- DVAR Edits --"'
  118. Option5:
  119. db '%c "_"'
  120. Option6:
  121. db '%c "_"'
  122.  
  123. //Basic
  124. Title_basic:
  125. db '%c "^1-- Basic --"'
  126. Option1_basic:
  127. db '%c "^2-- God mode --"'
  128. Option2_basic:
  129. db '%c "^2-- Noclip --"'
  130. Option3_basic:
  131. db '%c "^2-- Notarget --"'
  132. Option4_basic:
  133. db '%c "_"'
  134. Option5_basic:
  135. db '%c "_"'
  136. Option6_basic:
  137. db '%c "_"'
  138.  
  139. Separator:
  140. db '%c "-"'
  141.  
  142. Back:
  143. db 00 00 00 00 00 00 00 00 00 00
  144. print:
  145. push 65
  146. push eax
  147. push 00
  148. push 00
  149. call BlackOps.exe+2106E0 //}
  150. jmp [Back]
  151.  
  152. shouldExit:
  153. dd 0
  154. [DISABLE]
  155. shouldExit:
  156. dd 1
  157.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement