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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, esp
mov dword [eax], 0x7d0b61
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xb8]
lea esi, [esp + 0x198]
lea edi, [esp + 0x168]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ecx
jmp 0x1000154a
mov eax, dword [esp + 0x94]
mov ecx, esp
mov dword [ecx + 4], 0x51a
mov dword [ecx], 0xd85eda
mov ecx, dword [sym.imp.GDI32.dll_GetNearestColor]
mov dword [esp + 0x90], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x90]
add ecx, 1
mov edx, dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
call edx
mov ecx, esp
mov dword [ecx], 0xae37d
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe50d9e
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
mov dword [esp + 0x80], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x88]
cmp ecx, 0xa
mov dword [esp + 0x7c], eax
mov dword [esp + 0x94], ecx
je 0x1000178b
jmp 0x10001451
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xfd2ea2
mov ecx, dword [sym.imp.USER32.dll_DeregisterShellHookWindow]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x74]
sub edx, 0xa
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
je 0x10001749
jmp 0x10001529
mov eax, dword [esp + 0x74]
sub eax, 0x57
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], ecx
je 0x1000168e
jmp 0x10001451
mov eax, dword [esp + 0x98]
mov ecx, esp
lea edx, [esp + 0x178]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
lea edx, [esp + 0xb8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x1b9509
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleActiveScreenBuffer]
mov dword [esp + 0x60], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0xf04
mov dword [ecx + 4], 0xe45
mov dword [ecx], 0xad9f8
mov ecx, dword [sym.imp.USER32.dll_GetMenuState]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xab8406
mov ecx, dword [sym.imp.ADVAPI32.dll_IsTokenRestricted]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.ole32.dll_OleUninitialize]
mov dword [esp + 0x54], eax
call ecx
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x4c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
je 0x1000165b
jmp 0x10001609
mov eax, dword [esp + 0x48]
sub eax, 1
mov dword [esp + 0x40], eax
jne 0x10001671
jmp 0x10001618
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call eax
mov ecx, esp
lea edx, [esp + 0x188]
mov dword [ecx + 0x10], edx
lea edx, [esp + 0x170]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xb0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov dword [ecx], 0xf05a83
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x38], eax
mov eax, esp
mov dword [eax], 0x72e147
mov eax, dword [sym.imp.ole32.dll_OleDestroyMenuDescriptor]
call eax
sub esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 0x16f
mov dword [esp + 0x50], eax
je 0x100014f3
jmp 0x100015dd
mov word [esp + 0x16c], 0x13
mov dword [esp + 0x1a4], 0x33f
mov eax, esp
lea ecx, [esp + 0x1a4]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x16c]
mov dword [eax + 4], edx
mov dword [eax + 8], 0x73f
mov dword [eax], 0xe42609
mov eax, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
call eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx], 0x263
mov ecx, dword [sym.imp.KERNEL32.dll_InitAtomTable]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov byte [esp + 0x16f], 7
mov word [esp + 0xae], 0xc
mov ecx, esp
lea edx, [esp + 0xae]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x16f]
mov dword [ecx + 8], edx
mov dword [ecx + 0x14], 0xdac55e
mov dword [ecx + 0x10], 0xa8e
mov dword [ecx + 4], 0xa8e
mov dword [ecx], 0xb68
mov ecx, dword [sym.imp.USER32.dll_ToAsciiEx]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x194], 0x4c2
mov eax, esp
lea ecx, [esp + 0x194]
mov dword [eax], ecx
mov dword [eax + 4], 0x4c2
mov eax, dword [sym.imp.WININET.dll_InternetGetConnectedState]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x4eae07
mov ecx, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 0
mov eax, esp
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov dword [eax], str._U8_ZwDc
mov eax, dword [sym.imp.ADVAPI32.dll_RemoveUsersFromEncryptedFile]
call eax
sub esp, 8
mov ecx, dword [esp + 0x74]
add ecx, 1
cmp ecx, 0x13
mov dword [esp + 0x1c], eax
mov dword [esp + 0x98], ecx
jne 0x1000154a
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret