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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov dword [esp + 0xdc], 0
jmp 0x10001529
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 0x11d558
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xa93ede
mov dword [ecx], 0x8bd
mov ecx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov dword [esp + 0x70], eax
jmp 0x1000140d
cmp dword [esp + 0x78], 0xa
jne 0x10001701
jmp 0x10001715
mov eax, esp
lea ecx, [esp + 0xa8]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x335
mov dword [eax], 0x23
mov eax, dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xc49942
mov ecx, dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov dword [esp + 0x68], eax
jmp 0x1000163f
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x522
mov dword [eax + 4], 0x10c38f
mov dword [eax], 0x4f60bd
mov eax, dword [sym.imp.USER32.dll_DrawCaption]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], 0xb8a
mov dword [ecx + 8], 0xb8a
mov dword [ecx + 4], 0x559a1c
mov dword [ecx], 0xc714f5
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov dword [esp + 0x64], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x60], eax
mov eax, esp
mov dword [eax + 0x20], 0xbf0
mov dword [eax + 0x1c], 0xbf0
mov dword [eax + 0x18], 0xad3
mov dword [eax + 0x14], 0x5f0
mov dword [eax + 0x10], 0x5f0
mov dword [eax + 0xc], 0x5f0
mov dword [eax + 8], 0x99c
mov dword [eax + 4], 0x99c
mov dword [eax], 0x2a3556
mov eax, dword [sym.imp.GDI32.dll_Pie]
call eax
sub esp, 0x24
mov dword [esp + 0x5c], eax
mov dword [esp + 0x7c], 0xc8f
mov eax, esp
lea ecx, [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x73f
mov dword [eax], 0x16ae60
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call eax
sub esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x10001717
cmp dword [esp + 0xdc], 0xd
je 0x1000174e
mov eax, esp
mov dword [eax], 0xa1e
mov eax, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call eax
sub esp, 4
mov ecx, 0x857c51
mov dword [esp + 0xc4], ecx
mov ecx, esp
lea edx, [esp + 0xc4]
mov dword [ecx + 0x10], edx
lea edx, [esp + 0xc8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1fe
mov dword [ecx + 4], 0x1fe
mov dword [ecx], 0xf1c667
mov ecx, dword [sym.imp.USER32.dll_TileWindows]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx], 0xe11617
mov ecx, dword [sym.imp.GDI32.dll_GetTextAlign]
mov word [esp + 0x52], ax
call ecx
sub esp, 4
mov dword [esp + 0xc0], 0x25b
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xe1a0c7
mov dword [ecx], 0xe1a0c7
mov ecx, dword [sym.imp.KERNEL32.dll_IsProcessInJob]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0xbc], 0
mov dword [esp + 0x48], eax
jmp 0x100015ed
cmp dword [esp + 0xbc], 0x38b
setne al
mov byte [esp + 0x47], al
mov al, byte [esp + 0x47]
test al, 1
jne 0x10001609
jmp 0x10001656
mov eax, dword [esp + 0xbc]
and eax, 0xf
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
sub eax, 1
mov dword [esp + 0x3c], eax
je 0x100013ac
jmp 0x1000162c
mov eax, dword [esp + 0x40]
sub eax, 7
mov dword [esp + 0x38], eax
je 0x1000140d
jmp 0x1000163f
jmp 0x10001641
mov eax, dword [esp + 0xbc]
add eax, 1
mov dword [esp + 0xbc], eax
jmp 0x100015ed
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [eax], ecx
mov eax, dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
call eax
sub esp, 4
mov ecx, dword [esp + 0xdc]
mov edx, 0xcc29786d
mov dword [esp + 0x34], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0xb
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x100014aa
jmp 0x100016e1
mov eax, dword [esp + 0x30]
sub eax, 0x34
mov dword [esp + 0x28], eax
je 0x10001450
jmp 0x100016f4
mov dword [esp + 0x78], 0
jmp 0x100013fa
jmp 0x10001703
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0x78], eax
jmp 0x100013fa
jmp 0x10001717
mov eax, esp
mov dword [eax + 4], 0x301cb8
mov dword [eax], 0x4b23d5
mov eax, dword [sym.imp.USER32.dll_KillTimer]
call eax
sub esp, 8
mov dword [esp + 0x24], eax
jmp 0x10001736
mov eax, dword [esp + 0xdc]
add eax, 1
mov dword [esp + 0xdc], eax
jmp 0x10001529
mov esp, ebp
pop ebp
ret