Function at 0x42fe80
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4826d4]
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 ebx, ecx
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x7c], edi
jne 0x430312
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x42fef3
mov eax, dword [ebx + 0x18]
push ecx
mov ecx, ebx
mov dword [eax + 0x20], 1
call fcn.0042eaf0
mov dword [edi], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x20], 0
je 0x430312
mov eax, 1
jmp 0x430314
cmp eax, 0xf
jne 0x42ff66
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x42ff53
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x78], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov ecx, ebx
call fcn.0042ca10
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [edi], 0
jmp 0x42fedc
push eax
mov ecx, ebx
call fcn.0042ca10
mov dword [edi], 0
jmp 0x42fedc
cmp eax, 0x113
jne 0x42ff8c
mov eax, dword [ebx + 0x18]
mov ecx, ebx
push dword [ebp + 0x10]
mov dword [eax + 0x20], 1
call fcn.0042f380
mov dword [edi], 0
jmp 0x42fedc
cmp eax, 0x200
jne 0x430019
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
cmp byte [ebx + 0x70], 0
jne 0x42ff5b
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebx + 0x70], 1
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], 0
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
push 2
call fcn.004157d0
mov edx, 0xa0
mov ecx, 0xff
cmp byte [eax + 0xb7], 0
cmovne ecx, edx
movzx eax, cl
push eax
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 4
push dword [ebx + 4]
call esi
push 5
push dword [ebx + 4]
call esi
mov dword [edi], 0
jmp 0x42fedc
ret
invalid
invalid
invalid
cmp eax, 0x2a3
jne 0x430053
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
cmp byte [ebx + 0x70], 0
je 0x42ff5b
push 0
push dword [ebx + 0x68]
mov byte [ebx + 0x70], 0
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], 0
jmp 0x42fedc
cmp eax, 0x201
jne 0x43011e
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
movsx eax, cx
shr ecx, 0x10
cmp dword [ebx + 0xc8], 0
movsx ecx, cx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], ecx
je 0x4300b5
push ecx
push eax
lea eax, [ebx + 0xa4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4300b5
mov ecx, dword [ebx + 0xc8]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi], 0
jmp 0x42fedc
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x42ff5b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x84]
push dword [ebp - 0x7c]
lea edx, [eax - 8]
add eax, 0xffffffee
lea esi, [ecx + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edx
add ecx, 8
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42ff5b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi], 0
jmp 0x42fedc
cmp eax, 2
jne 0x4301b7
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0xd8]
lea ecx, [edi + 0x48]
mov dword [eax + 0x20], 1
mov eax, dword [edi + 0x48]
call dword [eax]
mov dword [edi + 0x44], 0
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
mov dword [ebp - 4], 2
call dword [eax + 4]
push dword [edi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
mov ecx, edi
call fcn.00410120
mov esi, dword [ebx + 0xcc]
test esi, esi
je 0x4301a9
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x43018f
mov dword [esi], 0
push 4
push dword [ebx + 0xcc]
call fcn.0044436d
add esp, 8
mov dword [ebx + 0xcc], 0
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
jmp 0x42fedc
cmp eax, 0x20
jne 0x4302b8
mov eax, dword [ebx + 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [eax + 0x20], 1
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4302a7
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4302a7
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4302a7
cmp dword [ebx + 0xc8], 0
mov esi, dword [sym.imp.USER32.dll_PtInRect]
je 0x43025b
push dword [ebp - 0x7c]
lea eax, [ebx + 0xa4]
push dword [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x43025b
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x42feda
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea eax, [edx - 0x12]
mov dword [ebp - 0x20], eax
lea eax, [ecx + 8]
mov dword [ebp - 0x1c], eax
lea eax, [edx - 8]
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x4302a7
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x42feda
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 0
xor eax, eax
jmp 0x42feda
cmp eax, 0x464
jne 0x430312
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4302e9
test byte [ebp - 0x7c], 3
je 0x4302e9
mov ecx, ebx
call fcn.0042b840
mov dword [edi], 0
mov eax, 1
jmp 0x430314
push 0
push 0x3e8
push 1
push dword [ebx + 4]
mov dword [ebx + 0xb4], 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], 0
mov eax, 1
jmp 0x430314
xor eax, eax
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.00444abb
mov esp, ebp
pop ebp
ret 0x18