鱼C论坛

 找回密码
 立即注册
查看: 2091|回复: 0

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

[复制链接]
发表于 2012-3-9 15:55:18 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
00401000 sub_401000      proc near               ; CODE XREF: sub_485A10+25Fp
.text:00401000                                         ; sub_485A10+272p ...
.text:00401000
.text:00401000 arg_0           = dword ptr  4
.text:00401000 arg_4           = dword ptr  8
.text:00401000 arg_8           = dword ptr  0Ch
.text:00401000 arg_C           = dword ptr  10h
.text:00401000
.text:00401000                 mov     eax, [esp+arg_8]
.text:00401004                 sub     eax, 1
.text:00401007                 js      short locret_40102F
.text:00401009                 push    ebx
.text:0040100A                 mov     ebx, [esp+4+arg_C]
.text:0040100E                 push    ebp
.text:0040100F                 mov     ebp, [esp+8+arg_4]
.text:00401013                 push    esi
.text:00401014                 mov     esi, [esp+0Ch+arg_0]
.text:00401018                 push    edi
.text:00401019                 lea     edi, [eax+1]
.text:0040101C                 lea     esp, [esp+0]
.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

求备注,有了列子,我就明白了.一通就百通了.......我自己只能翻译一部分,还有一些代码.我根本没学到过....实在有够头疼
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-10-8 13:39

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表