|
|
|
[求助]问个WIN32汇编的问题
刚刚写实验报告的时候突然想起来可以移位处理 最近看WIN32看太多 尽想着API了 ..最基本的都忘记了...我去做个DLL防止再忘记.. mov ecx,eax shl ecx,24 mov edx,eax shl edx,8 and edx,0FF0000h add ecx,edx mov edx,eax shr edx,8 and edx,0ff00h add ecx,edx mov edx,eax shr edx,24 add ecx,edx mov dword ptr szBuffer,ecx invoke wsprintf,addr szBuffer2,addr sztext,dword ptr szBuffer invoke SetDlgItemText,hWnd,IDC_EDT2,addr szBuffer2 |
|
[求助]问个WIN32汇编的问题
能具体的示范下吗?wsprintf 我也用了wsprintf ,可能方法错了:sztext db "%X",0 mov dword ptr szBuffer,eax invoke wsprintf,addr szBuffer2,addr sztext,dword ptr szBuffer invoke SetDlgItemText,hWnd,IDC_EDT2,addr szBuffer2 输出就是 15324346不是46433215 |
|
|
|
[求助]这里有Text = "U N R E G I S T E R E D" 这个关键词,那么这个程序段能否看出一些什么来???
00456FE0 /$ 55 push ebp 00456FE1 |. 8BEC mov ebp, esp 00456FE3 |. 81EC 00010000 sub esp, 100 00456FE9 |. 56 push esi 00456FEA |. FF75 0C push dword ptr [ebp+C] ; /String 00456FED |. FF15 DCFB4800 call dword ptr [<&KERNEL32.lstrlenA>] ; \lstrlenA 00456FF3 |. 8BF0 mov esi, eax ;字符串z1的长度送esi 00456FF5 |. B8 00010000 mov eax, 100 ;长度不能大于0x100 00456FFA |. 3BF0 cmp esi, eax 00456FFC |. 77 29 ja short 00457027 00456FFE |. 50 push eax ; /Count => 100 (256.) 00456FFF |. 8D85 00FFFFFF lea eax, dword ptr [ebp-100] ; | 00457005 |. 50 push eax ; |Buffer 00457006 |. FF75 08 push dword ptr [ebp+8] ; |hWnd 00457009 |. FF15 84FD4800 call dword ptr [<&USER32.GetWindowTex>; \GetWindowTextA 取字符串z2 0045700F |. 3BC6 cmp eax, esi z2的长度与esi比较(似乎是z1和z2的位数相等) 00457011 |. 75 14 jnz short 00457027 00457013 |. FF75 0C push dword ptr [ebp+C] ; /String2 00457016 |. 8D85 00FFFFFF lea eax, dword ptr [ebp-100] ; | 0045701C |. 50 push eax ; |String1 0045701D |. FF15 80FB4800 call dword ptr [<&KERNEL32.lstrcmpA>] ; \lstrcmpA 00457023 |. 85C0 test eax, eax ;z1和z2比较 00457025 |. 74 0C je short 00457033 00457027 |> FF75 0C push dword ptr [ebp+C] ; /Text = "U N R E G I S T E R E D" 0045702A |. FF75 08 push dword ptr [ebp+8] ; |hWnd 0045702D |. FF15 10FD4800 call dword ptr [<&USER32.SetWindowTex>; \SetWindowTextA 00457033 |> 5E pop esi 00457034 |. C9 leave 00457035 \. C2 0800 retn 8 是不是伪算法?难道z1和z2相同就行了? |
|
[讨论]谁有时间给评个分
004012F6 PUSH Key4.0040303F ; String = “Eldad Eilam” 004012FB CALL <JMP.&KERNEL32.lstrlenA> ; lstrlenA 00401300 XOR ESI,ESI 00401302 XOR EBX,EBX 00401304 MOV ECX,EAX ;循环计数 次数为String 长度 00401306 MOV EAX,1 0040130B MOV EBX,DWORD PTR [40303F] ;EBX取String(S) 00401311 MOVSX EDX,BYTE PTR [EAX+40351F];EDX 依次取字符串Z[i](i=1或4) 00401318 SUB EBX,EDX ;(S-Z[i])*Z[i]=X[i] 0040131A IMUL EBX,EDX 0040131D MOV ESI,EBX 0040131F SUB EBX,EAX (X[i]-1+0x4353543+X[i])^Z[i] 00401321 ADD EBX,4353543 (X[i]-4+0x4353543+X[i])^Z[i] 00401327 ADD ESI,EBX 00401329 XOR ESI,EDX 0040132B MOV EAX,4 00401330 DEC ECX 00401331 JNZ SHORT Key4.0040130B 怎么感觉 算法不完善?是不是我看的有问题 [40351F]放张表更好吧 0040130B MOV EBX,DWORD PTR [40303F]改成 0040130B MOVSX EBX,DWORD PTR [EAX+40303F-1] 0040132B MOV EAX,4改成0040132B ADD EAX,4 |
|
[求助]脱壳,新人练手,请大虾分析下我的错误在哪里。
可能是自校验.... 去了就行了 |
|
|
|
[求助]昨天华硕到我学校招人,今天我去应聘的
查了一下 华硕 每年2次提薪 每次幅度不能超过2.5% 一年最多涨 5%的工资 2000的话 一年就涨100 我吐血的 平时加班费 算下来每小时不到9块 ........太少了 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值