Function at 0x100013e4
Capabilities:
Check internet connectivity via wininet
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xc0
lea eax, [esp + 0x98]
lea ecx, [esp + 0xb0]
mov edx, esp
mov dword [edx + 4], 0x6a2
mov dword [edx], 0x574eca
mov edx, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], eax
call edx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x4cb53b
mov ecx, dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov dword [esp + 0x88], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0xc00
mov dword [ecx + 0xc], 0xe3c
mov dword [ecx + 8], 0xe3c
mov dword [ecx + 4], 0xe3c
mov dword [ecx], 0xaa6298
mov ecx, dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
jmp 0x10001516
mov eax, esp
mov dword [eax + 4], 0xe2d
mov dword [eax], 0x335bee
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp + 0x78], eax
jmp 0x100014fb
mov eax, esp
mov dword [eax], 0xe323
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessId]
call eax
sub esp, 4
mov dword [esp + 0x74], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x70]
sub edx, 0xa
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
je 0x10001638
jmp 0x100014dd
mov eax, dword [esp + 0x70]
sub eax, 0x23
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
je 0x10001638
jmp 0x10001672
mov eax, esp
mov dword [eax], 0x53b
mov eax, dword [sym.imp.WININET.dll_InternetAttemptConnect]
call eax
sub esp, 4
mov dword [esp + 0x58], eax
jmp 0x10001609
mov eax, dword [esp + 0x7c]
mov ecx, esp
mov dword [ecx + 4], 0x3c22be
mov dword [ecx], 0x162b3b
mov ecx, dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov dword [esp + 0x70], eax
call ecx
sub esp, 8
mov dword [esp + 0xb8], 0x3b90c3
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0x1c], edx
lea esi, [esp + 0xa0]
mov dword [ecx + 0x14], esi
mov esi, dword [esp + 0x90]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x18], 0xe0f
mov dword [ecx + 0x10], 0xe0f
mov dword [ecx + 8], 0xe0f
mov dword [ecx + 4], 0xe0f
mov dword [ecx], 0x3b90c3
mov ecx, dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
je 0x10001489
jmp 0x100015f6
mov eax, dword [esp + 0x44]
sub eax, 0xa
mov dword [esp + 0x3c], eax
je 0x100014fb
jmp 0x10001609
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x383
sete cl
mov dword [esp + 0x38], eax
mov byte [esp + 0x37], cl
mov al, byte [esp + 0x37]
test al, 1
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
jne 0x100014a8
jmp 0x100015d4
mov word [esp + 0x96], 0x30
mov eax, esp
lea ecx, [esp + 0x96]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xcd3
mov dword [eax + 4], 0xa2c
mov dword [eax], 0x101604bc
mov eax, dword [sym.imp.OLEAUT32.dll_VarI2FromDisp]
call eax
sub esp, 0x10
mov dword [esp + 0x30], eax
jmp 0x100016ae
mov eax, dword [esp + 0x5c]
mov ecx, esp
mov dword [ecx + 4], 0x972
mov dword [ecx], 0x7354ab
mov ecx, dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], ecx
jne 0x10001672
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 0x53
mov dword [esp + 0x7c], eax
jne 0x10001516
lea esp, [ebp - 4]
pop esi
pop ebp
ret