简单对其静态分析一下。
主函数:
int __cdecl main(int argc, const char **argv, const char **envp)
{
char *v3; // esi@1
char direct; // bl@2
int offset; // eax@2
int result; // eax@13
int v7; // [sp+8h] [bp-30h]@2
int v8; // [sp+Ch] [bp-2Ch]@2
char v9; // [sp+10h] [bp-28h]@1
char v10; // [sp+36h] [bp-2h]@1
v3 = &v9;
printf("input your sn:");
scanf("%s", &v9);
v10 = 0;
if ( v9 ) // / 如果有输入,则进入判断
{
do
{
direct = v3[1]; // 形式为操作数+方向
//
offset &