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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x110
lea eax, [esp + 0xd8]
mov dword [esp + 0x94], 0xc8f
mov dword [esp + 0x90], eax
mov eax, esp
lea ecx, [esp + 0x94]
mov dword [eax + 4], ecx
mov dword [eax], 0x219fb1
mov eax, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
call eax
sub esp, 8
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xb0]
mov esi, esp
mov dword [esi], 0x57ea60
mov esi, dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ecx
call esi
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x4625d1
mov ecx, dword [sym.imp.KERNEL32.dll_GetTapeStatus]
mov dword [esp + 0x80], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov ecx, esp
mov edx, dword [esp + 0x90]
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 + 0x74], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x100]
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 + 0x70], 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 + 0x6c], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x60], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x60]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
je 0x10001683
jmp 0x100015cd
mov eax, dword [esp + 0x5c]
sub eax, 5
mov dword [esp + 0x54], eax
jne 0x100016df
jmp 0x100015e0
xor eax, eax
mov ecx, 0x1c
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
call fcn.10299630
mov eax, esp
lea ecx, [esp + 0xe0]
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 dword [esp + 0x48], eax
mov eax, esp
mov dword [eax + 0x20], 0x31c
mov dword [eax + 0x1c], 0xdb7
mov dword [eax + 0x18], 0x31c
mov dword [eax + 0x14], 0x842
mov dword [eax + 0x10], 0xdb7
mov dword [eax + 0xc], 0xf91
mov dword [eax + 8], 0xf78
mov dword [eax + 4], 0xf91
mov dword [eax], 0xffb39e
mov eax, dword [sym.imp.GDI32.dll_Pie]
call eax
sub esp, 0x24
mov dword [esp + 0x44], eax
xor eax, eax
mov ecx, 0x28
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call fcn.10299630
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 + 0x38], eax
mov eax, dword [esp + 0x60]
add eax, 1
cmp eax, 0xf8
mov dword [esp + 0x64], eax
jne 0x1000159d
mov eax, dword [esp + 0x74]
sub eax, 0x11
mov dword [esp + 0x34], eax
je 0x10001720
jmp 0x10001706
mov eax, dword [esp + 0x74]
sub eax, 0x3b
mov dword [esp + 0x30], eax
jne 0x10001754
jmp 0x10001715
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esp + 0x2c], eax
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 + 0x28], eax
call ecx
sub esp, 8
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, 0x1e
mov dword [esp + 0x78], eax
jne 0x100014f3
lea esp, [ebp - 4]
pop esi
pop ebp
ret