我发现第一次点的时候提示正确,第二次就提示错误,第三次又提示正确代码看下面:
是不是在提示正确后没有清理内存,在第二次点击的时候没有能正确定入内存??
---------------------------------------------------------------------------------------
当前16位正确后会跳到这里,来解密第二部分代码
0040166B > /8B95 F8FEFFFF MOV EDX,DWORD PTR SS:[EBP-108]
00401671 . |8B85 F8FEFFFF MOV EAX,DWORD PTR SS:[EBP-108]
00401677 . |83E8 01 SUB EAX,1 ; +1
0040167A . |8985 F8FEFFFF MOV DWORD PTR SS:[EBP-108],EAX
00401680 . |85D2 TEST EDX,EDX
00401682 . |74 47 JE SHORT CrackMe_.004016CB
00401684 . |8B4D DC MOV ECX,DWORD PTR SS:[EBP-24]
00401687 . |0FB611 MOVZX EDX,BYTE PTR DS:[ECX]
0040168A . |8B85 24FEFFFF MOV EAX,DWORD PTR SS:[EBP-1DC]
00401690 . |0FBE88 A8C740>MOVSX ECX,BYTE PTR DS:[EAX+40C7A8]
00401697 . |33D1 XOR EDX,ECX
00401699 . |8B45 DC MOV EAX,DWORD PTR SS:[EBP-24]
0040169C . |8810 MOV BYTE PTR DS:[EAX],DL
0040169E . |8B4D DC MOV ECX,DWORD PTR SS:[EBP-24]
004016A1 . |83C1 01 ADD ECX,1
004016A4 . |894D DC MOV DWORD PTR SS:[EBP-24],ECX
004016A7 . |8B95 24FEFFFF MOV EDX,DWORD PTR SS:[EBP-1DC]
004016AD . |83C2 01 ADD EDX,1
004016B0 . |8995 24FEFFFF MOV DWORD PTR SS:[EBP-1DC],EDX
004016B6 . |83BD 24FEFFFF>CMP DWORD PTR SS:[EBP-1DC],14
004016BD . |7C 0A JL SHORT CrackMe_.004016C9
004016BF . |C785 24FEFFFF>MOV DWORD PTR SS:[EBP-1DC],10
004016C9 >^\EB A0 JMP SHORT CrackMe_.0040166B
----------------------------------------------------------------------------------
第二部分代码为以下:
004016E8 0FBE0D B9C740>MOVSX ECX,BYTE PTR DS:[40C7B9]
004016EF 83F9 47 CMP ECX,47
004016F2 74 02 JE SHORT CrackMe_.004016F6
004016F4 EB 30 JMP SHORT CrackMe_.00401726
004016F6 0FBE15 BAC740>MOVSX EDX,BYTE PTR DS:[40C7BA]
004016FD 83FA 55 CMP EDX,55
00401700 74 02 JE SHORT CrackMe_.00401704
00401702 EB 22 JMP SHORT CrackMe_.00401726
00401704 0FBE05 BBC740>MOVSX EAX,BYTE PTR DS:[40C7BB]
0040170B 83F8 4F CMP EAX,4F
0040170E 74 02 JE SHORT CrackMe_.00401712
00401710 EB 14 JMP SHORT CrackMe_.00401726
00401712 6A 00 PUSH 0
00401714 68 6CA34000 PUSH CrackMe_.0040A36C
00401719 68 78A34000 PUSH CrackMe_.0040A378
0040171E 6A 00 PUSH 0
00401720 FF15 FC904000 CALL DWORD PTR DS:[<&USER32.MessageBoxA>>; USER32.MessageBoxA
附件为我的修改的,把加密代码改成了无加密代码,HEHE.