How To Crack With W32dasm And Hiew32
Click Here ===== https://urllie.com/2tzRbG
How To Crack With W32dasm And Hiew32: A Beginner's Guide
W32DASM and HIEW32 are two tools that can help you crack executable files (.exe) by modifying their assembly code. Assembly code is a low-level language that directly controls the hardware of a computer. By changing some instructions or bytes in the assembly code, you can alter the behavior of the executable file, such as bypassing registration or removing limitations.
In this article, we will show you how to use W32DASM and HIEW32 to crack a simple program that asks for a serial number. You will need to download and install both tools from their official websites. You will also need a target program to crack. For this example, we will use a program called CrackMe.exe, which you can download from here.
Step 1: Disassemble the target program with W32DASM
W32DASM is a disassembler that can convert an executable file into assembly code. To use it, follow these steps:
Open W32DASM and click on File -> Open. Browse to the location of CrackMe.exe and open it.
Wait for W32DASM to finish disassembling the file. You will see a window with the assembly code of the program.
Click on References -> String Data References. This will open a window with all the strings that are used in the program, such as messages or prompts.
Look for a string that says \"Enter Serial Number\". Double-click on it. This will take you to the assembly code where this string is used.
You will see something like this:
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
:0040101F(C)
:0040102A 68F8404000 push 004040F8
:0040102F 8D4DFC lea ecx, dword ptr [ebp-04]
:00401032 51 push ecx
:00401033 E8E8000000 call 00401120
:00401038 83C408 add esp, 00000008
:0040103B 837DFC00 cmp dword ptr [ebp-04], 00000000
:0040103F 750A jne 0040104B
:00401041 6A00 push 00000000
:00401043 E8E8000000 call 00401130
:00401048 EB1B jmp 00401065
The line :0040103F 750A jne 0040104B is a conditional jump that checks if the serial number entered by the user is correct or not. If it is not equal (jne) to zero, it jumps to address :0040104B, where it displays a message saying \"Wrong Serial Number\". If it is equal to zero, it falls through to the next line, where it displays a message saying \"Correct Serial Number\".
To crack this program, we need to change this conditional jump to an unconditional jump (jmp), so that it always jumps to the correct message regardless of the serial number entered by the user.
Step 2: Modify the assembly code with HIEW32
HIEW32 is a hex editor that can edit binary files directly. To use it, follow these steps:
Open HIEW32 and press F8 to enter text mode. Browse to the location of CrackMe.exe and open it.
Press F4 to enter decode mode. This will show you the assembly code of the file.
Press F5 to enter edit mode. This will allow you to modify the assembly code.
Type :40103F and press Enter. This will take you to the address where we want to change 061ffe29dd