- UID
- 9488
注册时间2006-3-15
阅读权限20
最后登录1970-1-1
以武会友
TA的每日心情 | 开心 2020-12-27 19:17 |
---|
签到天数: 40 天 [LV.5]常住居民I
|
发表于 2007-11-29 20:09:55
|
显示全部楼层
较简单!
00401200 55 PUSH EBP
00401201 8BEC MOV EBP,ESP
00401203 53 PUSH EBX
00401204 56 PUSH ESI
00401205 57 PUSH EDI
00401206 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00401209 8B7D 0C MOV EDI,DWORD PTR SS:[EBP+C]
0040120C 85C0 TEST EAX,EAX
0040120E 75 07 JNZ SHORT KeyMeAsm.00401217
00401210 66:C707 3000 MOV WORD PTR DS:[EDI],30
00401215 EB 47 JMP SHORT KeyMeAsm.0040125E
00401217 79 08 JNS SHORT KeyMeAsm.00401221
00401219 C607 2D MOV BYTE PTR DS:[EDI],2D
0040121C F7D8 NEG EAX
0040121E 83C7 01 ADD EDI,1
00401221 B9 CDCCCCCC MOV ECX,CCCCCCCD
00401226 8BF7 MOV ESI,EDI
00401228 EB 18 JMP SHORT KeyMeAsm.00401242
0040122A 8BD8 MOV EBX,EAX
0040122C F7E1 MUL ECX
0040122E C1EA 03 SHR EDX,3
00401231 8BC2 MOV EAX,EDX
00401233 8D1492 LEA EDX,DWORD PTR DS:[EDX+EDX*4]
00401236 03D2 ADD EDX,EDX
00401238 2BDA SUB EBX,EDX
0040123A 80C3 30 ADD BL,30
0040123D 881F MOV BYTE PTR DS:[EDI],BL
0040123F 83C7 01 ADD EDI,1
00401242 83F8 00 CMP EAX,0
00401245 ^ 77 E3 JA SHORT KeyMeAsm.0040122A
00401247 C607 00 MOV BYTE PTR DS:[EDI],0
0040124A EB 0E JMP SHORT KeyMeAsm.0040125A
0040124C 83EF 01 SUB EDI,1
0040124F 8A06 MOV AL,BYTE PTR DS:[ESI]
00401251 8A27 MOV AH,BYTE PTR DS:[EDI]
00401253 8807 MOV BYTE PTR DS:[EDI],AL
00401255 8826 MOV BYTE PTR DS:[ESI],AH
00401257 83C6 01 ADD ESI,1
0040125A 3BF7 CMP ESI,EDI
0040125C ^ 72 EE JB SHORT KeyMeAsm.0040124C
0040125E 5F POP EDI
0040125F 5E POP ESI
00401260 5B POP EBX
00401261 C9 LEAVE
[ 本帖最后由 chadd 于 2007-11-29 20:16 编辑 ] |
|