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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x190
xor eax, eax
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
lea esi, [esp + 0x170]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], eax
jmp 0x100012be
xor eax, eax
mov ecx, 0xc0
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
call fcn.1001da10
mov eax, esp
lea ecx, [esp + 0xa8]
mov dword [eax], ecx
call sub.POWRPROF.dll_ReadGlobalPwrPolicy
sub esp, 4
mov byte [esp + 0x63], al
xor eax, eax
mov ecx, 0x16
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x16
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call fcn.1001da10
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [eax + 4], ecx
mov dword [eax], 0xed0aeb
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x80]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
mov dword [esp + 0x50], eax
jmp 0x10001272
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 0x30b
mov dword [esp + 0x48], eax
jne 0x10001359
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov ecx, dword [esp + 0x44]
sub ecx, 0xb
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
je 0x100013b3
jmp 0x100012a8
mov eax, dword [esp + 0x44]
sub eax, 0x5e
mov dword [esp + 0x38], eax
je 0x10001391
jmp 0x100013c9
mov eax, dword [esp + 0x6c]
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
call fcn.1001da10
mov eax, esp
lea ecx, [esp + 0x170]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x8db
mov dword [eax + 4], 0x48b
mov dword [eax], 0x98e236
mov eax, dword [sym.imp.USER32.dll_SetScrollInfo]
call eax
sub esp, 0x10
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [esp + 0x2c], eax
call ecx
mov ecx, esp
lea edx, [esp + 0x168]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x568
mov dword [ecx], 0xc67ee1
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x48]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 3
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
je 0x100011c9
jmp 0x1000137b
mov eax, dword [esp + 0x20]
sub eax, 0xb
mov dword [esp + 0x18], eax
je 0x1000120b
jmp 0x10001272
mov byte [esp + 0x7f], 5
mov eax, esp
lea ecx, [esp + 0x7f]
mov dword [eax], ecx
mov dword [eax + 4], 0xf09
mov eax, dword [sym.imp.USER32.dll_LookupIconIdFromDirectory]
call eax
sub esp, 8
mov dword [esp + 0x14], eax
mov eax, esp
mov dword [eax], 0x84ae9b
mov eax, dword [sym.imp.GDI32.dll_StartPage]
call eax
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0xea
mov dword [esp + 0x6c], eax
jne 0x100012be
lea esp, [ebp - 4]
pop esi
pop ebp
ret