Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. [Enable]
  2. /* KMS v1.2.330 */
  3.  
  4. Alloc(MemoryDump,60000000)
  5. LoadBinary(MemoryDump,legit.CEM)
  6.  
  7. Define(MSStart,00400000)
  8. Define(MSEnd,019F0000)
  9.  
  10. /*--------------------*/
  11.  
  12. Alloc(CRC1Hook,128)
  13. Label(CRC1Org)
  14. Label(CRC1Ret)
  15.  
  16.  
  17. CRC1Hook:
  18. cmp esi,MSStart
  19. jb CRC1Org
  20. cmp esi,MSEnd
  21. ja CRC1Org
  22. sub esi,MSStart
  23. add esi,MemoryDump
  24.  
  25. CRC1Org:
  26. movzx ebx,byte ptr [esi+01]
  27. shl eax,08
  28. jmp CRC1Ret
  29.  
  30. 0061857C: // 0F B6 06 8B ? C1
  31. db 90 90
  32. jmp CRC1Hook
  33. CRC1Ret:
  34.  
  35. Alloc(CRC3Hook,128)
  36. Label(CRC3Org)
  37. Label(CRC3Ret)
  38.  
  39. CRC3Hook:
  40. cmp esi,MSStart
  41. jb CRC3Org
  42. cmp esi,MSEnd
  43. ja CRC3Org
  44. sub esi,MSStart
  45. add esi,MemoryDump
  46.  
  47. CRC3Org:
  48. shr ecx,02
  49. and edx,03
  50. jmp CRC3Ret
  51.  
  52. 015735F8-9: // C1 E9 ? 83 E2 ? 83 F9 ? 72 ? F3 - 1res
  53. jmp CRC3Hook
  54. nop
  55. CRC3Ret:
  56.  
  57. Alloc(CRC5Hook,128)
  58. Label(CRC5Org)
  59. Label(CRC5Ret)
  60.  
  61. CRC5Hook:
  62. cmp ebx,MSStart
  63. jb CRC5Org
  64. cmp ebx,MSEnd
  65. ja CRC5Org
  66. push ebx
  67. sub ebx,MSStart
  68. movzx ebp,byte ptr [ebx+MemoryDump]
  69. mov esi,edx
  70. pop ebx
  71. jmp CRC5Ret
  72.  
  73. CRC5Org:
  74. movzx ebp,byte ptr [ebx]
  75. mov esi,edx
  76. jmp CRC5Ret
  77.  
  78. 0153BB07: // 0F B6 2B 8B
  79. jmp CRC5Hook
  80. CRC5Ret:
  81.  
  82. /*
  83. I tested this disabled
  84. it's nothing?
  85.  
  86. Alloc(CRC2Hook,128)
  87. Label(CRC2Org)
  88. Label(CRC2Ret)
  89.  
  90. CRC2Hook:
  91. cmp eax,MSStart
  92. jb CRC2Org
  93. cmp eax,MSEnd
  94. ja CRC2Org
  95. sub eax,MSStart
  96. add eax,MemoryDump
  97.  
  98. CRC2Org:
  99. mov al,[eax]
  100. sub ebx,ebx
  101. and ecx,00000040
  102. jmp CRC2Ret
  103.  
  104. 01C93114:
  105. jmp CRC2Hook
  106. db 90 90 90 90 90
  107. CRC2Ret:
  108. */
  109. [disable]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement