Function at 0x140006b10
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rbx, r9
mov qword [rsp + 0x68], 0x18
mov rdi, r8
mov qword [rsp + 0x78], 1
mov r14d, edx
lea r8, [rsp + 0x68]
mov esi, ecx
lea rdx, [rsp + 0x58]
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
xor eax, eax
xor r15d, r15d
mov r9d, 0x100000
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x70], r15
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x68
xor eax, eax
lea rcx, [rbp - 0x50]
movups xmmword [rbp - 0x4c], xmm0
mov dword [rbp + 0x14], eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rsp + 0x58]
lea rcx, [rbp + 0x20]
xor edx, edx
mov qword [rbp + 8], rax
mov r8d, 0x100
mov qword [rbp + 0x10], rax
mov qword [rbp], r15
mov word [rbp - 0x10], r15w
mov dword [rbp - 0x14], 0x101
call fcn.140022720
mov edx, dword [rbp + 0x178]
lea rcx, [rbp + 0x20]
call fcn.140002a20
lea rax, [rbp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x140006c03
mov edx, dword [0x14005c300]
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x78], eax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 4
call fcn.1400034e0
test eax, eax
je 0x140006d3c
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0x64
mov rcx, rax
lea r8d, [rdx - 0x63]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [rbp + 0x168]
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov r9, rdi
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbx
call fcn.1400043c0
test esi, esi
je 0x140006d03
mov rdi, qword [rsp + 0x60]
mov dword [rbp + 0x180], r15d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [rsi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jae 0x140006d03
lea rax, [rbp + 0x180]
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140006d03
cmp dword [rbp + 0x180], r15d
jne 0x140006d03
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0x1f4
mov r8d, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x140006cb0
mov rax, qword [rbp + 0x170]
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400047a0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret