Function at 0x419391
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682aa5
mov eax, dword fs:[0]
push eax
mov eax, 0x4080
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x404c], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x402c]
mov dword [ebp - 0x4054], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x405c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4050], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4058], eax
call fcn.004173bc
and dword [ebp - 4], 0
xor edi, edi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
lea eax, [ebp - 0x4084]
push 0x28
push eax
call fcn.0059e3f3
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x4068], esi
lea eax, [ebp - 0x4010]
mov dword [ebp - 0x4080], ecx
mov dword [ebp - 0x4070], eax
mov eax, esi
mov esi, dword [ebp - 0x4050]
sub eax, ebx
mov dword [ebp - 0x407c], ecx
mov dword [ebp - 0x4078], ecx
mov dword [ebp - 0x4074], ecx
push dword [esi]
mov dword [ebp - 0x4060], ecx
mov dword [ebp - 0x4064], ecx
mov ecx, 0x4000
cmp eax, ecx
mov dword [ebp - 0x4084], 0x28
cmovae eax, ecx
mov dword [ebp - 0x406c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push 1
lea eax, [ebp - 0x4084]
push eax
push dword [esi + 8]
call dword [ebp - 0x4054]
test eax, eax
jne 0x4194c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x419623
mov ecx, dword [ebp - 0x404c]
push 0x80
push 0xffffffffffffffff
push esi
call fcn.0041c678
test eax, eax
je 0x419640
cmp eax, 3
je 0x41961d
mov esi, dword [ebp - 0x404c]
lea ecx, [esi + 0x80]
call fcn.004c2c9d
lea ecx, [esi + 0x80]
call fcn.00451480
test eax, eax
jne 0x419640
cmp dword [ebp - 0x406c], eax
je 0x4195d7
push dword [ebp - 0x406c]
mov eax, dword [ebp - 0x4058]
push dword [ebp - 0x4070]
add eax, ebx
push eax
call fcn.00643300
add ebx, dword [ebp - 0x406c]
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x4195ce
push 0x147
mov ecx, 0x796c94
call fcn.00417bfd
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x41953a
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x14]
mov eax, ebx
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
push ecx
push ecx
movd xmm0, esi
addsd xmm1, qword [eax*8 + 0x6ae010]
cvtdq2pd xmm0, xmm0
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ae010]
lea eax, [ebp - 0x402c]
divsd xmm1, xmm0
mulsd xmm1, qword [0x6ae000]
movsd qword [esp], xmm1
push ecx
push eax
movsd qword [ebp - 0x408c], xmm1
call fcn.0041ccda
mov ecx, dword [ebp - 0x404c]
lea eax, [ebp - 0x4028]
add esp, 0x10
cmp dword [ebp - 0x4014], 8
cmovae eax, dword [ebp - 0x4028]
push eax
push 4
call fcn.0041b7cc
cvttsd2si eax, qword [ebp - 0x408c]
mov ecx, dword [ebp - 0x404c]
push eax
push 4
call fcn.0041b766
jmp 0x4195d1
mov esi, dword [ebp + 0x14]
cmp ebx, esi
jae 0x419645
jmp 0x419610
mov esi, dword [ebp + 0x14]
cmp ebx, esi
jae 0x419610
lea ecx, [ebp - 0x4048]
call fcn.004173bc
mov byte [ebp - 4], 1
push 0
push 1
push dword [ebp - 0x405c]
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x419627
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4048]
call fcn.0041786a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419403
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x419645
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4048]
call fcn.0041786a
jmp 0x419645
mov edi, 0x18697
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x402c]
call fcn.0041786a
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 - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 0x18