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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40483c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
push 0x4074a4
push 0x4074a0
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0
call esi
test eax, eax
je 0x4022ed
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [0x4074a0]
call edi
test eax, eax
jne 0x401d29
push 0x4052c0
jmp 0x4022f2
push 0
lea eax, [ebp - 0x34]
push eax
push 0x4074ac
push 0x4074a8
call esi
test eax, eax
jne 0x401d49
push 0x4052e4
jmp 0x4022f2
push 0
push 1
push dword [0x4074ac]
call edi
test eax, eax
jne 0x401d63
push 0x405308
jmp 0x4022f2
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 1
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0xf
mov word [ebp - 0xe0], 0x65
push 0
push 0
push 1
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push 0
push 0xfde9
call edi
mov esi, eax
mov dword [ebp - 0xb8], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
push ecx
lea ecx, [ebp - 0xc8]
movups xmmword [ebp - 0xc8], xmm0
call fcn.00402c90
cmp dword [ebp - 0xb4], 7
lea ecx, [ebp - 0xc8]
push esi
cmova ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xcc], 0xf
push ecx
push dword [ebp - 0xd0]
cmova eax, dword [ebp - 0xe0]
push eax
push 0
push 0xfde9
call edi
mov edi, 0x7ffffffe
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x18]
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x40230e
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 2
cmova eax, dword [ebp + 8]
push 0x405330
push ecx
push eax
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xb0]
call fcn.004032b0
push 0x40532c
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402a60
add esp, 4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
push ecx
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xf8]
call fcn.004030a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
mov eax, dword [0x4074a4]
xorps xmm0, xmm0
cmp dword [ebp - 0xe4], 7
mov dword [ebp - 0x48], eax
cmova ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x4074a8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
movlpd qword [ebp - 0x5c], xmm0
or dword [ebp - 0x5c], 0x100
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push ecx
push 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x54], 0
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
mov dword [ebp - 0x88], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401f20
push 0x405284
jmp 0x4022f2
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
push dword [0x4074a4]
call esi
push dword [0x4074a8]
call esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe4]
cmp ecx, 7
jbe 0x401f84
mov edx, dword [ebp - 0xf8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401f7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e1
push ecx
push edx
call fcn.00403bb9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
cmp ecx, 7
jbe 0x401fdf
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e1
push ecx
push edx
call fcn.00403bb9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x402037
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40202d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e1
push ecx
push edx
call fcn.00403bb9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp ecx, 7
jbe 0x402094
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40208a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e1
push ecx
push edx
call fcn.00403bb9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
cmp ecx, 0xf
jbe 0x4020f1
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4020e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4020e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403bb9
add esp, 8
mov ecx, dword [0x407908]
sub edi, ecx
cmp edi, 1
jb 0x402313
cmp dword [0x40790c], 7
mov eax, 0x4078f8
push 1
cmova eax, dword [0x4078f8]
push 0x405224
push ecx
push eax
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xb0]
call fcn.004032b0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x28]
call fcn.00402bd0
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x40218f
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402185
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402185
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403bb9
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00401480
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00402790
lea ecx, [ebp - 0xf8]
call fcn.00401a80
mov ecx, dword [ebp - 0xe4]
add esp, 0x18
cmp ecx, 7
jbe 0x402212
mov edx, dword [ebp - 0xf8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402208
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402208
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403bb9
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40224c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402242
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022c2
push ecx
push edx
call fcn.00403bb9
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x402282
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402278
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022c2
push ecx
push edx
call fcn.00403bb9
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 0x4022d2
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4022c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4022c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403bb9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040392a
mov esp, ebp
pop ebp
ret
push 0x4052a0
lea ecx, [ebp - 0x98]
call fcn.00401290
push 0x405e50
lea eax, [ebp - 0x98]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00401220
call fcn.00401220
int3