Function at 0x1800296f0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rdx
mov rsi, rcx
xor edi, edi
cmp qword [rcx + 0x38], rdi
jg 0x18002980a
add rcx, 0x18
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 9
jb 0x1800299fe
cmp qword [rcx + 0x18], 7
jbe 0x180029753
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 9
lea r9, [0x180115408]
lea rcx, [rbp - 0x31]
call fcn.180017c70
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov edx, 3
mov r9d, 1
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
cmp rax, rcx
je 0x1800297c7
test rcx, rcx
jle 0x1800297c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rbx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x18002980a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e5744
call fcn.180001740
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
xor r8d, r8d
lea rdx, [0x18011471c]
lea rcx, [rbp - 0x31]
call fcn.1800097e0
nop
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.180024a20
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x180029885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e5744
call fcn.180001740
mov rcx, qword [rax]
mov rax, qword [rsi]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov dword [rbp - 0x39], edi
cmp rcx, 0xffffffffffffffff
jne 0x1800298ae
mov edi, 0xc00000c0
jmp 0x180029903
mov dword [rbp - 0x29], edx
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x25], 1
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp - 0x31]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180029903
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x1800299d8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov ecx, 0x38
call fcn.1800e5708
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 7], rax
call fcn.180001740
mov rcx, rax
mov rax, qword [rsi]
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x20], rdx
mov edx, dword [rax + 8]
call fcn.180024f20
test eax, eax
js 0x180029990
lea rdx, [rsi + 8]
lea rax, [rbp + 7]
cmp rdx, rax
je 0x180029990
mov r8, qword [rdx]
mov rax, qword [rbp + 7]
mov qword [rdx], rax
mov qword [rbp + 7], r8
mov rcx, qword [rdx + 8]
mov rax, qword [rbp + 0xf]
mov qword [rdx + 8], rax
mov qword [rbp + 0xf], rcx
jmp 0x180029994
mov r8, qword [rbp + 7]
mov rbx, qword [r8 + 8]
cmp byte [rbx + 0x19], 0
jne 0x1800299cb
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 7]
lea rcx, [rbp + 7]
call fcn.18002a030
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.1800e5744
cmp byte [rbx + 0x19], 0
je 0x1800299a0
mov r8, qword [rbp + 7]
mov edx, 0x38
mov rcx, r8
call fcn.1800e5744
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800e5bd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180001530
int3