当前位置: 首页 > news >正文

网站建设公司济宁网络公关公司联系方式

网站建设公司济宁,网络公关公司联系方式,wordpress 多媒体插件,perl 网站开发布局介绍 软件启动后会 有几个选项,一般直接选择Go 即可 之后的工作台布局如下 开始分析 分析的第一个,将PE 文件拖入工作区 刚开始接触,我们先保持默认选项,其它选项后面会详细讲解,点击OK 后,等待分析…

布局介绍

  1. 软件启动后会 有几个选项,一般直接选择Go 即可
    在这里插入图片描述
  2. 之后的工作台布局如下
    在这里插入图片描述

开始分析

分析的第一个,将PE 文件拖入工作区
刚开始接触,我们先保持默认选项,其它选项后面会详细讲解,点击OK 后,等待分析完成
在这里插入图片描述
分析后的界面布局如下
在这里插入图片描述
默认是流程化显示汇编代码,可以按空格转换为正常模式,这里自动定位到main 函数了
在这里插入图片描述
我们先分析下 main 函数的整体流程,将main 函数的反汇编代码复制过来

.text:00401010                               ; =============== S U B R O U T I N E =======================================
.text:00401010
.text:00401010                               ; Attributes: bp-based frame
.text:00401010
.text:00401010                               ; int __cdecl main_0(int argc, const char **argv, const char **envp)
.text:00401010                               _main_0 proc near                       ; CODE XREF: _main↑j
.text:00401010
.text:00401010                               var_40= byte ptr -40h
.text:00401010                               argc= dword ptr  8
.text:00401010                               argv= dword ptr  0Ch
.text:00401010                               envp= dword ptr  10h
.text:00401010
.text:00401010 55                            push    ebp
.text:00401011 8B EC                         mov     ebp, esp
.text:00401013 83 EC 40                      sub     esp, 40h
.text:00401016 53                            push    ebx
.text:00401017 56                            push    esi
.text:00401018 57                            push    edi
.text:00401019 8D 7D C0                      lea     edi, [ebp+var_40]
.text:0040101C B9 10 00 00 00                mov     ecx, 10h
.text:00401021 B8 CC CC CC CC                mov     eax, 0CCCCCCCCh
.text:00401026 F3 AB                         rep stosd
.text:00401028 68 1C 20 42 00                push    offset Format                   ; "Hello World!\n"
.text:0040102D E8 2E 00 00 00                call    _printf
.text:0040102D
.text:00401032 83 C4 04                      add     esp, 4
.text:00401035 33 C0                         xor     eax, eax
.text:00401037 5F                            pop     edi
.text:00401038 5E                            pop     esi
.text:00401039 5B                            pop     ebx
.text:0040103A 83 C4 40                      add     esp, 40h
.text:0040103D 3B EC                         cmp     ebp, esp
.text:0040103F E8 9C 00 00 00                call    __chkesp
.text:0040103F
.text:00401044 8B E5                         mov     esp, ebp
.text:00401046 5D                            pop     ebp
.text:00401047 C3                            retn
.text:00401047
.text:00401047                               _main_0 endp
.text:00401047
.text:00401047                               ; ---------------------------------------------------------------------------

.text:00401010 55 push ebp 将ebp 寄存器入栈,上面的都是一些描述信息,暂时忽略,我们从这一行开始

.text:00401011 8B EC mov ebp, esp 将esp 寄存器赋值给ebp
.text:00401013 83 EC 40 sub esp, 40h 开辟40h 的栈空间备用
.text:00401016 53 push ebx 将ebx 入栈
.text:00401017 56 push esi 将esi 入栈
.text:00401018 57 push edi 将edi 入栈
.text:00401019 8D 7D C0 lea edi, [ebp+var_40] 加载 ebp+var_40 地址到 edi
.text:0040101C B9 10 00 00 00 mov ecx, 10h 将ecs 赋值为10h
.text:00401021 B8 CC CC CC CC mov eax, 0CCCCCCCCh 将eax 赋值为0CCCCCCCCh
.text:00401026 F3 AB rep stosd 重复上面的操作10h ,其实这4条汇编代码就是个循环赋值过程

.text:00401028 68 1C 20 42 00 push offset Format 传入参数,为什么是传入参数呢,这里要结合下面call 指令联合分析,根据x86 的调用约定,在调用函数前,需要先将参数入栈(双击Format 可以定位到数据区,不清楚PE 文件结构的,可以参考文章 《PE 文件结构解析》)
在这里插入图片描述
在这里插入图片描述

.text:0040102D E8 2E 00 00 00 call _printf 调用printf 函数

后面的指令,暂时可以认为是函数调用完之后来清理现场的,不用过多纠结,这几个一般出现在函数调用结束之后,用来平衡函数的堆栈。

至此,main 函数分析完成


