Function at 0x45a13a
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
or ebx, 0xffffffff
mov dword [ebp - 0x20], ecx
mov eax, edx
mov dword [ecx], ebx
mov dword [ebp - 0x24], eax
push esi
xor esi, esi
mov dword [ebp - 0x30], 0xc
mov dword [eax], ebx
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 1
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov dword [eax], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x45a214
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x45a1af
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a1b9
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a1c3
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a1cd
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a1d7
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a1e1
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a1eb
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x27d
push str.CreateSubprocessPipes
push str._s:_d___CreatePipe_failed___d_
push 0
push 0
call fcn.0043a05d
add esp, 0x18
xor al, al
jmp 0x45a510
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x18]
push 2
push 1
push esi
push eax
call edi
push eax
push dword [ebp - 0xc]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call ebx
test eax, eax
jne 0x45a299
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a24c
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a256
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a260
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a26a
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a274
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a27e
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a288
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x290
jmp 0x45a461
push 2
push esi
push esi
lea eax, [ebp - 0x10]
push eax
call edi
push eax
push dword [ebp - 4]
call edi
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x45a310
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a2c3
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a2cd
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a2d7
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a2e1
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a2eb
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a2f5
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a2ff
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2a6
jmp 0x45a461
push dword [ebp - 4]
call esi
test eax, eax
jne 0x45a373
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a326
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a330
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a33a
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a344
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a34e
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a358
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a362
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2b5
jmp 0x45a4cb
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
push 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x45a3f3
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a39c
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a3a6
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a3b0
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a3ba
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a3c4
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a3ce
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a3d8
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2c4
push str.CreateSubprocessPipes
push str._s:_d___CreatePipe_failed___d_
jmp 0x45a4d5
push 2
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call edi
push eax
push dword [ebp - 8]
call edi
push eax
call ebx
test eax, eax
jne 0x45a46d
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a419
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a423
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a42d
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a437
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a441
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a44b
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a455
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2d7
push str.CreateSubprocessPipes
push str._s:_d___DuplicateHandle_failed___d_
jmp 0x45a4d5
push dword [ebp - 8]
call esi
test eax, eax
jne 0x45a4e5
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a483
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a48d
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a497
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a4a1
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a4ab
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a4b5
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a4bf
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2e6
push str.CreateSubprocessPipes
push str._s:_d___CloseHandle_failed___d_
push 0
push 0
call fcn.0043a05d
add esp, 0x18
xor al, al
jmp 0x45a50f
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret