Function at 0x401cb0
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404505
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
push 0x4074a4
push 0x4074a0
mov dword [ebp - 0x4c], 0xc
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0
call esi
test eax, eax
je 0x40200e
push 0
push 1
push dword [0x4074a0]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x401d36
push 0x4052c0
jmp 0x402013
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x4074ac
push 0x4074a8
call esi
test eax, eax
jne 0x401d56
push 0x4052e4
jmp 0x402013
push 0
push 1
push dword [0x4074ac]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x401d74
push 0x405308
jmp 0x402013
mov eax, dword [0x4074a4]
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 7
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
cmova ecx, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [0x4074a8]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x90]
movlpd qword [ebp - 0x64], xmm0
or dword [ebp - 0x64], 0x100
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push ecx
push 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x5c], 0
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
mov dword [ebp - 0x90], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401e03
push 0x405284
jmp 0x402013
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
push dword [0x4074a4]
call esi
push dword [0x4074a8]
call esi
mov ecx, dword [0x407908]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x402029
cmp dword [0x40790c], 7
mov eax, 0x4078f8
push 1
cmova eax, dword [0x4078f8]
push 0x405224
push ecx
push eax
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x40]
call fcn.00402fc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004028e0
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x401eba
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401eb0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004038b9
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00401480
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004024a0
lea ecx, [ebp - 0xac]
call fcn.00401a80
mov ecx, dword [ebp - 0x98]
add esp, 0x18
cmp ecx, 7
jbe 0x401f34
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401f2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004038b9
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x401f6e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401f64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fe4
push ecx
push edx
call fcn.004038b9
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x401fa4
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401f9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401fe4
push ecx
push edx
call fcn.004038b9
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x401ff4
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401fea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004038b9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040362a
mov esp, ebp
pop ebp
ret
push 0x4052a0
lea ecx, [ebp - 0x1c]
call fcn.00401290
push 0x405e20
lea eax, [ebp - 0x1c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00401220
int3