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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xbc]
mov edx, esp
mov dword [edx], 0x7d0b61
mov edx, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
call edx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xf0]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x94]
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
lea edx, [esp + 0xf0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov dword [esp + 0x90], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x1b9509
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleActiveScreenBuffer]
mov dword [esp + 0x8c], 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 + 0x88], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xab8406
mov ecx, dword [sym.imp.ADVAPI32.dll_IsTokenRestricted]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.ole32.dll_OleUninitialize]
mov dword [esp + 0x80], eax
call ecx
xor eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x78], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
je 0x1000156b
jmp 0x10001519
mov eax, dword [esp + 0x74]
sub eax, 1
mov dword [esp + 0x6c], eax
jne 0x10001581
jmp 0x10001528
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call eax
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 0x10], edx
lea edx, [esp + 0xd0]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xd8]
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 + 0x68], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x64], eax
mov eax, esp
mov dword [eax], 0x72e147
mov eax, dword [sym.imp.ole32.dll_OleDestroyMenuDescriptor]
call eax
sub esp, 4
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
add eax, 1
cmp eax, 0x16f
mov dword [esp + 0x7c], eax
jne 0x100014ed
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xfd2ea2
mov ecx, dword [sym.imp.USER32.dll_DeregisterShellHookWindow]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x90]
sub edx, 0xa
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
je 0x100016ab
jmp 0x100015d2
mov eax, dword [esp + 0x90]
sub eax, 0x57
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
jne 0x100016ef
jmp 0x100015f0
mov word [esp + 0xc6], 0x13
mov dword [esp + 0xc0], 0x33f
mov eax, esp
lea ecx, [esp + 0xc0]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
lea edx, [esp + 0xc6]
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 + 0x44], eax
call ecx
sub esp, 4
mov byte [esp + 0xbb], 7
mov word [esp + 0xb8], 0xc
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xbb]
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 + 0x40], eax
call ecx
sub esp, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0xb4], 0x4c2
mov eax, esp
lea ecx, [esp + 0xb4]
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 + 0x38], eax
call ecx
sub esp, 4
mov dword [esp + 0x34], eax
jmp 0x10001765
mov eax, dword [esp + 0x48]
mov ecx, esp
mov dword [ecx + 4], 0x51a
mov dword [ecx], 0xd85eda
mov ecx, dword [sym.imp.GDI32.dll_GetNearestColor]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov dword [esp + 0x2c], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xae37d
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xe50d9e
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x30]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
jne 0x100016ef
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 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 + 0x90]
add ecx, 1
cmp ecx, 0x13
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], ecx
jne 0x1000144b
mov esp, ebp
pop ebp
ret