Function at 0x4012e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4032e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x404298]
xorps xmm0, xmm0
mov word [ebp - 0x18], ax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
movlpd qword [ebp - 0x9c], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
movlpd qword [ebp - 0x94], xmm0
lea eax, [ebp - 0x28]
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
movlpd qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0xb0], xmm0
push eax
movups xmm0, xmmword [str.t6sp.exe]
push 0
mov dword [ebp - 0xa0], 0x44
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4015cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40141d
push str.Failed_to_find_file__t6sp.exe_
lea ecx, [ebp - 0x58]
call fcn.00401a60
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push 0
cmova eax, dword [ebp - 0x58]
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4015c6
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4015bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.00401c50
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xb8]
mov eax, edx
mov ecx, dword [ebp - 0xbc]
sub eax, ecx
cmp eax, 0x2f
jb 0x4014d5
cmp edx, 7
lea edi, [ebp - 0xcc]
lea eax, [ecx + 0x2f]
cmova edi, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], eax
cmp edi, 0x404346
jae 0x40148d
lea eax, [edi + ecx*2]
cmp eax, str.Failed_to_create_t6sp.exe_process._Error_Code:
jb 0x40148d
cmp edi, str.Failed_to_create_t6sp.exe_process._Error_Code:
ja 0x401481
xor esi, esi
jmp 0x401492
mov esi, edi
sub esi, str.Failed_to_create_t6sp.exe_process._Error_Code:
sar esi, 1
jmp 0x401492
mov esi, 0x2f
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x5e]
push edi
push eax
call sub.VCRUNTIME140.dll_memmove
add esi, esi
push esi
push str.Failed_to_create_t6sp.exe_process._Error_Code:
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5e
sub eax, esi
push eax
lea eax, [esi + 0x404346]
push eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0xcc]
jmp 0x4014f4
push 0x2f
sub esp, 8
mov byte [ebp - 0xb4], 0
lea ecx, [ebp - 0xcc]
push dword [ebp - 0xb4]
push 0x2f
call fcn.00402180
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0xb8]
cmp ecx, 7
jbe 0x40156f
mov edx, dword [ebp - 0xcc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401565
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402382
add esp, 8
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0
cmova eax, dword [ebp - 0x40]
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4015c6
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4015bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402382
add esp, 8
mov eax, 1
jmp 0x4015f3
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xb0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xac]
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00402344
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret