MirrorMan

How to Crack Buildbox Tutorial Video by countryboy

Dec 30th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.88 KB | None | 0 0
  1. https://youtu.be/u0QMe3r1N2Y
  2.  
  3. A view into how a Computer Program works with Disassembler examples.
  4.  
  5. KEYBOARD KEYS USED
  6.  
  7. Spacebar: used to change View after loading.
  8.  
  9. F7 KEY: Single Step - Steps into Call
  10.  
  11. F8 KEY: Single Step - Steps over Call
  12.  
  13. F9 KEY: Run and Break at Breakpoint
  14.  
  15. Ctrl - C KEY: Used to copy text
  16.  
  17. ; Semicolon KEY: Insert a Quote - Create Debug Info: Referenced throughout program.
  18.  
  19. Placing mouse over a reference shows a popup, use Mouse wheel to scroll text.
  20. Clicking on a Reference: Jumps to that Reference.
  21.  
  22. Hexplorer - F3 KEY: Used to Search again - Message Hex not Found = only Found 1 time.
  23.  
  24.  
  25. CHECK LICENSE Function is a Boolean Function: The call before ( test al, al - jnz loc_43EA20 )
  26. The is_TRIAL Function returns an Integer in AX, ( al = 0 : not Trial ), not zero is probally Days remaining.
  27.  
  28.  
  29. QUESTIONS: ????
  30.  
  31. What is a Boolean Function call ? ANSWER: A Boolean Function returns true = 1, or false = 0 in Register AL
  32.  
  33. Why change the Functions, and not change the ( jz = jump if zero ), or ( jnz = jump if not zero ) after test al, al ??
  34. ANSWER: The Functions may be called by other parts of the Program, and is_TRIAL was called several times.
  35.  
  36. In a better way to change the function: Why return a zero in Register AL, and also set the Variable to zero ??
  37. ANSWER: The variable may be checked somewhere else in the Program. Both methods shown as different ways to do it, and
  38. it's best to also set Variable. When changing a jump after a Compare : Change the compare to a move Instruction.
  39.  
  40. Why Patch Function at END, and not at the TOP by using ( B0 01 C3 ) = mov al, 01 - the c3 = Return ??
  41. ANSWER: The Function may need to set Variables, but if it causes problems then patch at the very top before the push Instructions.
  42.  
  43. Why was the 90 used ? What is it ? and Why change all 4 bytes, and Why was all 4 of the bytes Dark Green ??
  44. ANSWER: Instruction ( 0F B6 41 12 ) is a 4 byte Instruction, and replaced by 2 byte Instruction ( B0 00 ) = Move ZERO to Register AL
  45. the other 2 bytes must be replaced with 90 = NOP which is NO OPERATION POSSIBLE, or the program will crash.
  46.  
  47. Why subtract 400c00 from the Debugger Offset to find the File Offset ??
  48. ANSWER: 400c00 is the memory loading offset, the start of 32-bit Programs code segment - file header.
  49. 64 bit Programs: Windows may relocate memory loading offset, and cause a time consuming Rebase, or Reanalyzing of program.
  50.  
  51. The Different methods, and the how to jump to an address and open Hex-View Tab shown for Demonstration purposes only.
  52.  
  53.  
  54. Why do you do it ?? ANSWER: It's a hobby, a puzzle to solve, and done as a mental challenge.
  55.  
  56.  
  57.  
  58. Hope you enjoyed the EDUCATIONAL VIDEO (:-))> A view into how a Computer Program works with Disassembler examples.
  59.  
  60.  
  61. Program was a very easy example, but other programs may not be easy !
  62.  
  63.  
  64. Have a great day, countryboy
  65.  
  66.  
  67. ========================================================================================== EAMPLES USED IN BUILD BOX ==================================================================================
  68.  
  69.  
  70. .text:0043D26D loc_43D26D: ; CODE XREF: sub_43C7D0+AF3j
  71. .text:0043D26D ; sub_43C7D0+AFEj
  72. .text:0043D26D lea esp, [ebp-0Ch] ; END FUNCTION:
  73. .text:0043D270 mov eax, ebx
  74. ---------------------------------------------------------- 2 BYTE INSTRUCTION
  75. 0043D270 89 D8 - 5B 5E 5F 5D C3 89 F6 8D BC 27 00 00 00 00
  76. --- 89 D8 5B 5E 5F 5D C3 89 F6 8D BC 27 00 00 00 00 -- FILE OFFSET : 3C670
  77. 0043D270 B0 01 - 5B 5E 5F 5D C3 89 F6 8D BC 27 00 00 00 00 ; MOVE A 1 TO REGISTER AL THE LOW BYTE OF REGISTER EAX
  78. -----------------------------------------------------------
  79. .text:0043D272 pop ebx
  80. .text:0043D273 pop esi
  81. .text:0043D274 pop edi
  82. .text:0043D275 pop ebp
  83. .text:0043D276 retn
  84. .text:0043D276 ; ---------------------------------------------------------------------------
  85.  
  86.  
  87. ===============================================================================================================================================
  88.  
  89. 00402F40 0F B6 41 12 C3 90 8D 76 00 8D BC 27 00 00 00 00
  90.  
  91. .text:00402F40 ; =============== S U B R O U T I N E =======================================
  92. .text:00402F40
  93. .text:00402F40 ; is_TRIAL - CHECK IF TRIAL
  94. .text:00402F40
  95. .text:00402F40 sub_402F40 proc near ; CODE XREF: sub_410065-1146p
  96. .text:00402F40 ; sub_415D20+13p ...
  97. .text:00402F40 movzx eax, byte ptr [ecx+12h]
  98. ---------------------------------------------------------- ; MOVE A 0 = ZERO TO REGISTER EAX LOW BYTE REGISTER = AL
  99. 00402F40 0F B6 41 12 - C3 90 8D 76 00 8D BC 27 00 00 00 00
  100. -- 0FB64112C3908D76008DBC2700000000 -- FILE OFFSET : 2340
  101. 00402F40 B0 00 90 90 - C3 90 8D 76 00 8D BC 27 00 00 00 00 ; RETURN 0 NOT A TRIAL VERSION
  102. ----------------------------------------------------------
  103. .text:00402F44 retn
  104. .text:00402F44 sub_402F40 endp
  105. .text:00402F44
  106. .text:00402F44 ; ---------------------------------------------------------------------------
  107. .text:00402F45 align 10h
  108.  
  109.  
  110. ================================================================================================= A BETTER WAY TO CHANGE FUNCTION =========================================================================
  111.  
  112.  
  113. A BETTER WAY TO CHANGE THE FUNCTION than Example 1
  114.  
  115. EXAMPLE 1.
  116.  
  117. .text:00402F40
  118. .text:00402F40 ; =============== S U B R O U T I N E =======================================
  119. .text:00402F40
  120. .text:00402F40 ; CHECK IF TRIAL
  121. .text:00402F40
  122. .text:00402F40 sub_402F40 proc near ; CODE XREF: sub_410065-1146p
  123. .text:00402F40 ; sub_415D20+13p ...
  124. .text:00402F40 movzx eax, byte ptr [ecx+12h]
  125. -----------------------------------------------------------
  126. 00402F40 0F B6 41 12 - C3 - 90 8D 76 00 8D BC 27 00 00 00 00
  127. --- 0FB64112C3908D76008DBC2700000000 -- FILE POSTION : 2340
  128. 00402F40 B0 00 90 90 C3 90 8D 76 00 8D BC 27 00 00 00 00
  129. ----------------------------------------------------------
  130. .text:00402F44 retn
  131. .text:00402F44 sub_402F40 endp
  132. .text:00402F44
  133. .text:00402F44 ; ---------------------------------------------------------------------------
  134.  
  135.  
  136.  
  137. EXAMPLE 2.
  138.  
  139. A BETTER WAY TO CHANGE THE FUNCTION : set the variable and return a 0
  140.  
  141. xor eax, eax ------------ NOW EAX = 0, and Register AL is the Low Byte Register of EAX
  142. mov [ecx+12h], al ------- NOW the Byte Variable at the Address in Register ecx + 12 is = 0
  143.  
  144. USED A BYTE (90) FROM THE --- align --- Section : DEAD CODE IS NOT RUN FOR ALIGNMENT ONLY
  145.  
  146. .text:00402F34 ; ---------------------------------------------------------------------------
  147. .text:00402F35 align 10h ; COMPILER ALIGNMENT CODE SECTION.
  148. .text:00402F40
  149. .text:00402F40 ; =============== S U B R O U T I N E =======================================
  150. .text:00402F40
  151. .text:00402F40 ; CHECK IF TRIAL
  152. .text:00402F40
  153. .text:00402F40 sub_402F40 proc near ; CODE XREF: sub_410065-1146p
  154. .text:00402F40 ; sub_415D20+13p ...
  155. .text:00402F40 xor eax, eax
  156. .text:00402F42 mov [ecx+12h], al
  157. -----------------------------------------------------------
  158. 00402F40 0F B6 41 12 C3 - 90 8D 76 00 8D BC 27 00 00 00 00
  159. --- 0FB64112C3908D76008DBC2700000000 -- FILE POSTION : 2340
  160. 00402F40 31 C0 88 41 12 C3 - 8D 76 00 8D BC 27 00 00 00 00
  161. -----------------------------------------------------------
  162. .text:00402F45 retn
  163. .text:00402F45 sub_402F40 endp
  164. .text:00402F45
  165. .text:00402F46 ; ---------------------------------------------------------------------------
  166.  
  167.  
  168. VERSION OF BUILDBOX IN VIDEO
  169. BuildBox_1.3.5-683_1dd8ec51dedc9255b72c89afef4e6e54
  170.  
  171. LOADER: https://mega.nz/#!1w8ziBQY!DutI9328SHJ5w5HpWvcGtHafi7-65miMnHMTIJFk2uM.
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
Advertisement
Add Comment
Please, Sign In to add comment