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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403d63
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
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 - 0x4c]
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
push 0x40749c
push 0x407498
mov dword [ebp - 0x4c], 0xc
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0
call esi
test eax, eax
je 0x401b9a
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [0x407498]
call edi
test eax, eax
jne 0x401769
push 0x4052b0
jmp 0x401b9f
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x4074a4
push 0x4074a0
call esi
test eax, eax
jne 0x401789
push 0x4052d4
jmp 0x401b9f
push 0
push 1
push dword [0x4074a4]
call edi
test eax, eax
jne 0x4017a3
push 0x4052f8
jmp 0x401b9f
mov ecx, dword [ebp + 0x18]
mov edi, 0x7ffffffe
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x401bbb
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 2
cmova eax, dword [ebp + 8]
push 0x405324
push ecx
push eax
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x28]
call fcn.004029f0
push 0x405320
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.00402310
push 0x40531c
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.00402310
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], 7
jbe 0x401819
mov ecx, dword [ecx]
mov eax, dword [0x40749c]
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov eax, dword [0x4074a0]
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 0x40189d
push 0x405274
jmp 0x401b9f
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
push dword [0x40749c]
call esi
push dword [0x4074a0]
call esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xbc]
cmp ecx, 7
jbe 0x401901
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4018f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019ab
push ecx
push edx
call fcn.00403179
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp ecx, 7
jbe 0x40195e
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401954
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019ab
push ecx
push edx
call fcn.00403179
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp ecx, 7
jbe 0x4019bb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4019b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403179
add esp, 8
mov ecx, dword [0x407500]
sub edi, ecx
cmp edi, 1
jb 0x401bc0
cmp dword [0x407504], 7
mov eax, 0x4074f0
push 1
cmova eax, dword [0x4074f0]
push 0x405228
push ecx
push eax
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x40]
call fcn.004029f0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00402430
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x401a4d
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401a43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401a43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403179
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
sub esp, 0x18
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov ecx, esp
push eax
call fcn.00401ff0
lea ecx, [ebp - 0xb8]
call fcn.004014b0
mov ecx, dword [ebp - 0xa4]
add esp, 0x18
cmp ecx, 7
jbe 0x401abf
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401ab5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401ab5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403179
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x401af9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401aef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b6f
push ecx
push edx
call fcn.00403179
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x401b2f
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b6f
push ecx
push edx
call fcn.00403179
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 0x401b7f
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403179
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.00402eea
mov esp, ebp
pop ebp
ret
push 0x405290
lea ecx, [ebp - 0xa0]
call fcn.00401290
push 0x405dd0
lea eax, [ebp - 0xa0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00401220
call fcn.00401220
int3