Function at 0x41c1d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0xffffffffffffffff
push 0x5686cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
call fcn.0041d580
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c221
mov dword [esp + 0x28], 0xffffffff
jmp 0x41c361
push eax
lea ecx, [esp + 0x1c]
call fcn.0041d720
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 1
cmp eax, ebx
je 0x41c2ea
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test al, al
je 0x41c2ea
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], bl
cmp eax, ebx
je 0x41c25c
mov edx, dword [eax]
push eax
call dword [edx + 8]
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebp
call fcn.004f3790
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 2
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 3
push eax
call fcn.00413420
mov ecx, eax
call fcn.0047a470
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41c318
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push 0x5cf960
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 4
cmp eax, ebx
je 0x41c30a
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x5cf950
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x28], 3
call fcn.004f3790
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004f3790
jmp 0x41c328
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004f3790
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004f3790
jmp 0x41c361
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.004f3790
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004f3790
jmp 0x41c349
cmp esi, ebx
jl 0x41c349
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41c34d
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp eax, 1
je 0x41c344
cmp eax, 3
jne 0x41c349
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x28], ebp
je 0x41c35b
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp byte [esp + 0x13], bl
jne 0x41c38a
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x41c372
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov byte [edi + 0x228], bl
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41c4a2
mov al, byte [esp + 0x1c]
test al, 0x20
jne 0x41c4a2
test al, 7
je 0x41c4a2
mov dword [esp + 0x18], ebx
push 0x5ed920
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 5
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x28], 6
cmp eax, ebx
jne 0x41c438
cmp dword [0x5e5cb4], ebx
jne 0x41c438
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x41c40c
push ebx
mov ecx, eax
call fcn.00414650
jmp 0x41c40e
xor eax, eax
mov edx, dword [0x5cebb0]
mov ecx, 0x5eafa0
push edx
push 0x406a50
mov byte [esp + 0x30], 6
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x28], 5
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x18]
push ecx
push 0x5cf998
mov ecx, esi
call fcn.0047a4a0
cmp eax, ebx
jl 0x41c479
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41c479
mov edx, dword [eax]
push 0x5cf990
push str.DAILY.CL_OL_SUS
push eax
call dword [edx + 0x24]
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebp
call fcn.004f3790
mov ecx, edi
call fcn.0041c520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 8
push eax
push 0x5cf998
call fcn.00413420
mov ecx, eax
call fcn.0047a4a0
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jl 0x41c4e4
cmp eax, ebx
je 0x41c4e4
mov ecx, dword [eax]
push 0x5cf990
push str.DAILY.CL_OL_FS
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x28], ebp
je 0x41c4f2
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 2
push ebx
push ebx
mov ecx, edi
call fcn.0041cae0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret