Function at 0x4cb610
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, 0x100
je 0x4cb655
push ebx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x18], ebx
call fcn.00418a30
mov dword [ebp - 4], ebx
test edi, 0x9000
jne 0x4cb6c0
call fcn.00449580
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x10c]
jae 0x4cb6c0
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x4cb695
push eax
call fcn.004f3984
add esp, 4
mov ecx, dword [ebp - 0x60]
push ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.004f3984
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.00449750
test eax, eax
mov eax, dword [esi + 8]
setne byte [ebp - 0x11]
sub eax, dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], eax
cmp edi, 0x1000
jne 0x4cb6f5
lea ecx, [ebp - 0x20]
call fcn.004d1a60
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x19c]
mov edx, dword [esi + 0x1b0]
mov edi, dword [esi + 0x19c]
add esi, 0x19c
mov dword [ebp - 0x48], eax
mov eax, edx
mov ecx, dword [eax]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
cmp edi, ebx
je 0x4cb72c
cmp edi, dword [ebp - 0x48]
je 0x4cb731
call fcn.004f4962
mov ebx, dword [ebp - 0x3c]
cmp ebx, dword [ebp - 0x44]
je 0x4cba56
xor esi, esi
cmp edi, esi
jne 0x4cb7be
call fcn.004f4962
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x4cb754
call fcn.004f4962
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
push edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
push eax
lea esi, [ebp - 0x38]
call fcn.00495660
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x38]
test dword [ebx + 0x24], eax
jne 0x4cb7c2
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4cba28
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4cba28
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cba28
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x4cba28
mov eax, dword [edi]
jmp 0x4cb74a
cmp eax, 0x1000
jne 0x4cb7e3
mov eax, 2
cmp dword [ebx + 0x84], eax
jne 0x4cb7dd
cmp dword [ebp - 0x1c], eax
je 0x4cb7e3
jmp 0x4cb779
cmp dword [ebp - 0x20], 1
je 0x4cb779
test byte [0x5758b4], 1
mov esi, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x80]
jne 0x4cb82a
or dword [0x5758b4], 1
mov eax, 0x60
mov dword [0x5758b8], 0x64
mov dword [0x5758bc], eax
mov dword [0x5758c0], eax
mov byte [0x5758c4], 0
call fcn.00405f90
test al, al
jne 0x4cb82a
call fcn.00453200
cmp byte [0x5758c4], 0
je 0x4cb868
mov eax, dword [0x5758b8]
cmp eax, 0x64
je 0x4cb84e
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov eax, dword [0x5758b8]
cmp byte [0x5758c4], 0
je 0x4cb868
cmp eax, 0x64
je 0x4cb868
push 0x64
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov ecx, dword [ebp - 0x24]
inc ecx
cmp esi, ecx
jg 0x4cb9f4
mov edx, dword [ebp - 0x28]
inc edx
cmp edi, edx
jg 0x4cb9f4
cmp byte [ebp - 0x11], 0
je 0x4cb8a0
test dword [ebp + 0xc], 0x109100
jne 0x4cb8a0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00436840
jmp 0x4cba28
mov edi, dword [ebp - 0x34]
sub esp, 8
mov esi, esp
mov dword [ebp - 0x2c], esp
push edi
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00495660
mov eax, dword [ebp + 0x18]
push eax
call fcn.004cc8f0
test al, al
jne 0x4cb8ef
cmp dword [ebp + 0xc], 0x100
jne 0x4cb8de
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 3
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00436840
jmp 0x4cba28
sub esp, 8
mov esi, esp
mov dword [ebp - 0x2c], esp
push edi
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00495660
mov edx, dword [ebp + 8]
push edx
call fcn.004cc3e0
mov ecx, dword [ebx + 0x70]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x4cb95c
mov esi, dword [ebx + 0x74]
inc esi
xor edx, edx
div esi
cmp eax, ecx
jb 0x4cb959
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x60]
call fcn.004d3890
cmp dword [ebp + 0xc], 0x100
jne 0x4cb948
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 4
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00436840
jmp 0x4cba28
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x4cb99b
inc ecx
xor edx, edx
div ecx
test edx, edx
je 0x4cb99b
mov ecx, dword [ebp + 8]
add ebx, 8
push ebx
call fcn.004cc630
cmp dword [ebp + 0xc], 0x100
jne 0x4cb98a
mov edx, dword [ebp + 0x14]
mov dword [edx], 4
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00436840
jmp 0x4cba28
sub esp, 8
mov esi, esp
mov dword [ebp - 0x2c], esp
push edi
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00495660
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
call fcn.004cd020
test al, al
jne 0x4cb9d4
mov byte [ebp - 4], al
lea eax, [ebp - 0x38]
call fcn.00436840
jmp 0x4cba28
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
push ecx
call fcn.004d3810
mov edx, dword [ebx + 0x38]
add dword [ebp - 0x18], edx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00436840
jmp 0x4cba28
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4cba28
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cba28
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4cba28
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x4cba52
call fcn.004f4962
xor eax, eax
mov esi, dword [ebp - 0x3c]
cmp esi, dword [eax + 0x14]
jne 0x4cba43
call fcn.004f4962
mov eax, dword [esi]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
xor ebx, ebx
jmp 0x4cb723
mov eax, dword [edi]
jmp 0x4cba36
lea ecx, [ebp - 0x60]
push esi
push ecx
call fcn.004cb520
mov eax, dword [ebp - 0x54]
xor esi, esi
add esp, 8
cmp eax, esi
je 0x4cba75
push eax
call fcn.004f3984
add esp, 4
mov edx, dword [ebp - 0x60]
push edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call fcn.004f3984
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14