Function at 0x100013c9
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 0x100014a8
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], 0x101ea4bc
mov eax, dword [sym.imp.OLEAUT32.dll_VarI2FromDisp]
call eax
sub esp, 0x10
mov dword [esp + 0x78], eax
jmp 0x10001681
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 + 0x74], 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 + 0x70], eax
call ecx
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x68]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 0xa
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
je 0x100015b0
jmp 0x10001584
mov eax, dword [esp + 0x60]
sub eax, 2
mov dword [esp + 0x58], eax
jne 0x100015c6
jmp 0x10001593
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 + 0x54], eax
mov eax, esp
mov dword [eax], 0x53b
mov eax, dword [sym.imp.WININET.dll_InternetAttemptConnect]
call eax
sub esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 0x383
sete cl
mov dword [esp + 0x4c], eax
mov byte [esp + 0x4b], cl
mov al, byte [esp + 0x4b]
test al, 1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
jne 0x100015f4
jmp 0x10001566
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xe323
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x74]
sub edx, 0xa
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x1000146b
jmp 0x1000162a
mov eax, dword [esp + 0x74]
sub eax, 0x23
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
je 0x1000146b
jmp 0x10001645
mov eax, dword [esp + 0x30]
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 + 0x30], ecx
jne 0x10001645
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, 0x53
mov dword [esp + 0x7c], eax
jne 0x100014a8
lea esp, [ebp - 4]
pop esi
pop ebp
ret