Function at 0x41e190
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x46ae30]
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 dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x40], eax
mov edi, ecx
push 0
mov dword [ebp - 0x44], eax
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x41e1de
mov eax, 0xfffffff7
jmp 0x41e29c
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp dword [ebp - 0x20], 0x20
jne 0x41e201
mov eax, 0xfffffff6
jmp 0x41e29c
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 1
sub esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0xffffffff
call fcn.0041e480
test eax, eax
js 0x41e283
mov esi, dword [ebp - 0x18]
test esi, esi
sete al
test al, al
sete al
test al, al
je 0x41e286
test esi, esi
jne 0x41e25c
push 0x80004003
call fcn.00452f10
mov eax, dword [esi]
push 0x7530
push 0x7530
push 0xea60
push 0
push esi
call dword [eax + 0x54]
test eax, eax
jns 0x41e2b8
push 0x460b98
push esi
push eax
call fcn.00452f30
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41e29a
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
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.00437d2f
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x460b90
call ebx
cmp dword [edi + 0x14], 8
mov esi, eax
jb 0x41e2cf
mov edi, dword [edi]
push edi
call ebx
mov ecx, 0xb
mov word [ebp - 0x58], cx
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x50], cx
push 0x46bf68
push 0x46bf68
lea ecx, [ebp - 0x58]
push ecx
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0041def0
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x48], esp
push esi
call fcn.0041def0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x41e327
push 0x80004003
call fcn.00452f10
mov byte [ebp - 4], 3
call fcn.0041e010
mov ebx, eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call edi
push dword [ebp - 0x3c]
call edi
test ebx, ebx
js 0x41e283
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x18]
test ebx, ebx
jne 0x41e367
push 0x80004003
call fcn.00452f10
movq xmm0, qword [0x46bf68]
mov ecx, dword [ebx]
sub esp, 0x10
mov eax, esp
push ebx
movq qword [eax], xmm0
movq xmm0, qword [0x46bf70]
movq qword [eax + 8], xmm0
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
jns 0x41e39d
push 0x460ba8
push ebx
push esi
call fcn.00452f30
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 4], 2
jmp 0x41e3c9
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41e3da
push 0x80004003
call fcn.00452f10
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x34]
test esi, esi
js 0x41e283
cmp dword [ebp - 0x1c], 0xc8
jne 0x41e283
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0
test eax, eax
jne 0x41e411
push 0x80004003
call fcn.00452f10
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x40]
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x41e283
cmp word [esi], 0
jne 0x41e441
xor eax, eax
push eax
push esi
mov ecx, ebx
call fcn.0040b068
push dword [ebp - 0x3c]
call edi
jmp 0x41e283
push esi
call fcn.0043aa35
add esp, 4
mov ecx, ebx
push eax
push esi
call fcn.0040b068
push dword [ebp - 0x3c]
call edi
jmp 0x41e283