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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x308
mov esi, esp
xor eax, eax
mov ecx, 0x3c
lea edx, [esi + 0x1b8]
mov edi, 8
mov dword [esi + 0xe4], eax
mov eax, edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xd8], edx
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
lea ecx, [esi + 0x200]
mov edx, 0x40
mov dword [esi + 0xd4], eax
mov eax, edx
mov dword [esi + 0xd0], ecx
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
lea ecx, [esi + 0x1d0]
lea edx, [esi + 0x120]
mov edi, 0x10
mov dword [esi + 0xcc], eax
mov eax, edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc0], edx
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
lea ecx, [esi + 0xe8]
lea edx, [esi + 0x1e8]
lea edi, [esi + 0x2c0]
mov ebx, dword [esi + 0xc8]
mov dword [esi + 0xbc], eax
mov eax, ebx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xb4], edx
mov dword [esi + 0xb0], edi
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xac], eax
mov eax, ecx
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0xac
mov dword [esi + 0xa8], eax
mov eax, ecx
call fcn.101afe50
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 4
mov dword [esi + 0xa4], eax
mov eax, ecx
call fcn.101afe50
mov eax, esp
sub esp, 0xc
mov ecx, dword [esi + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esi + 0xa0], eax
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0xc
mov eax, esp
lea ecx, [esi + 0x2c0]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0xa88
mov dword [eax], 0xa8c8f8
mov eax, dword [sym.imp.USER32.dll_GetScrollBarInfo]
call eax
mov dword [esi + 0x118], 0x6db
sub esp, 8
mov ecx, esp
lea edx, [esi + 0x118]
mov dword [ecx + 4], edx
mov dword [ecx], 0xeabe2a
mov ecx, dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov dword [esi + 0x9c], eax
call ecx
xor ecx, ecx
mov edx, dword [esi + 0xcc]
mov edi, dword [esi + 0xa4]
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], ecx
jmp 0x1000161b
sub esp, 8
mov eax, esp
mov ecx, dword [esi + 0xac]
mov dword [eax + 4], ecx
mov dword [eax], 0xe74f90
mov eax, dword [sym.imp.USER32.dll_GetWindowRgnBox]
call eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [esi + 0xbc]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov edi, dword [esi + 0xa4]
mov dword [ecx], edi
mov ecx, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov dword [esi + 0x88], eax
call ecx
mov ecx, dword [esi + 0xa0]
mov dword [ecx], 0x321
sub esp, 8
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0x8c7032
mov edx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esi + 0x84], eax
call edx
mov dword [esi + 0x80], eax
jmp 0x10001994
mov eax, dword [esi + 0x7c]
mov ecx, 0x4ec4ec4f
mov dword [esi + 0x78], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esi + 0x78]
sub ecx, eax
mov eax, ecx
sub eax, 4
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], eax
je 0x10001778
jmp 0x10001607
mov eax, dword [esi + 0x74]
sub eax, 0xb
mov dword [esi + 0x6c], eax
je 0x100017c3
jmp 0x10001812
mov eax, dword [esi + 0x8c]
xor ecx, ecx
mov edx, 0x14
sub esp, 0xc
mov edi, dword [esi + 0xb8]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], edx
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0xc
mov eax, dword [esi + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0xfc], 0xc52
sub esp, 0xc
mov eax, esp
lea ecx, [esi + 0xfc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xb4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0xb8]
mov dword [eax], edx
mov eax, dword [sym.imp.ADVAPI32.dll_MakeSelfRelativeSD]
call eax
xor ecx, ecx
mov edx, 0x14
sub esp, 0xc
mov edi, dword [esi + 0xc4]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x54], edx
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0xc
mov eax, dword [esi + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0x114], 0x406
sub esp, 0xc
mov eax, esp
lea ecx, [esi + 0x114]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xd8]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0xc4]
mov dword [eax], edx
mov eax, dword [sym.imp.ADVAPI32.dll_MakeSelfRelativeSD]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x6c1
mov dword [ecx], 0x964935
mov ecx, dword [sym.imp.GDI32.dll_SelectClipPath]
mov dword [esi + 0x50], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x7fb
mov dword [ecx], 0x7fb
mov ecx, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov dword [esi + 0x4c], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x7c], ecx
jmp 0x100015dc
mov eax, 0x3b2603
mov dword [esi + 0x11c], eax
sub esp, 8
mov eax, esp
lea ecx, [esi + 0x11c]
mov dword [eax], ecx
mov dword [eax + 4], 0x3b2603
mov eax, dword [sym.imp.ADVAPI32.dll_SetThreadToken]
call eax
mov dword [esi + 0x1cc], 0xf0f
sub esp, 4
mov ecx, esp
lea edx, [esi + 0x1cc]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov dword [esi + 0x44], eax
call ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x1b4], 0x3f4
sub esp, 8
mov eax, esp
lea ecx, [esi + 0x100]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x1b4]
mov dword [eax], ecx
mov eax, dword [sym.imp.ADVAPI32.dll_MapGenericMask]
call eax
mov dword [esi + 0x1e4], 0x6cc
sub esp, 8
mov eax, esp
lea ecx, [esi + 0x1e4]
mov dword [eax + 4], ecx
mov dword [eax], 0xadc37c
mov eax, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
call eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x78]
add eax, 1
cmp eax, 0x263
mov dword [esi + 0x7c], eax
jne 0x100015dc
xor eax, eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [esi + 0xd0]
mov dword [ecx], edx
mov dword [ecx + 8], 0xc0
mov dword [ecx + 4], 0
mov dword [esi + 0x38], eax
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0xc
mov eax, esp
mov ecx, dword [esi + 0xc0]
mov dword [eax], ecx
mov dword [eax + 8], 0x90
mov dword [eax + 4], 0
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0xc
mov eax, esp
lea ecx, [esi + 0x120]
mov dword [eax + 8], ecx
lea ecx, [esi + 0x200]
mov dword [eax + 4], ecx
mov dword [eax], 0xf81
call sub.POWRPROF.dll_SetActivePwrScheme
xor ecx, ecx
mov edx, dword [esi + 0x68]
sub edx, 0x10
mov byte [esi + 0x37], al
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], edx
je 0x10001567
jmp 0x100018ae
mov eax, dword [esi + 0x68]
sub eax, 0x32
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ecx
jne 0x1000192a
jmp 0x100018c1
mov eax, 0x42a655
mov dword [esi + 0x300], eax
sub esp, 8
mov eax, esp
lea ecx, [esi + 0x300]
mov dword [eax], ecx
mov dword [eax + 4], 0x42a655
mov eax, dword [sym.imp.ADVAPI32.dll_SetThreadToken]
call eax
mov dword [esi + 0x20], eax
sub esp, 8
mov eax, esp
mov ecx, dword [esi + 0xcc]
mov dword [eax + 4], ecx
mov dword [eax], 0x1eb2d9
mov eax, dword [sym.imp.USER32.dll_EndPaint]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x58d
mov dword [ecx], 0x416281
mov ecx, dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [esi + 0x1c], eax
call ecx
mov dword [esi + 0x18], eax
jmp 0x10001567
mov eax, dword [esi + 0x24]
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xa8]
mov dword [ecx + 4], edx
mov edi, dword [esi + 0xd4]
mov dword [ecx], edi
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esi + 0x14], eax
call ecx
mov ecx, dword [sym.imp.ole32.dll_CoImpersonateClient]
mov dword [esi + 0x10], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], 0x874
mov dword [ecx + 4], str.M__FV_kthqYc
mov dword [ecx], 0xa2e38a
mov ecx, dword [sym.imp.ADVAPI32.dll_RegRestoreKeyA]
mov dword [esi + 0xc], eax
call ecx
mov ecx, dword [esi + 0x14]
add ecx, 1
cmp ecx, 0xa
mov dword [esi + 8], eax
mov dword [esi + 0x24], ecx
jne 0x1000192a
sub esp, 4
mov eax, esp
mov dword [eax], 0xd04
mov eax, dword [sym.imp.GDI32.dll_GdiSetBatchLimit]
call eax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x68]
add eax, 1
cmp eax, 0x10
mov dword [esi + 0x8c], eax
jne 0x1000161b
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret