SHARE
TWEET

[FF8/ASM HACK] UV Hack- EBP-05 stack hack

MaKiPL Dec 20th, 2016 36 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alloc(newmem,2048)
  2.  
  3. newmem:
  4. FirstRemove:
  5. cmp cl,[ebp-04]
  6. jne FirstAdd
  7. sub cl, 0 //U1
  8. JMP SecondRemove
  9.  
  10. FirstAdd:
  11. CMP cl, [ebp-01]
  12. JNZ short SecondRemove
  13. add cl, 0 //U1
  14.  
  15. SecondRemove:
  16. mov dl, [ebp-08]
  17. push ECX
  18. add cl, 2
  19. mov [ebp-05], cl      //MOV
  20. POP ECX
  21. cmp dl, [ebp-02]
  22. jne SecondAdd
  23. sub dl, 0 //V1
  24. jmp ThirdRemove
  25.  
  26. SecondAdd:
  27. cmp dl, [ebp-03]
  28. jne ThirdRemove
  29. add dl, 0 //V1
  30.  
  31. ThirdRemove:
  32. mov cl, [ebp-04]
  33. mov [ebp-06], dl      //MOV
  34. mov dl, [ebp-07]
  35. cmp dl, cl
  36. jne ThirdAdd
  37. sub dl, 0 //U2
  38. jmp FourthRemove
  39.  
  40. ThirdAdd:
  41. cmp dl, [ebp-01]
  42. jne FourthRemove
  43. add dl, 0 //U2
  44.  
  45. FourthRemove:
  46. mov cl, [ebp-02]
  47. mov [ebp-07], dl     //MOV
  48. mov dl, [ebp-09]
  49. cmp dl, cl
  50. jne FourthAdd
  51. sub dl, 0 //V2
  52. jmp FifthRemove
  53.  
  54. FourthAdd:
  55. cmp dl, [ebp-03]
  56. jne FifthRemove
  57. add dl, 0 //V2
  58.  
  59. FifthRemove:
  60. mov cl, [ebp-04]
  61. mov [ebp-08], dl     //MOV
  62. mov dl, [ebp-0A]
  63. cmp dl, cl
  64. jne FifthAdd
  65. sub dl, 0 //U3
  66. jmp SixthRemove
  67.  
  68. FifthAdd:
  69. cmp dl, [ebp-01]
  70. jne SixthRemove
  71. add dl, 0 //U3
  72.  
  73. SixthRemove:
  74. cmp bl, [ebp-02]
  75. jne SixthAdd
  76. sub bl,0 //V3
  77. JMP final
  78.  
  79. SixthAdd:
  80. cmp bl, [ebp-03]
  81. jne final
  82. add bl,0 //V3
  83.  
  84. final:
  85. JMP FF8_EN.exe+153D43
  86.  
  87. "FF8_EN.exe"+153CB1:
  88. JMP newmem
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top