Function at 0x461030
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b68
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x51e710]
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 edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 1
mov byte [eax], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x78], 0
push eax
call fcn.004614f0
cmp al, 1
jne 0x461147
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push ebx
call fcn.00461a30
cmp al, 1
jne 0x461147
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push str.white
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00489691
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x70]
test eax, eax
sete al
mov byte [ecx], al
mov ecx, dword [ebp - 0x74]
call fcn.004d081f
divsd xmm0, qword [0x512350]
subsd xmm0, qword [0x512368]
call fcn.004d067f
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00489a74
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov eax, dword [ebp - 0x68]
sub ecx, esi
sbb eax, edi
mov dword [ebp - 0x68], eax
test ecx, ecx
jle 0x461144
cmp ecx, dword [ebp - 0x78]
jl 0x461376
mov edi, dword [ebp - 0x18]
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x461370
mov eax, dword [ebp - 0x18]
mov ecx, 1
test al, 1
cmovne esi, ecx
test al, 2
cmovne esi, ecx
test al, 4
cmovne esi, ecx
test al, 0x40
jne 0x46117f
cmp esi, ecx
jne 0x461376
push 0
push 0x510c70
lea ecx, [ebp - 0x48]
call fcn.0045e1a0
push str.siggomprotect
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0045ec20
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
je 0x4611cd
push 1
push 0x510e10
lea ecx, [ebp - 0x18]
call fcn.0045edf0
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.0045edf0
push ecx
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0045d4b0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x461215
cmp dword [ebp - 0x34], 0x10
jb 0x4611fa
push dword [ebp - 0x48]
call fcn.00472297
add esp, 4
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.0045de60
cmp dword [ebp - 0x84], 0x10
jb 0x46122c
push dword [ebp - 0x98]
call fcn.00472297
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x46134d
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00461a30
cmp al, 1
jne 0x46132d
lea eax, [ebp - 0x24]
cmp ebx, eax
je 0x4612cb
mov edi, dword [ebx]
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x24], edi
mov dword [ebx + 8], eax
mov dword [ebp - 0x1c], ecx
jmp 0x4612ce
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x30]
cmp edx, eax
je 0x4612fc
mov esi, dword [edx]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x30], esi
mov dword [edx + 8], eax
mov dword [ebp - 0x28], ecx
jmp 0x4612ff
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
push str.white
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00489691
mov ecx, dword [ebp - 0x7c]
add esp, 8
test eax, eax
sete al
mov byte [ecx], al
lea eax, [ebp - 0x48]
push eax
call fcn.004617b0
jmp 0x461333
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x461340
push esi
call fcn.00472297
add esp, 4
test edi, edi
je 0x46134d
push edi
call fcn.00472297
add esp, 4
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x461376
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x461376
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x4c], 0x10
jb 0x461387
push dword [ebp - 0x60]
call fcn.00472297
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x4613aa
push dword [ebp - 0x48]
call fcn.00472297
add esp, 4
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.00487e85
mov esp, ebp
pop ebp
ret 0xc