Function at 0x405eb0
Capabilities:
Check internet connectivity via wininet
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468b7a
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481b08]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x124]
mov edi, dword [esp + 0x120]
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40641a
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x40641a
call fcn.004117f0
test al, al
jne 0x406106
call fcn.00413330
push str.Proxy_is_not_enabled_on_system._r_n
lea ecx, [esp + 0x64]
call fcn.00401000
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x118], 0
call fcn.00413450
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x114], 0xffffffff
jb 0x405f8b
push dword [esp + 0x60]
call fcn.00449096
add esp, 4
lea ecx, [esp + 0x90]
call fcn.00402eb0
push ebp
lea eax, [esp + 0x94]
push eax
push 0
push edi
push ebx
mov dword [esp + 0x128], 1
call fcn.00406450
add esp, 0x14
cmp al, 1
jne 0x4060ef
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x405fcb
mov edx, dword [edi]
jmp 0x405fcd
mov edx, edi
mov eax, dword [edi + 0x10]
lea eax, [edx + eax*2]
cmp ecx, 8
jb 0x405fda
mov edi, dword [edi]
push dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.0040a0d0
mov byte [esp + 0x114], 2
call fcn.00413330
push str.Download_complete:
lea ecx, [esp + 0x64]
call fcn.00401000
lea ecx, [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x120], 3
call fcn.00402530
push 0x46b7dc
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x12c], 4
call fcn.004025b0
push eax
mov byte [esp + 0x130], 5
call fcn.00413450
add esp, 0x1c
cmp dword [esp + 0x5c], 0x10
jb 0x406070
push dword [esp + 0x48]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x40609b
push dword [esp + 0x78]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
jb 0x4060c9
push dword [esp + 0x60]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x4060dc
push dword [esp + 0x30]
call fcn.00449096
add esp, 4
lea ecx, [esp + 0x90]
call fcn.004033c0
mov al, 1
jmp 0x40641c
lea ecx, [esp + 0x90]
mov dword [esp + 0x114], 0xffffffff
call fcn.004033c0
call fcn.00413330
push 0x1c
push str.Using_User_Proxy_settings._r_n
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00401950
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x118], 6
call fcn.00413450
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x40615b
push dword [esp + 0x30]
call fcn.00449096
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x118], 7
call fcn.0040dcd0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, ebx
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
je 0x406291
xor ebp, ebp
jmp 0x4061c0
lea eax, [esi + ebp]
push eax
lea ecx, [esp + 0x94]
call fcn.00402db0
push dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
push 1
push edi
push dword [esp + 0x2c]
mov byte [esp + 0x128], 8
call fcn.00406450
add esp, 0x14
cmp al, 1
je 0x4062c4
call fcn.00413330
push 0x12
push str.Download_failed._r_n
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00401950
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x118], 0xd
call fcn.004133a0
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x40624d
push dword [esp + 0x30]
call fcn.00449096
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x114], 7
call fcn.004033c0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
inc dword [esp + 0x18]
mov ecx, ebx
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, 0x78
cmp dword [esp + 0x18], eax
jb 0x4061c0
mov byte [esp + 0x17], 0
test esi, esi
je 0x4062bb
cmp esi, ebx
je 0x4062b2
mov edi, edi
mov ecx, esi
call fcn.004033c0
add esi, 0x78
cmp esi, ebx
jne 0x4062a0
mov esi, dword [esp + 0x20]
push esi
call fcn.00449096
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x40641c
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x4062d0
mov edx, dword [edi]
jmp 0x4062d2
mov edx, edi
mov eax, dword [edi + 0x10]
lea eax, [edx + eax*2]
cmp ecx, 8
jb 0x4062df
mov edi, dword [edi]
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push eax
push edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.0040a0d0
mov byte [esp + 0x114], 9
call fcn.00413330
push 0x13
push str.Download_complete:
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.00401950
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x120], 0xa
call fcn.00402530
push 0x46b7dc
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x12c], 0xb
call fcn.004025b0
push eax
mov byte [esp + 0x130], 0xc
call fcn.00413450
add esp, 0x1c
cmp dword [esp + 0x8c], 0x10
jb 0x406393
push dword [esp + 0x78]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
jb 0x4063c1
push dword [esp + 0x60]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x4063e9
push dword [esp + 0x30]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x5c], 0x10
jb 0x4063fc
push dword [esp + 0x48]
call fcn.00449096
add esp, 4
lea ecx, [esp + 0x90]
call fcn.004033c0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x17], 1
jmp 0x406296
xor al, al
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00449824
add esp, 0x104
ret