-
-
[分享]第一题 WannaLOL
-
发表于:
2017-6-4 11:02
1857
-
1.去花指令 edit-patch program-change byte
2.c改回nop;create function
3.f5看算法
int sub_4011F4()
{
double v0; // st7@6
double v1; // st6@6
double v2; // st6@6
const CHAR *v4; // [sp-Ch] [bp-28h]@7
const CHAR *v5; // [sp-8h] [bp-24h]@6
CHAR String; // [sp+0h] [bp-1Ch]@1
char v7; // [sp+1h] [bp-1Bh]@3
char v8; // [sp+2h] [bp-1Ah]@4
char v9; // [sp+3h] [bp-19h]@5
int v10; // [sp+18h] [bp-4h]@6
GetDlgItemTextA(hDlg, 1001, &String, 21);
Sleep(0x1F4u);
if ( strlen(&String) != 4 || String == 48 || v7 == 48 || v8 == 48 || v9 == 48 )
{
v5 = Caption;
goto LABEL_9;
}
v10 = v8 - 48;
v0 = (double)v10;
v10 = String - 48;
v1 = (double)v10;
v10 = v7 - 48;
v2 = v1 / (double)v10;
v10 = v9 - 48;
*(float *)&v10 = (v0 - v2) * (double)v10 * 16.0;
v5 = Caption;
if ( *(float *)&v10 != 384.0 )
{
LABEL_9:
v4 = Text;
return MessageBoxA(hWnd, v4, v5, 0);
}
v4 = aRegistrationSu;
return MessageBoxA(hWnd, v4, v5, 0);
}
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)