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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x108
xor eax, eax
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xe0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
jmp 0x100014fe
mov eax, dword [esp + 0x80]
add eax, 1
cmp eax, 0x4b
mov dword [esp + 0x7c], eax
jne 0x100015ef
xor eax, eax
mov ecx, esp
lea edx, [esp + 0xa0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x459117
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommProperties]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, dword [esp + 0x74]
sub edx, 0x11
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
je 0x10001691
jmp 0x10001492
mov eax, dword [esp + 0x74]
sub eax, 0x32
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
je 0x10001653
jmp 0x100014c3
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [sym.imp.USER32.dll_GetShellWindow]
call eax
mov dword [esp + 0x5c], eax
jmp 0x10001437
mov eax, dword [esp + 0x60]
mov ecx, esp
mov dword [ecx], 0x163031
mov ecx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x58]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ecx
je 0x100016d1
jmp 0x100014c3
mov eax, dword [esp + 0x84]
mov ecx, esp
mov dword [ecx + 4], 0xe2c
mov dword [ecx], 0xfe8244
mov ecx, dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0xc], 0x846
mov dword [ecx + 8], 0xa79
mov dword [ecx + 4], 0x90ff47
mov dword [ecx], 0xd197ce
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx], edx
mov dword [ecx + 0x10], 0x693
mov dword [ecx + 0xc], 0x58e
mov dword [ecx + 8], 0xa33
mov dword [ecx + 4], 0x693
mov ecx, dword [sym.imp.USER32.dll_SetRect]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x88]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
call fcn.101886b0
mov eax, esp
lea ecx, [esp + 0xe0]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call eax
sub esp, 4
mov eax, esp
mov dword [eax + 4], 0xdb3
mov dword [eax], 0x5026bd
mov eax, dword [sym.imp.USER32.dll_WaitForInputIdle]
call eax
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x7c]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x80], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x80]
sub ecx, eax
mov eax, ecx
sub eax, 9
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
je 0x100014b3
jmp 0x10001625
mov eax, dword [esp + 0x38]
sub eax, 6
mov dword [esp + 0x30], eax
jne 0x10001437
jmp 0x10001638
mov eax, esp
mov dword [eax], 0x57cfed
mov eax, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
call eax
sub esp, 4
mov dword [esp + 0x2c], eax
jmp 0x100014b3
mov eax, esp
lea ecx, [esp + 0xf8]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xed44a7
mov ecx, dword [sym.imp.GDI32.dll_StartPage]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [eax], 0x35f4cb
mov eax, dword [sym.imp.SHLWAPI.dll_SHCreateShellPalette]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x358eac
mov ecx, dword [sym.imp.KERNEL32.dll_TransmitCommChar]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetClipboardViewer]
mov dword [esp + 0x1c], eax
call ecx
mov dword [esp + 0x18], eax
mov eax, esp
mov dword [eax], 0x82520
mov eax, dword [sym.imp.KERNEL32.dll_ClearCommBreak]
call eax
sub esp, 4
mov ecx, dword [esp + 0x74]
add ecx, 1
cmp ecx, 0x84
mov dword [esp + 0x14], eax
mov dword [esp + 0x84], ecx
je 0x100014ad
jmp 0x100014fe