下面汇编代码是什么意思 10
pushebpmovebp,espxoredi,edipushedisubesp,04hmov[ebp-08h],63h//cmov[ebp-07h],6Dh//mmov...
push ebp
mov ebp,esp
xor edi,edi
push edi
sub esp,04h
mov [ebp-08h],63h //c
mov [ebp-07h],6Dh //m
mov [ebp-06h],64h //d
mov [ebp-05h],2Eh //.
mov [ebp-04h],65h //e
mov [ebp-03h],78h //x
mov [ebp-02h],65h //e
push 1
lea eax,[ebp-08h]
push eax
mov edx,0x7c86114d
call edx
leave //mov esp,ebp pop ebp 展开
mov ebp,esp
xor edi,edi
push edi
sub esp,04h
mov [ebp-08h],63h //c
mov [ebp-07h],6Dh //m
mov [ebp-06h],64h //d
mov [ebp-05h],2Eh //.
mov [ebp-04h],65h //e
mov [ebp-03h],78h //x
mov [ebp-02h],65h //e
push 1
lea eax,[ebp-08h]
push eax
mov edx,0x7c86114d
call edx
leave //mov esp,ebp pop ebp 展开
2个回答
展开全部
push ebp
mov ebp,esp ;
xor edi,edi
push edi ;局部变量
sub esp,04h ;局部变量
mov [ebp-08h],63h //c
mov [ebp-07h],6Dh //m
mov [ebp-06h],64h //d
mov [ebp-05h],2Eh //.
mov [ebp-04h],65h //e
mov [ebp-03h],78h //x
mov [ebp-02h],65h //e 局部变量赋值
push 1 ;压入参数
lea eax,[ebp-08h]
push eax ;压入参数,字符串的首地址
mov edx,0x7c86114d
call edx ;调用winexec
leave //mov esp,ebp pop ebp
很简单,就是调用一个API函数,该函数在0x7c86114d。这个和WINDOWS版本有关,在win sp2上是winexec函数,相当于:
winexec("cmd.exe", 1)
mov ebp,esp ;
xor edi,edi
push edi ;局部变量
sub esp,04h ;局部变量
mov [ebp-08h],63h //c
mov [ebp-07h],6Dh //m
mov [ebp-06h],64h //d
mov [ebp-05h],2Eh //.
mov [ebp-04h],65h //e
mov [ebp-03h],78h //x
mov [ebp-02h],65h //e 局部变量赋值
push 1 ;压入参数
lea eax,[ebp-08h]
push eax ;压入参数,字符串的首地址
mov edx,0x7c86114d
call edx ;调用winexec
leave //mov esp,ebp pop ebp
很简单,就是调用一个API函数,该函数在0x7c86114d。这个和WINDOWS版本有关,在win sp2上是winexec函数,相当于:
winexec("cmd.exe", 1)
2008-12-27
展开全部
貌似是执行cmd.exe程序
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询