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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
mov eax, dword [0x413040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [str.Blitz3D:_X_Grade]
movq xmm0, qword [str.Unable_to_run]
mov dword [ebp - 0x510], eax
mov eax, dword [0x40d190]
mov dword [ebp - 0x1fc], eax
mov ax, word [0x40d194]
push ebx
push esi
mov word [ebp - 0x1f8], ax
mov ebx, edx
mov al, byte [0x40d196]
mov esi, ebx
push edi
movq qword [ebp - 0x204], xmm0
mov byte [ebp - 0x1f6], al
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4010e0
lea edi, [ebp - 0x204]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4010f0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x204]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401110
movups xmm0, xmmword [str.Your_desktop_must_be_in_high_colour_mode_to_use]
mov ax, word [0x40d198]
mov esi, edx
mov word [edi], ax
mov al, byte [0x40d1cc]
movups xmmword [ebp - 0x104], xmm0
mov byte [ebp - 0xd4], al
movups xmm0, xmmword [0x40d1ac]
movups xmmword [ebp - 0xf4], xmm0
movups xmm0, xmmword [0x40d1bc]
movups xmmword [ebp - 0xe4], xmm0
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x401160
lea edi, [ebp - 0x104]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401170
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401190
mov ecx, 0x10
mov esi, str.._n_nYou_can_change_your_display_settings_from_the_control_panel.
rep movsd dword es:[edi], dword [esi]
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 0x4013e4
push 0x104
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4011f3
lea eax, [ebp - 0x308]
push 0x5c
push eax
call fcn.004020d0
add esp, 8
test eax, eax
je 0x4011f3
mov byte [eax], 0
mov ax, word [0x40d218]
lea edx, [ebp - 0x308]
movq xmm0, qword [str.blitzpath]
mov esi, edx
mov word [ebp - 0x404], ax
mov al, byte [0x40d21a]
movq qword [ebp - 0x40c], xmm0
mov byte [ebp - 0x402], al
mov al, byte [edx]
inc edx
test al, al
jne 0x401223
lea edi, [ebp - 0x40c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401233
mov ecx, edx
lea eax, [ebp - 0x40c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00404853
add esp, 4
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x308]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401270
mov eax, dword [str._binide.exe]
mov edx, dword [ebp - 0x510]
mov esi, edx
mov dword [ecx], eax
mov eax, dword [0x40d220]
mov dword [ecx + 4], eax
mov eax, dword [0x40d224]
mov dword [ecx + 8], eax
mov ax, word [0x40d228]
mov word [ecx + 0xc], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x4012a3
lea edi, [ebp - 0x308]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4012b3
mov ecx, edx
mov dword [ebp - 0x564], 0x44
shr ecx, 2
lea eax, [ebp - 0x520]
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x564]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, edx
movlpd qword [ebp - 0x560], xmm0
lea eax, [ebp - 0x308]
movlpd qword [ebp - 0x558], xmm0
and ecx, 3
movlpd qword [ebp - 0x550], xmm0
push eax
rep movsb byte es:[edi], byte [esi]
push 0
movlpd qword [ebp - 0x548], xmm0
movlpd qword [ebp - 0x540], xmm0
movlpd qword [ebp - 0x538], xmm0
movlpd qword [ebp - 0x530], xmm0
movlpd qword [ebp - 0x528], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013ab
mov ecx, dword [str.Blitz3D:_X_Grade]
lea edx, [ebp - 0x50c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x401351
lea ecx, [ebp - 0x50c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401365
mov eax, dword [str._Error]
mov dword [ecx], eax
mov ax, word [0x40d184]
mov word [ecx + 4], ax
mov al, byte [0x40d186]
mov byte [ecx + 6], al
lea eax, [ebp - 0x50c]
push 0x51010
push eax
lea eax, [ebp - 0x204]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xffffffffffffffff
push dword [ebp - 0x520]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x520]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x51c]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004013f1
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00401000
int3