Function at 0x403d50
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4515c9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041fb70
push 0x459b7c
mov ecx, edi
call fcn.0042754a
lea ebx, [edi + 0x2e4]
mov esi, ebx
call fcn.00410190
lea esi, [edi + 0x2ec]
call fcn.00410290
push str.yxdownup.exe
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0040bf20
add esp, 0xc
xor ebp, ebp
lea ecx, [edi + 0x2f8]
push eax
mov dword [esp + 0xb4], ebp
call fcn.00401dd0
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x459ba4
call fcn.004017f0
mov dword [esp + 0xb4], 1
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov ebx, esp
push eax
call fcn.00402180
add eax, 0x10
mov dword [ebx], eax
lea ecx, [esp + 0x3c]
add esp, 4
or ebx, 0xffffffff
push ecx
mov dword [esp + 0xbc], ebx
call fcn.0040b6a0
add esp, 0xc
lea ecx, [edi + 0x2e8]
push eax
mov dword [esp + 0xb4], 2
call fcn.00401dd0
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
push 1
push str.http:__www.baidu.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
mov dword [edi + 0x338], eax
call fcn.00409270
cmp dword [edi + 0x338], ebp
je 0x403ee5
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.gameyxdown.dat
lea eax, [edi + 0x2e4]
push eax
push ecx
call fcn.0040bf20
add esp, 0xc
call fcn.00410390
add esp, 4
cmp eax, ebp
je 0x403ee5
mov edx, dword [edi + 0x344]
cmp dword [edx - 0xc], ebp
je 0x403ee5
push edi
call fcn.00409730
mov esi, edi
call fcn.00407b10
call fcn.00407c00
push 0x60
call fcn.00419c2e
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb0], 3
cmp eax, ebp
je 0x403f1b
push eax
mov ebx, edi
call fcn.0040c360
or ebx, 0xffffffff
jmp 0x403f1d
xor eax, eax
mov dword [esp + 0xb0], ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
mov dword [edi + 0x378], eax
mov edx, dword [eax + 0x20]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, 8
add esi, 6
push 1
add edx, 7
sub eax, 9
mov dword [esp + 0x30], ecx
sub ecx, esi
push ecx
mov dword [esp + 0x30], eax
sub eax, edx
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
call fcn.004275ac
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x94]
push eax
push ecx
call ebx
mov eax, 0x284
mov edx, 0x296
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], eax
mov edx, 0x3c8
mov dword [esp + 0x68], eax
mov eax, 0x321
push 1
mov ecx, 0x2c
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov eax, 0xaa
push 0xc
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], 0xa8
mov dword [esp + 0x58], 0xb7
mov dword [esp + 0x60], 0x310
mov dword [esp + 0x68], 0x320
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
lea esi, [edi + 0x180]
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
mov ecx, esi
call fcn.00421d2b
cmp esi, ebp
jne 0x40404e
xor esi, esi
jmp 0x404051
mov esi, dword [esi + 4]
mov eax, dword [edi + 0x20]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov esi, edi
mov dword [0x46cb18], edi
call fcn.00408710
lea ebx, [edi + 0x2f0]
push ebx
lea eax, [edi + 0x2e4]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040be60
add esp, 0xc
mov dword [esp + 0xb0], 4
cmp dword [edi + 0x304], ebp
jne 0x4040ed
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00410390
add esp, 4
cmp eax, ebp
je 0x4040ed
mov edx, dword [ebx]
cmp dword [edx - 0xc], ebp
je 0x4040ed
mov eax, dword [esp + 0x18]
push 3
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov esi, edi
call fcn.0040a3d0
push ebp
mov ecx, edi
call fcn.004275ec
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret