Function at 0x100013df
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, 0xb0
mov eax, esp
mov dword [eax + 4], 0x6a2
mov dword [eax], 0x574eca
mov eax, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
call eax
sub esp, 8
lea ecx, [esp + 0x90]
lea edx, [esp + 0x88]
mov esi, esp
mov dword [esi], 0x4cb53b
mov esi, dword [sym.imp.KERNEL32.dll_SetCommBreak]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
call esi
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 + 0x78], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
jmp 0x1000150c
mov word [esp + 0x9e], 0x30
mov eax, esp
lea ecx, [esp + 0x9e]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xcd3
mov dword [eax + 4], 0xa2c
mov dword [eax], str.KzWcVlEt2s_ku6Py_B
mov eax, dword [sym.imp.OLEAUT32.dll_VarI2FromDisp]
call eax
sub esp, 0x10
mov dword [esp + 0x6c], eax
jmp 0x1000167d
mov eax, esp
mov dword [eax], 0xe323
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessId]
call eax
sub esp, 4
mov dword [esp + 0x68], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x64]
sub edx, 0xa
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
je 0x1000147a
jmp 0x100014e8
mov eax, dword [esp + 0x64]
sub eax, 0x23
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
je 0x1000147a
jmp 0x10001641
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x70]
mov ecx, esp
mov dword [ecx + 4], 0x3c22be
mov dword [ecx], 0x162b3b
mov ecx, dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov dword [esp + 0x98], 0x3b90c3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov ecx, esp
lea edx, [esp + 0x98]
mov dword [ecx + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x1c], edx
lea esi, [esp + 0xa0]
mov dword [ecx + 0x14], esi
mov esi, dword [esp + 0x80]
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 + 0x4c], eax
call ecx
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x44]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 0xa
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x10001611
jmp 0x100015e5
mov eax, dword [esp + 0x3c]
sub eax, 2
mov dword [esp + 0x34], eax
jne 0x10001627
jmp 0x100015f4
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 + 0x30], eax
mov eax, esp
mov dword [eax], 0x53b
mov eax, dword [sym.imp.WININET.dll_InternetAttemptConnect]
call eax
sub esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x383
mov dword [esp + 0x44], eax
je 0x100014b7
jmp 0x100015c7
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx + 4], 0x972
mov dword [ecx], 0x7354ab
mov ecx, dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov dword [esp + 0x28], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x28]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
jne 0x10001641
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 0x53
mov dword [esp + 0x70], eax
je 0x10001506
jmp 0x1000150c