Function at 0x463d40
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eaec4
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x74e2f0]
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
push 0xe
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
push str.NO_WEBCONECTED
test eax, eax
jne 0x463dd9
mov word [ebp - 0x48], ax
call fcn.00406400
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040a350
cmp dword [ebp - 0x34], 8
jb 0x46426f
push dword [ebp - 0x48]
jmp 0x464267
xor eax, eax
mov word [ebp - 0x48], ax
call fcn.00406400
mov dword [ebp - 4], 1
mov ecx, dword [0x74e2f4]
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x463e17
push dword [ebp - 0x48]
call fcn.0049500b
add esp, 4
push 7
xor eax, eax
push str.XML_URL
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00406400
mov dword [ebp - 4], 2
push 6
xor eax, eax
push str.MSETUP
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00406400
mov byte [ebp - 4], 3
push 3
xor eax, eax
push 0x624350
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
call fcn.00406400
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov byte [ebp - 4], 5
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00460be0
cmp dword [ebp - 0x9c], 8
jb 0x463efd
push dword [ebp - 0xb0]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
cmp dword [ebp - 0xb4], 8
jb 0x463f31
push dword [ebp - 0xc8]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
cmp dword [ebp - 0x80], 8
jb 0x463f62
push dword [ebp - 0x94]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
cmp dword [ebp - 0x68], 8
jb 0x463f8d
push dword [ebp - 0x7c]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x34], 8
jb 0x463fb6
push dword [ebp - 0x48]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x20], eax
jne 0x464018
push str.CFuncMgr::DoLatestDownload_Latest.xml_URL_error
call fcn.00418730
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.00405d00
mov byte [ebp - 4], 0xd
mov ecx, dword [0x74e2f4]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040a350
cmp dword [ebp - 0x50], 8
jb 0x46425e
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
jmp 0x46425e
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040ba80
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.004688d0
mov edx, dword [eax]
cmp word [edx], 0
jne 0x464047
xor ecx, ecx
jmp 0x46405f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464050
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00406400
mov eax, dword [esi]
test eax, eax
je 0x46407e
push eax
call fcn.0049500b
add esp, 4
mov dword [esi], 0
push 0x98
call fcn.00494fd5
mov edi, eax
add esp, 4
test edi, edi
je 0x4640a2
push ecx
mov ecx, edi
call fcn.00464290
mov ecx, edi
call fcn.00410160
jmp 0x4640a4
xor eax, eax
sub esp, 0x18
mov ecx, esp
mov dword [esi], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.00405f70
push dword [ebp + 8]
mov ecx, dword [esi]
call fcn.004101b0
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x464120
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.00405d00
mov byte [ebp - 4], 0xf
mov ecx, dword [0x74e2f4]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040a350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x464116
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
push str.CFuncMgr::DoLatestDownload_m_pDownload__DoDownloadLatestXML___Failed
call fcn.00418730
mov ecx, dword [0x74e2f4]
call fcn.0046b5a0
test eax, eax
jne 0x464219
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.00405d00
mov byte [ebp - 4], 0x10
mov ecx, dword [0x74e2f4]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040a350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x46416d
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
push str.CFuncMgr::DoLatestDownload_g_pInfoMgr__InitializeCDCInfo___Failed
call fcn.00418730
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x64]
call fcn.00405d00
mov byte [ebp - 4], 0x11
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409ba0
cmp eax, 1
sete bl
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x4641b5
push dword [ebp - 0x64]
call fcn.0049500b
add esp, 4
test bl, bl
je 0x464219
push 0x624ff8
lea ecx, [ebp - 0xe0]
call fcn.00405d00
push str.LATEST_XML.PATH
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.00405d00
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x13
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409f70
lea ecx, [ebp - 0x64]
call fcn.00405e10
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xe
call fcn.00405e10
mov ecx, dword [0x74e2f4]
call fcn.0046b5a0
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x464228
push eax
call fcn.00412970
mov eax, dword [esi]
test eax, eax
je 0x46423d
push eax
call fcn.0049500b
add esp, 4
mov dword [esi], 0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46425e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 8
jb 0x46426f
push dword [ebp - 0x30]
call fcn.0049500b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4