密碼管理軟體破解。
執行軟體,來到註冊處,填上註冊資訊。(當然了隨便了)
用ice下斷:
bpx hmemcpy
按ok
被攔截.....
按幾下f12來到該程式段,再按f10停在這裡:
:0041D539 6888130000 push
00001388
:0041D53E 8B5508
mov edx, dword ptr [ebp+08]
:0041D541 52
push edx
:0041D542 E8990EFFFF call
0040E3E0 *不要按了,這裡是出錯框!
啊!對了,一路上你會碰到,幾段程式碼:
:0041D49E E85D640000 call
00423900 *這裡算碼!
:0041D4A3 83C404
add esp, 00000004
:0041D4A6 8985FCFEFFFF mov dword
ptr [ebp+FFFFFEFC], eax
:0041D4AC 81BDFCFEFFFF92A71901 cmp dword ptr [ebp+FFFFFEFC],
0119A792 *對輸入的註冊碼經過複雜計算後比較
:0041D4B6 753C
jne 0041D4F4
:0041D519 8B450C
mov eax, dword ptr [ebp+0C]
:0041D51C 83C032
add eax, 00000032
:0041D51F 50
push eax
:0041D520 8B4D0C
mov ecx, dword ptr [ebp+0C]
:0041D523 51
push ecx
:0041D524 E897870000 call
00425CC0
:0041D529 83C408
add esp, 00000008
:0041D52C 3985F8FEFFFF cmp dword
ptr [ebp+FFFFFEF8], eax *這裡也是哦!
:0041D532 7418
je 0041D54C
:0041D534 68CFEA0000 push
0000EACF
:0041D4F4 81BDFCFEFFFF3CCE5F0D cmp dword ptr [ebp+FFFFFEFC],
0D5FCE3C *這裡也是哦!
:0041D4FE 7519
jne 0041D519