Function at 0x4571d6
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
push edi
mov dword [eax], ebx
xor esi, esi
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], esi
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [eax], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x4572b1
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x45724c
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x457256
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x457260
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45726a
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x457274
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45727e
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x457288
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1f8
push str.CreateSubprocessPipes
push str._s:_d___CreatePipe_failed___d_
push 0
push 0
call fcn.0043ceb9
add esp, 0x18
xor al, al
jmp 0x457599
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 0x45733f
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x4572e8
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x4572f2
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4572fc
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x457306
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x457310
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45731a
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x457324
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x20b
push str.CreateSubprocessPipes
push str._s:_d___DuplicateHandle_failed___d_
jmp 0x45729e
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 0x4573b6
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x457369
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x457373
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45737d
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x457387
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x457391
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45739b
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x4573a5
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x221
jmp 0x457330
push dword [ebp - 4]
call esi
test eax, eax
jne 0x457423
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x4573cc
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x4573d6
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4573e0
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x4573ea
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x4573f4
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x4573fe
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x457408
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x230
push str.CreateSubprocessPipes
push str._s:_d___CloseHandle_failed___d_
jmp 0x45729e
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 0x457499
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45744c
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x457456
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x457460
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45746a
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x457474
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45747e
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x457488
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x23f
jmp 0x457294
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 0x45750c
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x4574bf
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x4574c9
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4574d3
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x4574dd
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x4574e7
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x4574f1
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x4574fb
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x252
jmp 0x457330
push dword [ebp - 8]
call esi
test eax, eax
jne 0x45756f
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x457522
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45752c
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x457536
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x457540
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45754a
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x457554
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45755e
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x261
jmp 0x457414
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