004013E0 . 83EC 34 sub esp, 34
004013E3 . 53 push ebx
004013E4 . 55 push ebp
004013E5 . 56 push esi
004013E6 . 57 push edi
004013E7 . 8BE9 mov ebp, ecx
004013E9 . 6A 01 push 1
004013EB . 896C24 14 mov dword ptr [esp+14], ebp
004013EF . E8 BE040000 call <jmp.&MFC42.#6334>
004013F4 . 8B75 60 mov esi, dword ptr [ebp+60]
004013F7 . 33D2 xor edx, edx
004013F9 . 3956 F8 cmp dword ptr [esi-8], edx
004013FC . 0F84 00010000 je 00401502
00401402 . 8B5D 64 mov ebx, dword ptr [ebp+64]
00401405 . 3953 F8 cmp dword ptr [ebx-8], edx
00401408 . 0F84 F4000000 je 00401502
0040140E . 8BFE mov edi, esi
00401410 . 83C9 FF or ecx, FFFFFFFF
00401413 . 33C0 xor eax, eax
00401415 . F2:AE repne scas byte ptr es:[edi]
00401417 . F7D1 not ecx
00401419 . 49 dec ecx
0040141A . 83F9 06 cmp ecx, 6 ; 比较用户名长度是不是6位
0040141D 0F82 F1000000 jb 00401514
00401423 . 8BFE mov edi, esi
00401425 . 83C9 FF or ecx, FFFFFFFF
00401428 . F2:AE repne scas byte ptr es:[edi]
0040142A . F7D1 not ecx
0040142C . 49 dec ecx
0040142D . 83F9 09 cmp ecx, 9
00401430 . 0F87 DE000000 ja 00401514
00401436 . 8BFB mov edi, ebx
00401438 . 83C9 FF or ecx, FFFFFFFF
0040143B . F2:AE repne scas byte ptr es:[edi]
0040143D . F7D1 not ecx
0040143F . 49 dec ecx
00401440 > . 83F9 0C cmp ecx, 0C ; 比较注册码是不是12位
00401443 0F85 CB000000 jnz 00401514
00401449 . B9 07000000 mov ecx, 7
0040144E . 8D7C24 18 lea edi, dword ptr [esp+18]
00401452 . 895424 14 mov dword ptr [esp+14], edx
00401456 . F3:AB rep stos dword ptr es:[edi]
00401458 . 8BFE mov edi, esi
0040145A . 83C9 FF or ecx, FFFFFFFF
0040145D . F2:AE repne scas byte ptr es:[edi]
0040145F . F7D1 not ecx
00401461 . 49 dec ecx
00401462 . 74 23 je short 00401487
00401464 . 8D6C24 14 lea ebp, dword ptr [esp+14]
00401468 > 0FBE0416 movsx eax, byte ptr [esi+edx]
0040146C . 8945 00 mov dword ptr [ebp], eax
0040146F . 8BFE mov edi, esi
00401471 . 83C9 FF or ecx, FFFFFFFF
00401474 . 33C0 xor eax, eax
00401476 . 42 inc edx
00401477 . 83C5 04 add ebp, 4
0040147A . F2:AE repne scas byte ptr es:[edi]
0040147C . F7D1 not ecx
0040147E . 49 dec ecx
0040147F . 3BD1 cmp edx, ecx
00401481 .^ 72 E5 jb short 00401468
00401483 . 8B6C24 10 mov ebp, dword ptr [esp+10]
00401487 > 837C24 14 73 cmp dword ptr [esp+14], 73
0040148C . 74 07 je short 00401495
0040148E . 837C24 28 63 cmp dword ptr [esp+28], 63
00401493 74 7F je short 00401514
00401495 > B9 0B000000 mov ecx, 0B
0040149A . 33C0 xor eax, eax
0040149C . 8D7C24 18 lea edi, dword ptr [esp+18]
004014A0 . 33D2 xor edx, edx
004014A2 . F3:AB rep stos dword ptr es:[edi]
004014A4 . 8BFB mov edi, ebx
004014A6 . 83C9 FF or ecx, FFFFFFFF
004014A9 . F2:AE repne scas byte ptr es:[edi]
004014AB . F7D1 not ecx
004014AD . 49 dec ecx
004014AE . 74 23 je short 004014D3
004014B0 . 8D6C24 14 lea ebp, dword ptr [esp+14]
004014B4 > 0FBE0C13 movsx ecx, byte ptr [ebx+edx]
004014B8 . 894D 00 mov dword ptr [ebp], ecx
004014BB . 8BFB mov edi, ebx
004014BD . 83C9 FF or ecx, FFFFFFFF
004014C0 . 33C0 xor eax, eax
004014C2 . 42 inc edx
004014C3 . 83C5 04 add ebp, 4
004014C6 . F2:AE repne scas byte ptr es:[edi]
004014C8 . F7D1 not ecx
004014CA . 49 dec ecx
004014CB . 3BD1 cmp edx, ecx
004014CD .^ 72 E5 jb short 004014B4
004014CF . 8B6C24 10 mov ebp, dword ptr [esp+10]
004014D3 > 8B4C24 2C mov ecx, dword ptr [esp+2C]
004014D7 . B8 2D000000 mov eax, 2D
004014DC . 3BC8 cmp ecx, eax
004014DE . 74 06 je short 004014E6
004014E0 . 394424 28 cmp dword ptr [esp+28], eax
004014E4 74 2E je short 00401514
004014E6 > 8BFE mov edi, esi
004014E8 . 83C9 FF or ecx, FFFFFFFF
004014EB . 33C0 xor eax, eax
004014ED . F2:AE repne scas byte ptr es:[edi]
004014EF . F7D1 not ecx
004014F1 . 49 dec ecx
004014F2 . 51 push ecx
004014F3 . 8BCD mov ecx, ebp
004014F5 . E8 26000000 call 00401520
004014FA . 5F pop edi
004014FB . 5E pop esi
004014FC . 5D pop ebp
004014FD . 5B pop ebx
004014FE . 83C4 34 add esp, 34
00401501 . C3 retn
00401502 > 52 push edx
00401503 . 68 2C304000 push 0040302C ; 提示
00401508 . 68 20304000 push 00403020 ; 不能为空!
0040150D . 8BCD mov ecx, ebp
0040150F . E8 98030000 call <jmp.&MFC42.#4224>
00401514 > 5F pop edi
00401515 . 5E pop esi
00401516 . 5D pop ebp
00401517 . 5B pop ebx
00401518 . 83C4 34 add esp, 34
0040151B . C3 retn
0040148C . /74 07 je short 00401495
0040148E . |837C24 28 63 cmp dword ptr [esp+28], 63
00401493 |74 7F je short 00401514
这部分代码不够严谨