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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x58ea76
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x600f80]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov eax, dword [0x600f80]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x469247
mov eax, dword [esi]
jmp 0x469249
mov eax, esi
mov byte [eax], 0
mov dword [esp + 0x90], 0xc
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xf0], 0
push 0
lea eax, [esp + 0x94]
mov byte [esp + 0x124], 3
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x469375
lea ecx, [esp + 0x1c]
call fcn.0053cf58
mov byte [esp + 0x120], 4
mov dword [esp + 0x1c], vtable.scopus::WindowsException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x5dbe89
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.004085a0
mov byte [esp + 0x120], 5
lea ecx, [esp + 0x44]
push 0
push 0x5dbe89
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.004085a0
push 0x5fa010
lea eax, [esp + 0x20]
mov dword [esp + 0x74], 0xf
push eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x128], 3
call fcn.005491a6
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [esp + 0xec]
call edi
test eax, eax
jne 0x4693a5
push ecx
lea ecx, [esp + 0x20]
call fcn.004957df
push 0x5fa010
lea eax, [esp + 0x20]
push eax
call fcn.005491a6
push 0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4693e2
push ecx
lea ecx, [esp + 0x20]
call fcn.004957df
push 0x5fa010
lea eax, [esp + 0x20]
push eax
call fcn.005491a6
push 0
push 1
push dword [esp + 0xf0]
call edi
test eax, eax
jne 0x46940c
push ecx
lea ecx, [esp + 0x20]
call fcn.004957df
push 0x5fa010
lea eax, [esp + 0x20]
push eax
call fcn.005491a6
push 0x44
lea eax, [esp + 0xa0]
push 0
push eax
call fcn.00540250
mov eax, dword [esp + 0xfc]
add esp, 4
mov ecx, dword [esp + 0xf4]
xorps xmm0, xmm0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
xor eax, eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xa8]
movdqa xmmword [esp + 0x100], xmm0
push eax
push dword [esp + 0x28]
mov dword [esp + 0xb0], 0x44
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xdc], 0x101
call fcn.0049abb9
push dword [esp + 0xe4]
lea ecx, [esp + 0x7c]
mov edi, eax
call fcn.00491d81
add esp, 4
mov ecx, esi
push eax
call fcn.004205c0
lea ecx, [esp + 0x78]
call fcn.00407cb0
mov eax, dword [esp + 0xf0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4694c2
push eax
call esi
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x4694d0
push eax
call esi
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x4694de
push eax
call esi
mov eax, dword [esp + 0xec]
test eax, eax
je 0x4694ec
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0053cd12
mov esp, ebp
pop ebp
ret