心如死结 发表于 2012-3-9 15:55:18

求人帮忙分析一段汇编代码.....我虽然分析出来,但无法看透结构....

00401000 sub_401000      proc near               ; CODE XREF: sub_485A10+25Fp
.text:00401000                                       ; sub_485A10+272p ...
.text:00401000
.text:00401000 arg_0         = dword ptr4
.text:00401000 arg_4         = dword ptr8
.text:00401000 arg_8         = dword ptr0Ch
.text:00401000 arg_C         = dword ptr10h
.text:00401000
.text:00401000               mov   eax,
.text:00401004               sub   eax, 1
.text:00401007               js      short locret_40102F
.text:00401009               push    ebx
.text:0040100A               mov   ebx,
.text:0040100E               push    ebp
.text:0040100F               mov   ebp,
.text:00401013               push    esi
.text:00401014               mov   esi,
.text:00401018               push    edi
.text:00401019               lea   edi,
.text:0040101C               lea   esp,
.text:00401020
.text:00401020 loc_401020:                           ; CODE XREF: sub_401000+29j
.text:00401020               mov   ecx, esi
.text:00401022               call    ebx
.text:00401024               add   esi, ebp
.text:00401026               sub   edi, 1
.text:00401029               jnz   short loc_401020
.text:0040102B               pop   edi
.text:0040102C               pop   esi
.text:0040102D               pop   ebp
.text:0040102E               pop   ebx
.text:0040102F
.text:0040102F locret_40102F:                        ; CODE XREF: sub_401000+7j
.text:0040102F               retn    10h
.text:0040102F sub_401000      endp
.text:0040102F
.text:0040102F ; ---------------------------------------------------------------------------
.text:00401032               align 10h
.text:00401040 ; START OF FUNCTION CHUNK FOR sub_76F7B0

求备注,有了列子,我就明白了.一通就百通了.......我自己只能翻译一部分,还有一些代码.我根本没学到过....实在有够头疼
页: [1]
查看完整版本: 求人帮忙分析一段汇编代码.....我虽然分析出来,但无法看透结构....