Function at 0x14002bbc0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400e7100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x38], rdi
jg 0x14002bc98
lea r8, [rcx + 0x18]
lea rdx, str..pipe_
lea rcx, [rbp - 0x49]
call fcn.1400059a0
cmp qword [rax + 0x18], 7
jbe 0x14002bc16
mov rax, qword [rax]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov edx, 3
lea r9d, [rdx - 2]
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rbx + 0x38]
cmp rax, rcx
je 0x14002bc58
test rcx, rcx
jle 0x14002bc54
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14002bc98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bef3
call fcn.140082b70
call fcn.140007790
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
xor r8d, r8d
lea rdx, [0x1400d4994]
lea rcx, [rbp - 0x49]
call fcn.140002850
nop
cmp qword [rsi], 0
jg 0x14002bd35
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
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 [rsi]
cmp r14, rax
je 0x14002bd12
test rax, rax
jle 0x14002bd0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], r14
mov rax, r14
test rax, rax
jle 0x14002bd1c
mov dword [rsi + 8], edi
jmp 0x14002bd35
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140004c20
mov rdx, rax
mov rcx, rsi
call fcn.140027010
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14002bd75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002beed
call fcn.140082b70
call fcn.140007790
mov rcx, qword [rax]
mov rax, qword [rbx]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x29], edi
cmp rcx, 0xffffffffffffffff
jne 0x14002bda1
mov edi, 0xc00000c0
jmp 0x14002bec8
mov dword [rbp - 0x41], edx
mov qword [rbp - 0x49], r15
mov dword [rbp - 0x3d], 1
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x49]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14002bdfe
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x14002bec8
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.140082b78
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.140007790
mov rcx, rax
mov rax, qword [rbx]
lea r8, [rbx + 0x18]
lea rdx, [rbp - 0x21]
mov qword [rsp + 0x20], rdx
mov edx, dword [rax + 8]
call fcn.140027410
test eax, eax
js 0x14002be81
lea rdx, [rbx + 8]
lea rax, [rbp - 9]
cmp rdx, rax
je 0x14002be81
mov r8, qword [rdx]
mov rax, qword [rbp - 9]
mov qword [rdx], rax
mov qword [rbp - 9], r8
mov rcx, qword [rdx + 8]
mov rax, qword [rbp - 1]
mov qword [rdx + 8], rax
mov qword [rbp - 1], rcx
jmp 0x14002be85
mov r8, qword [rbp - 9]
mov rbx, qword [r8 + 8]
cmp byte [rbx + 0x19], 0
jne 0x14002bebb
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.14002c540
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, gethostname
call fcn.140082b70
cmp byte [rbx + 0x19], 0
je 0x14002be90
mov r8, qword [rbp - 9]
mov edx, gethostname
mov rcx, r8
call fcn.140082b70
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140082b50
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008e6a0
int3
call fcn.14008e6a0
int3