asm_re
这一段将数据存储在了[x29,var C0]的位置,跟进去寻找unk 100003F10
是一串Data,注意小段序
上面是加密过程,进行了乘加和异或,四个字节一组,编写脚本
#include <stdio.h>
int main()
{
int a[] = {0x1fd7, 0x21b7, 0x1e47, 0x2027, 0x26e7, 0x10d7, 0x1127,
0x2007, 0x11c7, 0x1e47, 0x1017, 0x1017, 0x11f7, 0x2007,
0x1037, 0x1107, 0x1f17, 0x10d7, 0x1017, 0x1017, 0x1f67,
0x1017, 0x11c7, 0x11c7, 0x1017, 0x1fd7, 0x1f17, 0x1107,
0x0f47, 0x1127, 0x1037, 0x1e47, 0x1037, 0x1fd7, 0x1107,
0x1fd7, 0x1107, 0x2787};
for (int i = 0; i < 38; i++)
{
for (int j = 30; j < 129; j++)
{
if (((((j * 0x50) + 0x14)^ 0x4d) + 0x1e) == a[i])
printf("%c", j);
}
}
return 0;
}
flag{67e9a228e45b622c2992fb5174a4f5f5}
--------------------------------
Process exited after 0.04737 seconds with return value 0
请按任意键继续. . .