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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x170
xor eax, eax
mov dword [esp + 0x128], eax
jmp 0x100017f6
mov eax, esp
lea ecx, [esp + 0x148]
mov dword [eax], ecx
mov dword [eax + 8], 0x2b5
mov dword [eax + 4], 0x2b5
mov eax, dword [sym.imp.USER32.dll_InflateRect]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x124]
sub ecx, 0xc
mov dword [esp + 0x120], eax
mov dword [esp + 0x11c], ecx
je 0x10001edb
jmp 0x100017da
mov eax, dword [esp + 0x124]
sub eax, 0x25
mov dword [esp + 0x118], eax
je 0x10001e4b
jmp 0x1000197e
mov eax, dword [esp + 0x128]
mov ecx, esp
mov dword [ecx], 0x533
mov ecx, dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x124], eax
call ecx
sub esp, 4
mov dword [esp + 0x16c], 0x584
mov ecx, esp
lea edx, [esp + 0x16c]
mov dword [ecx], edx
mov dword [ecx + 4], 0x47a
mov ecx, dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
mov dword [esp + 0x114], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [esp + 0x110], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x28faa1
mov ecx, dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esp + 0x10c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], ecx
jmp 0x1000189f
mov eax, dword [esp + 0x100]
add eax, 1
cmp eax, 0x1d8
mov dword [esp + 0x104], eax
je 0x10001797
mov eax, dword [esp + 0x104]
mov ecx, 0xaf286bcb
mov dword [esp + 0x100], eax
mul ecx
mov eax, dword [esp + 0x100]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x13
mov ecx, dword [esp + 0x100]
sub ecx, eax
mov eax, ecx
sub eax, 9
mov dword [esp + 0xfc], ecx
mov dword [esp + 0xf8], eax
je 0x10001931
jmp 0x100018e7
mov eax, dword [esp + 0xfc]
sub eax, 4
mov dword [esp + 0xf4], eax
jne 0x10001881
jmp 0x100018fc
mov eax, esp
lea ecx, [esp + 0x158]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetClipCursor]
call eax
sub esp, 4
mov dword [esp + 0xf0], eax
mov eax, esp
mov dword [eax], 0xfe6efa
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
call eax
sub esp, 4
mov dword [esp + 0xec], eax
mov eax, esp
mov dword [eax + 8], 0xc0f
mov dword [eax + 4], 0xe87
mov dword [eax], 0x3cc9ff
mov eax, dword [sym.imp.GDI32.dll_GetPixel]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0xa07
mov dword [ecx], 0xeb22a3
mov ecx, dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov dword [esp + 0xe8], eax
call ecx
sub esp, 8
mov dword [esp + 0xe4], eax
jmp 0x10001881
mov eax, esp
lea ecx, [esp + 0x140]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x84a
mov dword [eax + 4], 0x84a
mov dword [eax], 0x7698da
mov eax, dword [sym.imp.GDI32.dll_SetViewportExtEx]
call eax
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0xe0], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0xdc], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0xd8], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0xd4], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0xd0], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0xcc], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0xc8], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0xc4], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0xc0], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0xb0], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0xac], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0xa8], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0xa0], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x98], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x94], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x90], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x88], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x80], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x70], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x60], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x58], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x84a
mov dword [ecx + 4], 0x84a
mov dword [ecx], 0x7698da
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x50], eax
call ecx
mov ecx, esp
mov dword [ecx], 0x848
mov ecx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], 0x58cb29
mov ecx, dword [sym.imp.GDI32.dll_GetClipBox]
mov dword [esp + 0x48], eax
call ecx
sub esp, 8
mov dword [esp + 0x44], eax
jmp 0x10001f30
mov eax, esp
mov dword [eax + 8], 0x70c
mov dword [eax + 4], 0x9f9176
mov dword [eax], 0xa114e5
mov eax, dword [sym.imp.GDI32.dll_SelectPalette]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0x20], 0xb92
mov dword [ecx + 0x1c], 0xdf4a93
mov dword [ecx + 0x18], 0x66b
mov dword [ecx + 0x14], 0x963
mov dword [ecx + 0x10], 0x963
mov dword [ecx + 0xc], 0x72ffa5
mov dword [ecx + 8], 0x963
mov dword [ecx + 4], 0x963
mov dword [ecx], 0xa2a0
mov ecx, dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [esp + 0x40], eax
call ecx
sub esp, 0x24
mov dword [esp + 0x3c], eax
mov eax, esp
mov dword [eax + 4], 0x695
mov dword [eax], 0x2522e2
mov eax, dword [sym.imp.GDI32.dll_GetNearestColor]
call eax
sub esp, 8
mov dword [esp + 0x38], eax
mov eax, esp
mov dword [eax + 0xc], str.UeoS
mov dword [eax + 8], 0x912
mov dword [eax + 4], 0x912
mov dword [eax], str.B3F_
mov eax, dword [sym.imp.SHLWAPI.dll_StrCatChainW]
call eax
sub esp, 0x10
mov ecx, dword [sym.imp.ole32.dll_CoReleaseServerProcess]
mov dword [esp + 0x34], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0xed2
mov dword [ecx], 0xd38
mov ecx, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov dword [esp + 0x2c], eax
mov byte [esp + 0x12f], 5
mov eax, dword [esp + 0x124]
add eax, 1
mov word [esp + 0x12c], 0x13
mov ecx, esp
lea edx, [esp + 0x12c]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x12f]
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], 0x8c4
mov dword [ecx + 4], 0x8c4
mov dword [ecx], 0x8c4
mov ecx, dword [sym.imp.USER32.dll_ToAscii]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0x14
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6d
mov dword [esp + 0x24], eax
mov dword [esp + 0x128], ecx
jne 0x100017f6
mov esp, ebp
pop ebp
ret