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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov eax, esp
mov dword [eax + 8], 0x1c0
mov dword [eax + 4], 0x1c0
mov dword [eax], 0xcf6787
mov eax, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xb77593
mov ecx, dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esp + 0xac], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov dword [esp + 0xa8], eax
call ecx
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xb60197
mov dword [ecx + 4], 0xb28
mov dword [ecx], 0x684dbd
mov ecx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], 0x508
mov dword [ecx + 8], 0xcfd
mov dword [ecx + 4], 0xcfd
mov dword [ecx], 0x10e195
mov ecx, dword [sym.imp.KERNEL32.dll_WriteTapemark]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x6c0f14
mov ecx, dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x98], eax
call ecx
mov dword [esp + 0xdc], 0x32c
mov ecx, esp
lea edx, [esp + 0xdc]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov dword [esp + 0x94], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xe0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
jmp 0x100018a0
mov eax, esp
mov dword [eax + 4], 0x4af
mov dword [eax], 0x8d3c2e
mov eax, dword [sym.imp.USER32.dll_FlashWindow]
call eax
sub esp, 8
mov dword [esp + 0x84], eax
jmp 0x10001836
mov eax, esp
mov dword [eax + 4], 0x5ebabd
mov dword [eax], 0x5ebabd
mov eax, dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
call eax
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [esp + 0x80], eax
call ecx
mov dword [esp + 0x7c], eax
jmp 0x100019a9
mov eax, dword [esp + 0x78]
add eax, 1
cmp eax, 0x2b9
sete cl
mov dword [esp + 0x74], eax
mov byte [esp + 0x73], cl
mov al, byte [esp + 0x73]
test al, 1
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], ecx
jne 0x10001973
jmp 0x10001865
mov eax, dword [esp + 0x6c]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
je 0x1000194a
jmp 0x10001887
mov eax, dword [esp + 0x68]
sub eax, 7
mov dword [esp + 0x60], eax
je 0x100017e3
jmp 0x10001836
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x88]
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x695
mov dword [ecx], 0xdd50ef
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x499
mov dword [ecx], 0xcf2e1b
mov ecx, dword [sym.imp.USER32.dll_WaitForInputIdle]
mov dword [esp + 0x58], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x3c
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
call fcn.10183b60
mov eax, esp
lea ecx, [esp + 0xe0]
mov dword [eax + 4], ecx
mov dword [eax], 0x682bbb
mov eax, dword [sym.imp.USER32.dll_GetWindowInfo]
call eax
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], ecx
jmp 0x10001865
mov eax, esp
mov dword [eax + 8], 0x772
mov dword [eax + 4], 0x14b
mov dword [eax], 0x98b55f
mov eax, dword [sym.imp.KERNEL32.dll_PrepareTape]
call eax
sub esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x100017e3
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x5c]
sub edx, 0x41
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x10001805
jmp 0x10001992
mov eax, dword [esp + 0x5c]
sub eax, 3
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jne 0x10001a0e
jmp 0x100019a9
mov eax, esp
mov dword [eax], 0x80f
mov eax, dword [sym.imp.USER32.dll_EnumClipboardFormats]
call eax
sub esp, 4
mov dword [esp + 0xc4], 0x9a3
mov dword [esp + 0x120], 0xe2d
mov ecx, esp
lea edx, [esp + 0x120]
mov dword [ecx + 8], edx
lea edx, [esp + 0xc4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x9a3
mov ecx, dword [sym.imp.USER32.dll_SetSysColors]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.ole32.dll_CoAddRefServerProcess]
mov dword [esp + 0x28], eax
call ecx
mov dword [esp + 0x24], eax
jmp 0x10001a68
mov eax, dword [esp + 0x30]
add eax, 1
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x10], 0x937
mov dword [ecx + 0xc], 0xc46
mov dword [ecx + 8], 0xc46
mov dword [ecx + 4], 0xa77
mov dword [ecx], 0x116e3a
mov ecx, dword [sym.imp.GDI32.dll_ScaleWindowExtEx]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0x18
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
jne 0x10001a0e
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0x68
mov dword [esp + 0x88], eax
je 0x1000189a
jmp 0x100018a0