1、申请ID:HKWLL
2、个人邮箱:2638816029@qq.com
3、《加密与解密三》charp7 delphi算法分析
[Asm] 纯文本查看 复制代码 00450358 BF 01000000 mov edi,0x1
0045035D 8B45 F8 mov eax,dword ptr ss:[ebp-0x8]
00450360 0FB64438 FF movzx eax,byte ptr ds:[eax+edi-0x1]
00450365 8D4D E8 lea ecx,dword ptr ss:[ebp-0x18]
00450368 BA 02000000 mov edx,0x2
0045036D E8 9E7FFBFF call DE_Delph.00408310
00450372 8B55 E8 mov edx,dword ptr ss:[ebp-0x18]
00450375 8D45 FC lea eax,dword ptr ss:[ebp-0x4]
00450378 E8 4F41FBFF call DE_Delph.004044CC
0045037D 47 inc edi
0045037E 4B dec ebx
0045037F ^ 75 DC jnz short DE_Delph.0045035D
00450381 8D55 E4 lea edx,dword ptr ss:[ebp-0x1C] ; ASCII "72"
00450384 8B86 00030000 mov eax,dword ptr ds:[esi+0x300]
0045038A E8 69F1FDFF call DE_Delph.0042F4F8
0045038F 8B45 E4 mov eax,dword ptr ss:[ebp-0x1C] ; ASCII "0123456789asdfgh"
00450392 8B55 FC mov edx,dword ptr ss:[ebp-0x4] ; ASCII "44786572"
00450395 E8 6E42FBFF call DE_Delph.00404608 ; 内存注册机地址
0045039A 75 1B jnz short DE_Delph.004503B7
[C] 纯文本查看 复制代码 #include<stdio.h>
void main()
{
char ch[100];
int i;
i=0;
printf("请输入用户名:");
scanf("%s",ch);
while(ch[i]!='\0')
{
if( ch[i]>0)
printf("%X",ch[i]);
else
printf("%X",ch[i] ^ 0xffffff00);
i++;
}
printf("\n");
}
|