要是能写个C++版的那就更好啦~~~拜谢
100210A0 >/$ 53 push ebx
100210A1 |. 8B5C24 08 mov ebx, dword ptr [esp+8]
100210A5 |. 33C9 xor ecx, ecx
100210A7 |. 85DB test ebx, ebx
100210A9 |. 57 push edi
100210AA |. 0F84 C1000000 je 10021171
100210B0 |. 8B5424 14 mov edx, dword ptr [esp+14]
100210B4 |. 56 push esi
100210B5 |. 8B7424 14 mov esi, dword ptr [esp+14]
100210B9 |. 3BD6 cmp edx, esi
100210BB |. 0F8F AD000000 jg 1002116E
100210C1 |. 83EA 04 sub edx, 4
100210C4 |. 85D2 test edx, edx
100210C6 |. 7E 38 jle short 10021100
100210C8 |. EB 06 jmp short 100210D0
100210CA | 8D9B 00000000 lea ebx, dword ptr [ebx]
100210D0 |> 8A0419 /mov al, byte ptr [ecx+ebx]
100210D3 |. 3C 02 |cmp al, 2
100210D5 |. 884424 10 |mov byte ptr [esp+10], al
100210D9 |. 74 1E |je short 100210F9
100210DB |. 3C 04 |cmp al, 4
100210DD |. 74 1A |je short 100210F9
100210DF |. 3C 06 |cmp al, 6
100210E1 |. 75 05 |jnz short 100210E8
100210E3 |. 83C1 03 |add ecx, 3
100210E6 |. EB 14 |jmp short 100210FC
100210E8 |> 8B4424 10 |mov eax, dword ptr [esp+10]
100210EC |. 50 |push eax
100210ED |. E8 0EFEFFFF |call 10020F00
100210F2 |. 83C4 04 |add esp, 4
100210F5 |. 03C8 |add ecx, eax
100210F7 |. EB 03 |jmp short 100210FC
100210F9 |> 83C1 04 |add ecx, 4
100210FC |> 3BCA |cmp ecx, edx
100210FE |.^ 7C D0 \jl short 100210D0
10021100 |> 83C1 04 add ecx, 4
10021103 |. 3BCA cmp ecx, edx
10021105 |. 7D 69 jge short 10021170
10021107 |. 8B7C24 1C mov edi, dword ptr [esp+1C]
1002110B |. EB 03 jmp short 10021110
1002110D | 8D49 00 lea ecx, dword ptr [ecx]
10021110 |> 8A0419 /mov al, byte ptr [ecx+ebx]
10021113 |. 3C 06 |cmp al, 6
10021115 |. 884424 10 |mov byte ptr [esp+10], al
10021119 |. 75 10 |jnz short 1002112B
1002111B |. 85FF |test edi, edi
1002111D |. 74 07 |je short 10021126
1002111F |. 8D41 03 |lea eax, dword ptr [ecx+3]
10021122 |. 3BC2 |cmp eax, edx
10021124 |. 7F 4A |jg short 10021170
10021126 |> 83C1 03 |add ecx, 3
10021129 |. EB 35 |jmp short 10021160
1002112B |> 3C 02 |cmp al, 2
1002112D |. 74 23 |je short 10021152
1002112F |. 3C 04 |cmp al, 4
10021131 |. 74 1F |je short 10021152
10021133 |. 8B4424 10 |mov eax, dword ptr [esp+10]
10021137 |. 50 |push eax
10021138 |. E8 C3FDFFFF |call 10020F00
1002113D |. 03C1 |add eax, ecx
1002113F |. 83C4 04 |add esp, 4
10021142 |. 3BC6 |cmp eax, esi
10021144 |. 7F 28 |jg short 1002116E
10021146 |. 85FF |test edi, edi
10021148 |. 74 04 |je short 1002114E
1002114A |. 3BC2 |cmp eax, edx
1002114C |. 7F 22 |jg short 10021170
1002114E |> 8BC8 |mov ecx, eax
10021150 |. EB 12 |jmp short 10021164
10021152 |> 85FF |test edi, edi
10021154 |. 74 07 |je short 1002115D
10021156 |. 8D41 04 |lea eax, dword ptr [ecx+4]
10021159 |. 3BC2 |cmp eax, edx
1002115B |. 7F 13 |jg short 10021170
1002115D |> 83C1 04 |add ecx, 4
10021160 |> 3BCE |cmp ecx, esi
10021162 |. 7D 0A |jge short 1002116E
10021164 |> 3BCA |cmp ecx, edx
10021166 |.^ 7C A8 \jl short 10021110
10021168 |. 5E pop esi
10021169 |. 5F pop edi
1002116A |. 8BC1 mov eax, ecx
1002116C |. 5B pop ebx
1002116D |. C3 retn
1002116E |> 8BCE mov ecx, esi
10021170 |> 5E pop esi
10021171 |> 5F pop edi
10021172 |. 8BC1 mov eax, ecx
10021174 |. 5B pop ebx
10021175 \. C3 retn
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!