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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 1
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x78], vtable.SecurityAttributes.0
mov byte [ebp - 0x68], 1
mov dword [ebp - 0x64], vtable.SecurityDescriptor.0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x74], 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x68], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x6c], 1
push eax
call esi
test eax, eax
jne 0x470d87
push 0x4df1d0
lea ecx, [ebp - 0x4c]
call fcn.0041caa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push dword [edi + 8]
xor ecx, ecx
lea eax, [ebp - 0x74]
cmp byte [ebp - 0x68], cl
cmovne eax, ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x470ddd
push 0x4df1d0
lea ecx, [ebp - 0x4c]
call fcn.0041caa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 1
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x470e2b
lea ecx, [ebp - 0x4c]
call fcn.0041c920
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push 0
push 1
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x470e6c
lea ecx, [ebp - 0x4c]
call fcn.0041c920
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push 0
push 1
push dword [ebp - 0x20]
call esi
test eax, eax
jne 0x470ead
lea ecx, [ebp - 0x4c]
call fcn.0041c920
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push 0
push 1
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x470eee
lea ecx, [ebp - 0x4c]
call fcn.0041c920
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], vtable.SystemException.0
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00404840
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.Exception.0
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00404840
push 0x98
call fcn.00497c14
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
mov ecx, eax
push dword [edi + 4]
push dword [edi + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00420930
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
push 0x98
mov dword [ecx], eax
call fcn.00497c14
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
mov ecx, eax
push dword [edi + 4]
push dword [edi + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00420930
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10