[C++] 纯文本查看 复制代码
void 登录按钮_被单击()
{
char *c; // eax
char *v2; // eax
const char *v3; // eax
char *v4; // [esp+0h] [ebp-10h]
char *v5; // [esp+4h] [ebp-Ch]
BOOL v6; // [esp+4h] [ebp-Ch]
char *v7; // [esp+4h] [ebp-Ch]
char *lpMem; // [esp+8h] [ebp-8h]
char *lpMema; // [esp+8h] [ebp-8h]
char *lpMemb; // [esp+8h] [ebp-8h]
void *lpMemc; // [esp+8h] [ebp-8h]
if ( dword_A57FC8 )
{
按钮::登录按钮_写属性_禁止(0x52010002u, 0x16010006u, 6u, 0xFFFFFFFF, (UNIT_PROPERTY_VALUE)1, 0);
c = 编辑框::编辑框1_读属性_内容(0x52010002u, 0x16010008u, 8u, 0xFFFFFFFF).c;
lpMem = c;
if ( !c )
c = (char *)&byte_579333;
v5 = 核心支持库命令((unsigned int)取文本长度, 1, c, 0, -2147483644).c;
if ( lpMem )
释放内存(lpMem);
if ( (int)v5 > 16 || (int)v5 < 6 )
{
连续省略参数(6);
核心支持库命令((unsigned int)信息框, 4, &unk_579334, 0, -2147483644, 0, 0, -2147482879);
编辑框::编辑框1_写属性_内容(
0x52010002u,
0x16010008u,
8u,
0xFFFFFFFF,
(UNIT_PROPERTY_VALUE)&byte_579333,
0);
}
else
{
lpMema = 编辑框::编辑框1_读属性_内容(0x52010002u, 0x16010008u, 8u, 0xFFFFFFFF).c;
v6 = 文本比较_0(lpMema, (char *)&byte_579333) == 0;
if ( lpMema )
释放内存(lpMema);
if ( v6 )
{
连续省略参数(6);
核心支持库命令((unsigned int)信息框, 4, &unk_579349, 0, -2147483644, 0, 0, -2147482879);
}
else
{
v2 = 编辑框::编辑框1_读属性_内容(0x52010002u, 0x16010008u, 8u, 0xFFFFFFFF).c;
lpMemb = v2;
if ( !v2 )
v2 = (char *)&byte_579333;
核心支持库命令(
(unsigned int)写配置项,
4,
"c:\\【QQ号隐藏】\\gj-data.ini",
0,
-2147483644,
&byte_579358,
0,
-2147483644,
&byte_579358,
0,
-2147483644,
v2,
0,
-2147483644);
if ( lpMemb )
释放内存(lpMemb);
if ( dword_A57FC8 == 1 )
{
lpMemc = (void *)sub_402067();
v7 = 编辑框::编辑框1_读属性_内容(0x52010002u, 0x16010008u, 8u, 0xFFFFFFFF).c;
v4 = 文本相加(5, &unk_57937E, v7, "]*", lpMemc, "*");
if ( v7 )
释放内存(v7);
if ( lpMemc )
释放内存(lpMemc);
v3 = v4;
if ( !v4 )
v3 = &byte_579333;
核心支持库命令((unsigned int)客户.发送数据, 2, 1375797250, 369164293, 65573, v3, 0, -2147483644);
if ( v4 )
释放内存(v4);
}
sub_401E0E(2000, 1, 0i64, 0);
按钮::登录按钮_写属性_禁止(0x52010002u, 0x16010006u, 6u, 0xFFFFFFFF, 0, 0);
}
}
}
else
{
sub_401552();
按钮::登录按钮_写属性_禁止(0x52010002u, 0x16010006u, 6u, 0xFFFFFFFF, (UNIT_PROPERTY_VALUE)1, 0);
按钮::登录按钮_写属性_标题(
0x52010002u,
0x16010006u,
0xAu,
0xFFFFFFFF,
(UNIT_PROPERTY_VALUE)&unk_57931C,
0);
sub_401E0E(2000, 1, 0i64, 0);
按钮::登录按钮_写属性_禁止(0x52010002u, 0x16010006u, 6u, 0xFFFFFFFF, 0, 0);
按钮::登录按钮_写属性_标题(
0x52010002u,
0x16010006u,
0xAu,
0xFFFFFFFF,
(UNIT_PROPERTY_VALUE)&unk_57932E,
0);
}
}
void sub_401552()
{
char *c; // eax
const char *v1; // eax
char *v2; // eax
char *v3; // [esp+4h] [ebp-Ch]
char *v4; // [esp+8h] [ebp-8h]
char *v5; // [esp+8h] [ebp-8h]
char *v6; // [esp+8h] [ebp-8h]
LPVOID lpMem; // [esp+Ch] [ebp-4h] BYREF
if ( !dword_A57FC8 )
{
c = 核心支持库命令((unsigned int)转换为IP地址, 1, "【此处服务器域名地址隐藏】", 0, -2147483644).c;
lpMem = c;
if ( !c )
c = (char *)&byte_579333;
v4 = 核心支持库命令(
(unsigned int)客户.连接,
3,
1375797250,
369164293,
65573,
c,
0,
-2147483644,
3344,
0,
-2147482879).c;
if ( lpMem )
释放内存(lpMem);
if ( v4 == (char *)1 )
{
dword_A57FC8 = 1;
}
else
{
lpMem = "【此处服务器域名地址隐藏】";
v5 = (char *)sub_40176A(&lpMem);
if ( lpMem )
释放内存(lpMem);
v1 = v5;
if ( !v5 )
v1 = &byte_579333;
v3 = 核心支持库命令(
(unsigned int)客户.连接,
3,
1375797250,
369164293,
65573,
v1,
0,
-2147483644,
3344,
0,
-2147482879).c;
if ( v5 )
释放内存(v5);
if ( v3 == (char *)1 )
{
dword_A57FC8 = 1;
}
else
{
v2 = 核心支持库命令((unsigned int)转换为IP地址, 1, "【此处服务器域名地址隐藏】", 0, -2147483644).c;
lpMem = v2;
if ( !v2 )
v2 = (char *)&byte_579333;
v6 = 核心支持库命令(
(unsigned int)客户.连接,
3,
1375797250,
369164293,
65573,
v2,
0,
-2147483644,
3344,
0,
-2147482879).c;
if ( lpMem )
释放内存(lpMem);
dword_A57FC8 = v6 == (char *)1;
}
}
}
}