Function at 0x10001450
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x108
lea eax, [esp + 0xd8]
mov dword [esp + 0xac], 0xc8f
mov ecx, esp
lea edx, [esp + 0xac]
mov dword [ecx + 4], edx
mov dword [ecx], 0x219fb1
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esp + 0x94], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x57ea60
mov ecx, dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [esp + 0x90], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x4625d1
mov ecx, dword [sym.imp.KERNEL32.dll_GetTapeStatus]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xb0]
lea esi, [esp + 0xe8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ecx
jmp 0x1000152b
mov eax, esp
mov dword [eax], 0x216db9
mov eax, dword [sym.imp.USER32.dll_UnhookWinEvent]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xf10
mov dword [ecx], 0x8474d2
mov ecx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov dword [esp + 0x74], eax
jmp 0x10001762
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov ecx, esp
mov edx, dword [esp + 0x94]
mov dword [ecx], edx
mov dword [ecx + 8], 0x904
mov dword [ecx + 4], 0x904
mov ecx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xa9a
mov dword [ecx + 4], 0x2a1
mov dword [ecx], 0x27c4cc
mov ecx, dword [sym.imp.GDI32.dll_SetBitmapDimensionEx]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x98]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xbc3d7
mov dword [ecx + 4], 0xdd4
mov dword [ecx], 0x464d57
mov ecx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [esp + 0x68], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x60]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x5c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
je 0x100016bc
jmp 0x10001605
mov eax, dword [esp + 0x58]
sub eax, 5
mov dword [esp + 0x50], eax
jne 0x10001718
jmp 0x10001618
xor eax, eax
mov ecx, 0x1c
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
call fcn.101b9290
mov eax, esp
lea ecx, [esp + 0xe8]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0xee8
mov dword [eax], 0x296a15
mov eax, dword [sym.imp.USER32.dll_GetScrollInfo]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0x20], 0x31c
mov dword [ecx + 0x1c], 0xdb7
mov dword [ecx + 0x18], 0x31c
mov dword [ecx + 0x14], 0x842
mov dword [ecx + 0x10], 0xdb7
mov dword [ecx + 0xc], 0xf91
mov dword [ecx + 8], 0xf78
mov dword [ecx + 4], 0xf91
mov dword [ecx], 0xffb39e
mov ecx, dword [sym.imp.GDI32.dll_Pie]
mov dword [esp + 0x44], eax
call ecx
sub esp, 0x24
mov dword [esp + 0x40], eax
xor eax, eax
mov ecx, 0x28
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call fcn.101b9290
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x141
mov dword [eax + 4], 0x524
mov dword [eax], 0x3180b9
mov eax, dword [sym.imp.GDI32.dll_DescribePixelFormat]
call eax
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0xf8
mov dword [esp + 0x60], eax
jne 0x100015d5
mov eax, dword [esp + 0x70]
sub eax, 0x11
mov dword [esp + 0x30], eax
je 0x100014f2
jmp 0x10001743
mov eax, dword [esp + 0x70]
sub eax, 0x3b
mov dword [esp + 0x2c], eax
jne 0x10001762
jmp 0x10001752
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esp + 0x28], eax
jmp 0x100014f2
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 0x1e
mov dword [esp + 0x7c], eax
jne 0x1000152b
lea esp, [ebp - 4]
pop esi
pop ebp
ret