Function at 0x1400181f0
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov byte [rsp + 0x4f], r8b
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x4e], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x58], ecx
xor r15d, r15d
mov r13d, 8
mov bpl, 1
xorps xmm6, xmm6
lea r12, [rsp + 0x60]
jmp 0x140018242
xor ebp, ebp
call fcn.1400a2210
mov dword [rsp + 0x5c], eax
mov rax, qword [0x1400d6068]
test rax, rax
jne 0x14001828a
nop word [rax + rax]
movaps xmmword [rsp + 0x60], xmm6
mov edx, 0x10
mov rcx, r12
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rsp + 0x60]
xchg qword [0x1400d6068], rax
mov rax, qword [0x1400d6068]
test rax, rax
je 0x140018260
mov eax, 1
lock xadd qword [0x1400d6068], rax
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x90], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::h8cc1a0ae8eb99436]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::hcd0c4aee45fe5b13]
mov qword [rsp + 0xa8], rax
lea rax, str..pipe__rust_anonymous_pipe1__..
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
lea rcx, [rsp + 0xb8]
mov rdx, r12
call sym.alloc::fmt::format::format_inner::h5904e664d33518eb
test rsi, rsi
sete al
or bpl, al
test bpl, 1
jne 0x140018342
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
lea rax, [rdi + rbx]
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rax
mov word [rsp + 0xe0], 0
mov dword [rsp + 0xe8], 1
mov rcx, r12
lea rdx, [rsp + 0xd0]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h99757e95e4
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, rbp
mov edx, dword [rsp + 0x58]
mov r8d, r13d
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400184a6
lea ebx, [r15 + 1]
call fcn.1400a21b8
mov rcx, rax
shl rcx, 0x20
or rcx, 2
cmp ebx, 0xa
jge 0x140018436
cmp eax, 5
jne 0x140018400
mov r15d, ebx
jmp 0x14001840d
test r13d, r13d
je 0x140018436
xor r13d, r13d
cmp eax, 0x57
jne 0x140018436
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h169a66b91825197bE.llvm.10650325038555959818
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140018240
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
jmp 0x140018240
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov qword [rax], 1
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140018461
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
test rsi, rsi
je 0x140018477
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
cmp r14, 0xffffffffffffffff
je 0x140018485
mov rcx, r14
call fcn.1400a22f8
mov rax, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400184c1
add rdx, rdx
mov r8d, 2
mov rcx, rbp
call sym.__rust_dealloc
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x7c], 0
mov word [rsp + 0x84], 0
movzx eax, byte [rsp + 0x4e]
mov byte [rsp + 0x81], al
xor al, 1
mov byte [rsp + 0x80], al
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x4f]
mov dword [rsp + 0x90], 0x18
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa0], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
mov rcx, rdi
mov rdx, rbx
call sym.std::sys::pal::windows::fs::File::open::hefc25f9517a26143
test rax, rax
je 0x140018565
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rdx
mov qword [rax], 1
test rsi, rsi
jne 0x140018466
jmp 0x140018477
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], r14
mov qword [rax + 0x10], rdx
mov qword [rax], 0
test rsi, rsi
je 0x140018485
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call sym.__rust_dealloc
jmp 0x140018485