Function at 0x4016c0
Capabilities:
Create process on windows
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x417040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jl 0x40193c
lea eax, [ebp - 0x1c]
push eax
call fcn.004014c0
mov ecx, dword [ebp - 0xc]
mov esi, 0x7fffffff
mov eax, esi
sub eax, ecx
cmp eax, 0xa
jb 0x401947
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push ecx
cmova eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
push 0xa
push str.blitzpath
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x50]
call fcn.004010f0
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
call fcn.0040655c
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0xf
jbe 0x401780
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401776
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40194c
push ecx
push edx
call fcn.00401a80
add esp, 8
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 0xc]
sub esi, ecx
cmp esi, 0xd
jb 0x401951
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
push 0xd
cmova eax, dword [ebp - 0x1c]
push str._binide.exe
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
call fcn.004010f0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4017c8
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00401330
lea ecx, [ebp - 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00401260
movups xmm0, xmmword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [ebp - 0xc], xmm0
cmp ecx, 0xf
jbe 0x40184b
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401956
push ecx
push edx
call fcn.00401a80
add esp, 8
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x44
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4018dd
push 0x50010
push str.Blitz_Basic_Error
push dword [section..data]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xffffffffffffffff
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x401928
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40191e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40195b
push ecx
push edx
call fcn.00401a80
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00401a8e
mov esp, ebp
pop ebp
ret 0x10
push dword [0x417004]
call fcn.00401490
call fcn.00401320
call fcn.00404d3f
call fcn.00401320
call fcn.00404d3f
call fcn.00404d3f
int3