When debugging software, the most important thing is to set breakpoints, so how to set breakpoints is an important skill.
For example: when a prompt box pops up, download MessageBoxA; for a registry, download RegOpenKeyA, etc. Of course, it is more convenient to go directly to the button event, because after reaching the button event, you will soon reach the core code, and your crack will not be far away. This article summarizes the methods of finding button events in various languages. Of course, you can also use tools, such as VBexplorer, DEDE, ECE, etc.
1. VB program
In fact, the most common way to find button events in VB is the so-called universal breakpoint. In fact, it is not only for button events, but also has many other uses, such as canceling NAG, launching boxes, gray buttons or hidden buttons, timer events at startup, etc. Let me summarize the details by myself. Here we only talk about button events! After OD is loaded, CTRL+B searches for 816C24
2. Delphi and BC++ programs
Delphi and BC++ are both developed by the same company, so the search methods are the same. Of course, you can also use DEDE. After OD is loaded, CTRL+G, go to 00401000 Then press CTRL+B and search for the feature code 740E8BD38B83??????FF93??????? The following work is to continue CTRL+L to continue searching and F2 to interrupt.
3. Easy Language
This search method of Yi Language is also suitable for programs with shells. Others must be unpacked before continuing the operation. After OD is loaded, just press F9 to run the program. When the program is running, Then CTRL+B, find FF 55 FC 5F 5E
4. VC++ program (non-MFC program)
After OD is loaded, right-click the mouse and select “Find”, then “All Commands” In the pop-up input box, write the feature code sub eax,0a Then after disconnecting, follow up with F7, F8 a few times, and you will reach the button event.
5. MFC programs
Of course, it’s up to you to judge MFC and non-MFC programs by yourself. Run the program and press CTRL+F to find the feature code: sub eax,0a After disconnecting, follow up with F7. If you F8 a few times, you will come to the button event code!
Summary category: Various language button event feature codes
VB: 816C24
Delphi & BC++: 740E8BD38B83????????FF93????????
MFC: sub eax,0a
VC++: sub eax,0a
Easy Language: FF 55 FC 5F 5E or (e-debug)
Universal breakpoint: F3A58BC883E103F3A4E8
How to use button events? Please read my [zero-based cracking tutorial series] (http://www.52ecy.pw/post-28.html)
Part of this article is taken from the Internet