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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
lea eax, [esp + 0xa0]
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x8c], eax
jmp 0x1000138e
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
mov dword [esp + 0x88], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x84]
sub edx, 6
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
je 0x100014ed
jmp 0x1000129d
mov eax, dword [esp + 0x84]
sub eax, 0x4f
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
jne 0x10001313
jmp 0x100012b7
mov eax, esp
lea ecx, [esp + 0xf8]
mov dword [eax + 4], ecx
mov dword [eax], 0xbc2a71
mov eax, dword [sym.imp.USER32.dll_GetIconInfo]
call eax
sub esp, 8
mov dword [esp + 0x6c], eax
mov eax, esp
mov dword [eax], 0x4f4d0a
mov eax, dword [sym.imp.GDI32.dll_GetStretchBltMode]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x6775e9
mov ecx, dword [sym.imp.USER32.dll_GetIconInfo]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov dword [esp + 0x64], eax
jmp 0x100014ed
mov eax, dword [esp + 0x70]
mov ecx, dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [esp + 0x60], eax
call ecx
mov ecx, dword [esp + 0x60]
add ecx, 1
mov edx, esp
mov dword [edx], 1
mov edx, dword [sym.imp.USER32.dll_OemKeyScan]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0xc], 0x463529
mov dword [ecx + 8], 0x35d
mov dword [ecx + 4], 0xbb8
mov dword [ecx], 0x81801b
mov ecx, dword [sym.imp.USER32.dll_DrawIcon]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x10
mov ecx, dword [esp + 0x58]
cmp ecx, 0xa
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], ecx
je 0x10001413
jmp 0x10001313
mov eax, dword [esp + 0x8c]
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaA]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xfd82f3
mov ecx, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x12809b
mov ecx, dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xf30c97
mov ecx, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x10001474
mov dword [esp + 0x94], 0x760
mov eax, esp
lea ecx, [esp + 0x94]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x98]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x760
mov dword [eax], 0xfa2860
mov eax, dword [sym.imp.GDI32.dll_PolyPolyline]
call eax
sub esp, 0x10
mov ecx, dword [esp + 0x84]
add ecx, 1
cmp ecx, 0xec
mov dword [esp + 0x38], eax
mov dword [esp + 0x8c], ecx
je 0x10001575
jmp 0x1000138e
mov eax, dword [esp + 0x3c]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x34], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, ecx
sub eax, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x100014b6
jmp 0x100014a0
mov eax, dword [esp + 0x30]
sub eax, 2
mov dword [esp + 0x28], eax
jne 0x100014d3
jmp 0x100014af
mov eax, dword [sym.imp.KERNEL32.dll_DebugBreak]
call eax
mov eax, esp
mov dword [eax + 4], 0x1b4
mov dword [eax], 0xb81
mov eax, dword [sym.imp.KERNEL32.dll_SleepEx]
call eax
sub esp, 8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x3c], eax
je 0x1000126a
jmp 0x10001474
xor eax, eax
mov ecx, 0x3c
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.1014baf0
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x493
mov dword [eax], 0x36c499
mov eax, dword [sym.imp.USER32.dll_GetScrollBarInfo]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xf0ec9b
mov ecx, dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x9192f3
mov ecx, dword [sym.imp.KERNEL32.dll_PulseEvent]
mov dword [esp + 0x14], eax
call ecx
sub esp, 4
mov dword [esp + 0x10], eax
jmp 0x10001413
mov esp, ebp
pop ebp
ret