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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov eax, esp
mov dword [eax], 0xa781f4
mov eax, dword [sym.imp.USER32.dll_RegisterShellHookWindow]
call eax
sub esp, 4
lea ecx, [esp + 0x120]
mov edx, esp
mov dword [edx], 0x51641b
mov edx, dword [sym.imp.GDI32.dll_GetFontLanguageInfo]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xb74db3
mov ecx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x8be488
mov ecx, dword [sym.imp.KERNEL32.dll_HeapLock]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x108]
mov dword [ecx + 4], edx
mov dword [ecx], 0x4147c7
mov ecx, dword [sym.imp.GDI32.dll_GetBrushOrgEx]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 8
mov dword [esp + 0xec], 0x6a6
mov ecx, esp
lea edx, [esp + 0xec]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x475fdb
mov ecx, dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xd0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], ecx
jmp 0x10001819
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], edx
mov dword [edi + 0xc], 0x2d8
mov dword [edi], 0x43da46
mov edx, dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
mov dword [esp + 0x9c], eax
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x9c]
add ecx, 1
mov dword [esp + 0x104], 0x93c
mov edx, esp
lea esi, [esp + 0x104]
mov dword [edx + 4], esi
mov dword [edx], 0x3edaed
mov edx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
call edx
sub esp, 8
mov byte [esp + 0x103], 0
mov ecx, esp
lea edx, [esp + 0x103]
mov dword [ecx + 8], edx
mov dword [ecx + 0x18], 0x973607
mov dword [ecx + 0x14], 0xc65
mov dword [ecx + 0x10], 0x44
mov dword [ecx + 0xc], str.63ZaU
mov dword [ecx + 4], 0x8f7
mov dword [ecx], 0x2a
mov ecx, dword [sym.imp.USER32.dll_ToUnicodeEx]
mov dword [esp + 0x90], eax
call ecx
sub esp, 0x1c
mov ecx, dword [esp + 0x94]
cmp ecx, 0xa
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa0], ecx
je 0x10001a4c
jmp 0x100016b7
mov eax, dword [esp + 0x88]
add eax, 1
cmp eax, 0x1ea
mov dword [esp + 0x84], eax
je 0x100018fc
mov eax, dword [esp + 0x84]
mov ecx, 0xcccccccd
mov dword [esp + 0x88], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x88]
sub ecx, eax
mov eax, ecx
sub eax, 1
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], eax
je 0x100018cb
jmp 0x10001803
mov eax, dword [esp + 0x80]
sub eax, 7
mov dword [esp + 0x78], eax
je 0x100018e1
jmp 0x100017a9
mov eax, dword [esp + 0xa4]
mov ecx, esp
mov dword [ecx + 4], 0x6e6675
mov dword [ecx], 0x6a171a
mov ecx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x110]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x752
mov dword [ecx + 4], 0x9b84a4
mov dword [ecx], 0xc89483
mov ecx, dword [sym.imp.USER32.dll_GetMenuItemRect]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x12b555
mov ecx, dword [sym.imp.ADVAPI32.dll_ImpersonateAnonymousToken]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xd6e
mov ecx, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x68], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xce5
mov dword [ecx], 0x7bdf4e
mov ecx, dword [sym.imp.GDI32.dll_SetMapMode]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x84], ecx
jmp 0x100017c7
mov eax, esp
mov dword [eax], 0x75eff7
mov eax, dword [sym.imp.USER32.dll_GetWindowDC]
call eax
sub esp, 4
mov dword [esp + 0x5c], eax
mov eax, esp
mov dword [eax], 0xcdeb3e
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call eax
sub esp, 4
mov dword [esp + 0x58], eax
jmp 0x100017a9
xor eax, eax
mov ecx, esp
lea edx, [esp + 0xf0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xb5
mov dword [ecx + 4], 0x5a0
mov dword [ecx], 0x3a8fc0
mov ecx, dword [sym.imp.GDI32.dll_SetDIBColorTable]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [esp + 0x74]
sub edx, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
je 0x10001a08
jmp 0x1000194a
mov eax, dword [esp + 0x74]
sub eax, 0x40
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0xa0], ecx
jne 0x100016b7
jmp 0x10001968
mov eax, esp
lea ecx, [esp + 0xf8]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xfec
mov dword [eax], 0xe75114
mov eax, dword [sym.imp.GDI32.dll_DPtoLP]
call eax
sub esp, 0xc
mov dword [esp + 0xcc], 0x711
mov ecx, esp
lea edx, [esp + 0x128]
mov dword [ecx + 4], edx
lea edx, [esp + 0xcc]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
xor eax, eax
mov ecx, 0x18
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call fcn.1005cec0
mov eax, esp
lea ecx, [esp + 0xd0]
mov dword [eax + 4], ecx
mov dword [eax], 0x6289a1
mov eax, dword [sym.imp.GDI32.dll_SetColorAdjustment]
call eax
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharAlphaA]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xfb8
mov ecx, dword [sym.imp.SHLWAPI.dll_SHIsLowMemoryMachine]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xbdae3b
mov ecx, dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
add eax, 1
mov dword [esp + 0x13c], 0x807
mov ecx, esp
lea edx, [esp + 0x13c]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x18], str._d6PTm
mov dword [ecx + 0x14], 0xc7b
mov dword [ecx + 0x10], str._d6PTm
mov dword [ecx + 0xc], 0xc7b
mov dword [ecx + 8], str.34fb5_
mov dword [ecx + 4], 0xa9c
mov dword [ecx], 0xe9d
mov ecx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0x20
mov ecx, dword [esp + 0x24]
cmp ecx, 0xb5
mov dword [esp + 0x20], eax
mov dword [esp + 0xa4], ecx
jne 0x10001819
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret