Function at 0x1800640d0
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, 0xa0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x38], rbx
jg 0x18006416d
lea r8, [rcx + 0x18]
lea rdx, str..pipe_
lea rcx, [rbp - 0x29]
call fcn.1800169a0
cmp qword [rax + 0x18], 8
jb 0x180064122
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 rsi, rax
mov rcx, qword [rdi + 0x38]
cmp rax, rcx
je 0x180064164
test rcx, rcx
jle 0x180064160
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x38], rsi
lea rcx, [rbp - 0x29]
call fcn.18000db90
call fcn.180040750
mov rsi, rax
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], bx
xor r8d, r8d
lea rdx, [0x1803121c0]
lea rcx, [rbp + 7]
call fcn.18000dc00
nop
cmp qword [rsi], 0
jg 0x18006420b
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 [rsi]
cmp r14, rax
je 0x1800641e8
test rax, rax
jle 0x1800641e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], r14
mov rax, r14
test rax, rax
jle 0x1800641f2
mov dword [rsi + 8], ebx
jmp 0x18006420b
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.180016740
mov rdx, rax
mov rcx, rsi
call fcn.18005fd20
nop
lea rcx, [rbp + 7]
call fcn.18000db90
call fcn.180040750
mov rcx, qword [rax]
mov rax, qword [rdi]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 1], ebx
cmp rcx, 0xffffffffffffffff
jne 0x180064240
mov eax, 0xc00000c0
jmp 0x180064329
mov dword [rbp + 0xf], edx
mov qword [rbp + 7], r15
mov dword [rbp + 0x13], 1
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 7]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18006429d
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
test ebx, ebx
js 0x180064327
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea ecx, [rax + 0x38]
call fcn.18007b16c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x11], rax
call fcn.180040750
mov rcx, rax
mov rax, qword [rdi]
lea r8, [rdi + 0x18]
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rdx
mov edx, dword [rax + 8]
call fcn.18005ffc0
test eax, eax
js 0x18006431e
lea r8, [rdi + 8]
lea rax, [rbp - 0x11]
cmp r8, rax
je 0x18006431e
mov rdx, qword [r8]
mov rcx, qword [rbp - 0x11]
mov qword [r8], rcx
mov qword [rbp - 0x11], rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [rbp - 9]
mov qword [r8 + 8], rcx
mov qword [rbp - 9], rdx
lea rcx, [rbp - 0x11]
call fcn.1800648c0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret