[Asm] 纯文本查看 复制代码
00457D50 | 55 | push ebp 如果这里返回1?(mov al,1; ret 以下修改方法略同,不再赘述) 会如何? 标为:A1
00457D51 | 8DAC24 F4FDFFFF | lea ebp,dword ptr ss:[esp-20C] |
00457D58 | 81EC 0C020000 | sub esp,20C |
00457D5E | 6A FF | push FFFFFFFF |
00457D60 | 68 BA16EB00 | push <二哈.sub_EB16BA> |
00457D65 | 64:A1 00000000 | mov eax,dword ptr fs:[0] |
00457D6B | 50 | push eax |
00457D6C | 83EC 14 | sub esp,14 |
00457D6F | A1 F8812E01 | mov eax,dword ptr ds:[12E81F8] | 012E81F8:"茾零u?"
00457D74 | 33C5 | xor eax,ebp |
00457D76 | 8985 08020000 | mov dword ptr ss:[ebp+208],eax |
00457D7C | 50 | push eax |
00457D7D | 8D45 F4 | lea eax,dword ptr ss:[ebp-C] | [ebp-C]:&"DifferentError"
00457D80 | 64:A3 00000000 | mov dword ptr fs:[0],eax |
00457D86 | 894D EC | mov dword ptr ss:[ebp-14],ecx |
00457D89 | FF15 2C3EF900 | call dword ptr ds:[<&?IsPerpetualOfflineLicense@CmjApplicat |========》===》想到啥?翻译成中文就是【是永久脱机许可证】A2
如果这里返回1? 会如何?
00457D8F | 0FB6C0 | movzx eax,al |
00457D92 | 85C0 | test eax,eax |
00457D94 | 74 76 | je 二哈.457E0C |
00457D96 | 6A 05 | push 5 |
00457D98 | FF15 54A5F900 | call dword ptr ds:[<&?CanLog@CmjLogWriter@@SA_NW4EmjLogLeve |
00457D9E | 83C4 04 | add esp,4 |
00457DA1 | 0FB6C8 | movzx ecx,al |
00457DA4 | 85C9 | test ecx,ecx |
00457DA6 | 74 5D | je 二哈.457E05 |
00457DA8 | 68 8437FA00 | push 二哈.FA3784 | FA3784:"CmjDesktopServerManager::OnAppStartup"
00457DAD | 8D4D E4 | lea ecx,dword ptr ss:[ebp-1C] |
00457DB0 | FF15 B4C9F900 | call dword ptr ds:[<&Ordinal#284>] |
00457DB6 | C745 FC 00000000 | mov dword ptr ss:[ebp-4],0 |
00457DBD | 68 AC37FA00 | push 二哈.FA37AC | FA37AC:"Offline license"=======》》》》》》》》》====》想到啥?
00457DC2 | 8D4D E8 | lea ecx,dword ptr ss:[ebp-18] |
00457DC5 | FF15 B4C9F900 | call dword ptr ds:[<&Ordinal#284>] |
00457DCB | C645 FC 01 | mov byte ptr ss:[ebp-4],1 |
00457DCF | 8D55 E4 | lea edx,dword ptr ss:[ebp-1C] |
00457DD2 | 52 | push edx |
00457DD3 | A1 60A5F900 | mov eax,dword ptr ds:[<&?LogTypeLicense@CmjLogTypes@@2V?$CS |
00457DD8 | 50 | push eax |
00457DD9 | 8D4D E8 | lea ecx,dword ptr ss:[ebp-18] |
00457DDC | 51 | push ecx |
00457DDD | 6A 05 | push 5 |
00457DDF | FF15 50A5F900 | call dword ptr ds:[<&?Log@CmjLogWriter@@SAXW4EmjLogLevel@1@ |
00457DE5 | 83C4 10 | add esp,10 |
00457DE8 | C645 FC 00 | mov byte ptr ss:[ebp-4],0 |
00457DEC | 8D4D E8 | lea ecx,dword ptr ss:[ebp-18] |
00457DEF | FF15 3CD9F900 | call dword ptr ds:[<&Ordinal#1501>] |
00457DF5 | C745 FC FFFFFFFF | mov dword ptr ss:[ebp-4],FFFFFFFF |
00457DFC | 8D4D E4 | lea ecx,dword ptr ss:[ebp-1C] |
00457DFF | FF15 3CD9F900 | call dword ptr ds:[<&Ordinal#1501>] |
00457E05 | B0 01 | mov al,1 |
00457E07 | E9 D2000000 | jmp 二哈.457EDE |
00457E0C | BA 01000000 | mov edx,1 |
00457E11 | 85D2 | test edx,edx |
00457E13 | 0F84 C3000000 | je 二哈.457EDC |
00457E19 | E8 E2F5FFFF | call <二哈.sub_457400> |
00457E1E | 0FB6C0 | movzx eax,al |
00457E21 | 85C0 | test eax,eax |
00457E23 | 75 2B | jne 二哈.457E50 |
00457E25 | 6A 00 | push 0 |
00457E27 | 6A 00 | push 0 |
00457E29 | 8D4D 00 | lea ecx,dword ptr ss:[ebp] |
00457E2C | E8 CFD72000 | call <二哈.sub_665600> |
00457E31 | C745 FC 02000000 | mov dword ptr ss:[ebp-4],2 |
00457E38 | 8D4D 00 | lea ecx,dword ptr ss:[ebp] |
00457E3B | FF15 ACB0F900 | call dword ptr ds:[<&?DoModal@CmjMfcEnhancedDialog@@UAEHXZ> 看这里,类似于模态窗口
00457E41 | C745 FC FFFFFFFF | mov dword ptr ss:[ebp-4],FFFFFFFF ======》迷宫切入点===》F12,Alt+K后We are here!