一道简单的题目
while ( v1 < 24 );
v4 = 0;
do
{
byte_40336C[v4] = (byte_40336C[v4] + 1) ^ 6;// 关键处理加一异或6
++v4;
}
while ( v4 < 0x18 );
v5 = strcmp(byte_40336C, (const char *)&unk_402124);// 比较 xIrCj~<r|2tWsv3PtIzndka
if ( v5 )
v5 = -(v5 < 0) | 1;
if ( !v5 )
{
sub_401020("right
", v7);
system("pause");
}
}
写个idc脚本轻松出结果
auto form1=0x402124;
auto form2=0x40213B;
auto i,x;
for(i=form2;i>=form1;i--){
x=Byte(i);
Message("%s",(x^0x6)-1);
}