Function at 0x41d390
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0xffffffffffffffff
push 0x55348b
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.0041e810
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 0x41d3e1
mov dword [esp + 0x28], 0xffffffff
jmp 0x41d521
push eax
lea ecx, [esp + 0x1c]
call fcn.0041e9b0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 1
cmp eax, ebx
je 0x41d4aa
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test al, al
je 0x41d4aa
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], bl
cmp eax, ebx
je 0x41d41c
mov edx, dword [eax]
push eax
call dword [edx + 8]
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebp
call fcn.0046ca80
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.00413110
mov ecx, eax
call fcn.00473910
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41d4d8
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push 0x5b5c70
push eax
call dword [ecx]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], 4
cmp eax, ebx
je 0x41d4ca
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x5b5c60
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x28], 3
call fcn.0046ca80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.0046ca80
jmp 0x41d4e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0046ca80
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0046ca80
jmp 0x41d521
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.0046ca80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.0046ca80
jmp 0x41d509
cmp esi, ebx
jl 0x41d509
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41d50d
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp eax, 1
je 0x41d504
cmp eax, 3
jne 0x41d509
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x28], ebp
je 0x41d51b
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp byte [esp + 0x13], bl
jne 0x41d54a
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x41d532
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 + 0x22c], bl
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41d662
mov al, byte [esp + 0x1c]
test al, 0x20
jne 0x41d662
test al, 7
je 0x41d662
mov dword [esp + 0x18], ebx
push 0x5d2ac0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 5
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x28], 6
cmp eax, ebx
jne 0x41d5f8
cmp dword [0x5cb044], ebx
jne 0x41d5f8
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x28], 7
je 0x41d5cc
push ebx
mov ecx, eax
call fcn.00414150
jmp 0x41d5ce
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0x30], 6
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x5cb044]
mov byte [esp + 0x28], 5
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x18]
push ecx
push 0x5b5ca8
mov ecx, esi
call fcn.00473940
cmp eax, ebx
jl 0x41d639
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41d639
mov edx, dword [eax]
push 0x5b5ca0
push str.DAILY.CL_OL_SUS
push eax
call dword [edx + 0x24]
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebp
call fcn.0046ca80
mov ecx, edi
call fcn.0041d6e0
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 0x5b5ca8
call fcn.00413110
mov ecx, eax
call fcn.00473940
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jl 0x41d6a4
cmp eax, ebx
je 0x41d6a4
mov ecx, dword [eax]
push 0x5b5ca0
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 0x41d6b2
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 2
push ebx
push ebx
mov ecx, edi
call fcn.0041dca0
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