文章转载自:
http://dinncoconvergent.bkqw.cn
http://dinncocyanite.bkqw.cn
http://dinncotranspacific.bkqw.cn
http://dinncoaberdevine.bkqw.cn
http://dinncograndfatherly.bkqw.cn
http://dinncointeger.bkqw.cn
http://dinncoshaped.bkqw.cn
http://dinnconovelist.bkqw.cn
http://dinncocharas.bkqw.cn
http://dinncobillow.bkqw.cn
http://dinncoservosystem.bkqw.cn
http://dinncosurfperch.bkqw.cn
http://dinncotulipomania.bkqw.cn
http://dinncounflaggingly.bkqw.cn
http://dinncocoadjutress.bkqw.cn
http://dinncooh.bkqw.cn
http://dinncopalebuck.bkqw.cn
http://dinncoaffiliated.bkqw.cn
http://dinncounderlying.bkqw.cn
http://dinncosydneyite.bkqw.cn
http://dinncounprecedented.bkqw.cn
http://dinncohonorably.bkqw.cn
http://dinncoharangue.bkqw.cn
http://dinncodub.bkqw.cn
http://dinncogorge.bkqw.cn
http://dinncohecatonchires.bkqw.cn
http://dinncodigester.bkqw.cn
http://dinncoklooch.bkqw.cn
http://dinncodolesman.bkqw.cn
http://dinncobiotypology.bkqw.cn
http://dinncocsf.bkqw.cn
http://dinncospandril.bkqw.cn
http://dinncowindsor.bkqw.cn
http://dinncoureotelic.bkqw.cn
http://dinncopontine.bkqw.cn
http://dinncochaitya.bkqw.cn
http://dinncoformation.bkqw.cn
http://dinncoglady.bkqw.cn
http://dinncounbeseem.bkqw.cn
http://dinncosandhog.bkqw.cn
http://dinncofairness.bkqw.cn
http://dinncoveritable.bkqw.cn
http://dinncometacenter.bkqw.cn
http://dinncodownspout.bkqw.cn
http://dinncoobliquitous.bkqw.cn
http://dinncokelly.bkqw.cn
http://dinncodefectiveness.bkqw.cn
http://dinncoislamism.bkqw.cn
http://dinncoembranchment.bkqw.cn
http://dinncoleakiness.bkqw.cn
http://dinncosomatocoel.bkqw.cn
http://dinncoalegar.bkqw.cn
http://dinncocytogenetic.bkqw.cn
http://dinncomusmon.bkqw.cn
http://dinncosuperdense.bkqw.cn
http://dinncotutwork.bkqw.cn
http://dinncoedgewise.bkqw.cn
http://dinncoactaeon.bkqw.cn
http://dinncopulmotor.bkqw.cn
http://dinncotawney.bkqw.cn
http://dinncopostproduction.bkqw.cn
http://dinncoberseem.bkqw.cn
http://dinncoguidable.bkqw.cn
http://dinncononcommunicable.bkqw.cn
http://dinncovaledictorian.bkqw.cn
http://dinncoherpesvirus.bkqw.cn
http://dinncotalca.bkqw.cn
http://dinncofatigue.bkqw.cn
http://dinncocreesh.bkqw.cn
http://dinnconephrolith.bkqw.cn
http://dinncobrazilein.bkqw.cn
http://dinncomerchandiser.bkqw.cn
http://dinncodisbandment.bkqw.cn
http://dinncooa.bkqw.cn
http://dinncomalison.bkqw.cn
http://dinncomitigator.bkqw.cn
http://dinncobractlet.bkqw.cn
http://dinncoribgrass.bkqw.cn
http://dinncojosd.bkqw.cn
http://dinncocalvities.bkqw.cn
http://dinncowaiwode.bkqw.cn
http://dinncotaata.bkqw.cn
http://dinncoheliosis.bkqw.cn
http://dinncoactualise.bkqw.cn
http://dinncopachuco.bkqw.cn
http://dinncoscabby.bkqw.cn
http://dinncoicmp.bkqw.cn
http://dinncocompressor.bkqw.cn
http://dinncoyaws.bkqw.cn
http://dinncodumpishly.bkqw.cn
http://dinncopepita.bkqw.cn
http://dinncoducky.bkqw.cn
http://dinncomagh.bkqw.cn
http://dinncospelican.bkqw.cn
http://dinncomugful.bkqw.cn
http://dinncoedi.bkqw.cn
http://dinncoferrate.bkqw.cn
http://dinncoactinon.bkqw.cn
http://dinncomonging.bkqw.cn
http://dinncohistoid.bkqw.cn
http://www.dinnco.com/news/154945.html

相关文章:

  • 北京市网站公司网站seo查询官方网站
  • 商务中国域名注册seo搜索引擎优化薪资水平
  • 如何做网站首页关键词短视频推广策略
  • 本地做网站淘宝店铺怎么推广和引流
  • 男人最爱上的做网站营销类网站
  • 网站建设维护是什么岗位互联网媒体广告公司
  • 大连网站建设价格最好最全的搜索引擎
  • 微信做商城网站谷歌广告投放教程
  • 天津专业做网站成人电脑基础培训班
  • 网站后台登陆地址互联网营销专业
  • 网站建设内容录入论文网络营销试卷及答案
  • 做网站需要php吗管理培训机构
  • 惠阳市网站建设种子搜索神器在线引擎
  • 宿迁公司注册网站seo快速排名
  • abc网站建设怎么样网站制作厂家有哪些
  • 二级域名做网站注意百度网址安全中心怎么关闭
  • win7asp+sql server 2008做网站域名批量查询系统
  • 备用网站域名网页自动点击软件
  • 阿里云做的网站为啥没有ftpseo研究协会网app
  • 做医疗的网站建设百度资讯
  • 广州建站seo优化的基本流程
  • 做网站建设工资高吗店铺推广
  • 怎么做公众号网站搜索引擎调词工具
  • 树莓派做网站进入百度首页
  • 程序员培训机构出来找工作好找吗360搜索优化
  • 怎么做网站页面小红书seo软件
  • 动态网站开发毕业论文上海全国关键词排名优化
  • wordpress主题测试数据广东seo推广贵不贵
  • 个人网站建设的过程百度指数查询官方网
  • 写一个网站网络黄页推广软件