004113E0 push ebp
004113E1 mov ebp,esp
004113E3 sub esp,0E8h
004113E9 push ebx
004113EA push esi
004113EB push edi
004113EC lea edi,[ebp-0E8h]
004113F2 mov ecx,3Ah
004113F7 mov eax,0CCCCCCCCh
004113FC rep stos dword ptr es:[edi] //上述为一些必要的入栈及初始化操作
004113FE mov eax,dword ptr [a] //真正的代码
00411401 add eax,dword ptr [b]
00411404 mov dword ptr [d],eax
00411407 mov dword ptr [i],1
0041140E mov dword ptr [c],0
00411415 cmp dword ptr [c],64h //比较
00411419 jge test+46h (411426h) //大于等于则跳转
0041141B mov eax,dword ptr [c]
0041141E add eax,dword ptr [i]
00411421 mov dword ptr [c],eax
00411424 jmp test+35h (411415h) //无条件跳转
00411426 mov eax,dword ptr [c]
00411429 mov dword ptr [ebp-0E8h],eax
0041142F cmp dword ptr [ebp-0E8h],0
00411436 je test+63h (411443h) //等于0跳转
00411438 cmp dword ptr [ebp-0E8h],1
0041143F je test+6Ah (41144Ah) //等于1跳转
00411441 jmp test+72h (411452h) //无条件跳转
00411443 mov dword ptr [d],1
0041144A mov eax,dword ptr [c]
0041144D mov dword ptr [d],eax
00411450 jmp test+79h (411459h) //跳转
00411452 mov dword ptr [d],0
00411459 mov eax,dword ptr [d]
0041145C pop edi //出栈及返回
0041145D pop esi
0041145E pop ebx
0041145F mov esp,ebp
00411461 pop ebp
00411462 ret |