Function at 0x14008d0b0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rdx
mov rsi, rcx
xor ebx, ebx
cmp qword [rcx + 0x38], rbx
jg 0x14008d153
lea r8, [rcx + 0x18]
lea rdx, str..pipe_
lea rcx, [rbp + 7]
call fcn.1400892c0
cmp qword [rax + 0x18], 8
jb 0x14008d108
mov rax, qword [rax]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov edx, 3
lea r9d, [rdx - 2]
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
cmp rax, rcx
je 0x14008d14a
test rcx, rcx
jle 0x14008d146
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rdi
lea rcx, [rbp + 7]
call fcn.14006fd30
call fcn.1400685d0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
xor r8d, r8d
lea rdx, [0x14015332c]
lea rcx, [rbp - 0x41]
call fcn.140070410
nop
cmp qword [rdi], 0
jg 0x14008d1f0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, str..BlackBone
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rax, qword [rdi]
cmp r14, rax
je 0x14008d1cd
test rax, rax
jle 0x14008d1c7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov rax, r14
test rax, rax
jle 0x14008d1d7
mov dword [rdi + 8], ebx
jmp 0x14008d1f0
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 7]
call fcn.14006fbd0
mov rdx, rax
mov rcx, rdi
call fcn.140088770
nop
lea rcx, [rbp - 0x41]
call fcn.14006fd30
call fcn.1400685d0
mov rcx, qword [rax]
mov rax, qword [rsi]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x49], ebx
cmp rcx, 0xffffffffffffffff
jne 0x14008d225
mov eax, 0xc00000c0
jmp 0x14008d30e
mov dword [rbp - 0x39], edx
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x35], 1
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp - 0x41]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14008d282
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
test ebx, ebx
js 0x14008d30c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea ecx, [rax + 0x38]
call fcn.1400a4384
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 9], rax
call fcn.1400685d0
mov rcx, rax
mov rax, qword [rsi]
lea rdx, [rbp - 0x21]
mov qword [rsp + 0x20], rdx
lea r8, [rsi + 0x18]
mov edx, dword [rax + 8]
call fcn.140088a00
test eax, eax
js 0x14008d303
lea r8, [rsi + 8]
lea rax, [rbp - 9]
cmp r8, rax
je 0x14008d303
mov rdx, qword [r8]
mov rcx, qword [rbp - 9]
mov qword [r8], rcx
mov qword [rbp - 9], rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [rbp - 1]
mov qword [r8 + 8], rcx
mov qword [rbp - 1], rdx
lea rcx, [rbp - 9]
call fcn.14008d8b0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400a40e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret