Function at 0x4553f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4e14
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x65a000]
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 [0x6fb00c]
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 0x455489
mov word [ebp - 0x48], ax
call fcn.004058d0
mov dword [ebp - 4], 0
mov ecx, dword [0x6fb010]
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
cmp dword [ebp - 0x34], 8
jb 0x45591f
push dword [ebp - 0x48]
jmp 0x455917
xor eax, eax
mov word [ebp - 0x48], ax
call fcn.004058d0
mov dword [ebp - 4], 1
mov ecx, dword [0x6fb010]
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x4554c7
push dword [ebp - 0x48]
call fcn.0048166b
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.004058d0
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.004058d0
mov byte [ebp - 4], 3
push 3
xor eax, eax
push 0x60e1b0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], 0
mov word [ebp - 0x94], ax
call fcn.004058d0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov byte [ebp - 4], 5
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ecx + 0x2c]
call fcn.004120a0
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00452290
cmp dword [ebp - 0x9c], 8
jb 0x4555ad
push dword [ebp - 0xb0]
call fcn.0048166b
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 0x4555e1
push dword [ebp - 0xc8]
call fcn.0048166b
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 0x455612
push dword [ebp - 0x94]
call fcn.0048166b
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 0x45563d
push dword [ebp - 0x7c]
call fcn.0048166b
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 0x455666
push dword [ebp - 0x48]
call fcn.0048166b
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 0x4556c8
push str.CFuncMgr::DoLatestDownload_Latest.xml_URL_error
call fcn.00415fc0
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.004051f0
mov byte [ebp - 4], 0xd
mov ecx, dword [0x6fb010]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
cmp dword [ebp - 0x50], 8
jb 0x45590e
push dword [ebp - 0x64]
call fcn.0048166b
add esp, 4
jmp 0x45590e
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.00409390
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.00459270
mov edx, dword [eax]
cmp word [edx], 0
jne 0x4556f7
xor ecx, ecx
jmp 0x45570f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455700
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.004058d0
mov eax, dword [esi]
test eax, eax
je 0x45572e
push eax
call fcn.0048166b
add esp, 4
mov dword [esi], 0
push 0x98
call fcn.00481635
mov edi, eax
add esp, 4
test edi, edi
je 0x455752
push ecx
mov ecx, edi
call fcn.00455940
mov ecx, edi
call fcn.0040da10
jmp 0x455754
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.00405440
push dword [ebp + 8]
mov ecx, dword [esi]
call fcn.0040da60
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4557d0
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.004051f0
mov byte [ebp - 4], 0xf
mov ecx, dword [0x6fb010]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x4557c6
push dword [ebp - 0x64]
call fcn.0048166b
add esp, 4
push str.CFuncMgr::DoLatestDownload_m_pDownload__DoDownloadLatestXML___Failed
call fcn.00415fc0
mov ecx, dword [0x6fb010]
call fcn.0045c010
test eax, eax
jne 0x4558c9
push str.NO_WEBCONECTED
lea ecx, [ebp - 0x64]
call fcn.004051f0
mov byte [ebp - 4], 0x10
mov ecx, dword [0x6fb010]
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x45581d
push dword [ebp - 0x64]
call fcn.0048166b
add esp, 4
push str.CFuncMgr::DoLatestDownload_g_pInfoMgr__InitializeCDCInfo___Failed
call fcn.00415fc0
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0x64]
call fcn.004051f0
mov byte [ebp - 4], 0x11
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.004070c0
cmp eax, 1
sete bl
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x455865
push dword [ebp - 0x64]
call fcn.0048166b
add esp, 4
test bl, bl
je 0x4558c9
push 0x60ec18
lea ecx, [ebp - 0xe0]
call fcn.004051f0
push str.LATEST_XML.PATH
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.004051f0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x13
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407490
lea ecx, [ebp - 0x64]
call fcn.00405300
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xe
call fcn.00405300
mov ecx, dword [0x6fb010]
call fcn.0045c010
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x4558d8
push eax
call fcn.00410210
mov eax, dword [esi]
test eax, eax
je 0x4558ed
push eax
call fcn.0048166b
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 0x45590e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 8
jb 0x45591f
push dword [ebp - 0x30]
call fcn.0048166b
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.005a4646
mov esp, ebp
pop ebp
ret 4