Function at 0x100013ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
and esp, 0xfffffff8
sub esp, 0x1d8
lea eax, [esp + 0x120]
mov ecx, esp
lea edx, [esp + 0x120]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xa0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x608
mov dword [ecx + 4], 0x608
mov dword [ecx], 0x9d25cd
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x98], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x110]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x783
mov dword [ecx], 0xf7aa77
mov ecx, dword [sym.imp.USER32.dll_GetUpdateRect]
mov dword [esp + 0x94], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x4920a4
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x90], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xb95
mov ecx, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xc109a2
mov ecx, dword [sym.imp.USER32.dll_RegisterShellHookWindow]
mov dword [esp + 0x88], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edi, [esp + 0xb0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ecx
jmp 0x100014c6
mov eax, esp
mov dword [eax + 4], 0x695
mov dword [eax], 0xaa3
mov eax, dword [sym.imp.ole32.dll_CoCancelCall]
call eax
sub esp, 8
mov dword [esp + 0x78], eax
jmp 0x10001753
mov eax, dword [esp + 0x7c]
mov ecx, esp
lea edx, [esp + 0x108]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0x74], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xab7
mov ecx, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
mov byte [esp + 0x107], 6
mov ecx, esp
lea edx, [esp + 0x107]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_SetKeyboardState]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xa8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x76c
mov dword [ecx + 4], 0x76c
mov dword [ecx], 0x84f16
mov ecx, dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
jmp 0x1000155e
lea esp, [ebp - 4]
pop edi
pop ebp
ret
mov eax, dword [esp + 0x60]
mov ecx, 0xcccccccd
mov dword [esp + 0x5c], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, ecx
sub eax, 0xb
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
je 0x100015c6
jmp 0x1000158a
mov eax, dword [esp + 0x58]
sub eax, 2
mov dword [esp + 0x50], eax
jne 0x100015ea
jmp 0x10001599
mov eax, esp
mov dword [eax], 0xf5bf67
mov eax, dword [sym.imp.GDI32.dll_GetObjectType]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x4c34ab
mov ecx, dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov dword [esp + 0x48], eax
mov eax, esp
mov dword [eax + 8], 0x945
mov dword [eax + 4], 0x5800a0
mov dword [eax], 0x59913f
mov eax, dword [sym.imp.ADVAPI32.dll_CryptHashSessionKey]
call eax
sub esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0x364
mov dword [esp + 0x60], eax
jne 0x1000155e
xor eax, eax
xor ecx, ecx
mov edx, 0x13
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, edx
mov edi, dword [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax], ecx
call sub.POWRPROF.dll_GetPwrCapabilities
sub esp, 4
mov ecx, dword [esp + 0x74]
sub ecx, 5
mov byte [esp + 0x3b], al
mov dword [esp + 0x34], ecx
je 0x100014a4
jmp 0x1000164a
mov eax, dword [esp + 0x74]
sub eax, 0x5b
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jne 0x100016d5
jmp 0x10001661
mov dword [esp + 0x100], 0x944
mov dword [esp + 0x1d0], 0xbd
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [eax + 0xc], ecx
lea edx, [esp + 0x1d0]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [eax], 0x5f67b1
mov eax, dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], 0xe8b
mov dword [ecx + 8], 0x3a8
mov dword [ecx + 4], 0x9f9
mov dword [ecx], 0xb05551
mov ecx, dword [sym.imp.KERNEL32.dll_WriteTapemark]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x100014a4
mov eax, dword [esp + 0x2c]
add eax, 1
mov ecx, esp
mov dword [ecx + 0xc], 0x44e
mov dword [ecx + 8], 0x44e
mov dword [ecx + 4], 0xca7306
mov dword [ecx], 0x4c8707
mov ecx, dword [sym.imp.USER32.dll_CreateCaret]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0x95
mov dword [ecx], 0xfebb05
mov ecx, dword [sym.imp.GDI32.dll_SetMapperFlags]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x65630d
mov ecx, dword [sym.imp.USER32.dll_SwitchDesktop]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
jne 0x100016d5
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, 0x128
mov dword [esp + 0x7c], eax
je 0x10001558
jmp 0x100014c6