Function at 0x1400c11b0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0x8f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x5c], ecx
xor eax, eax
mov qword [rbp - 8], rax
mov ebx, 8
mov r14b, 1
xorps xmm6, xmm6
lea rsi, [rbp + 0x20]
xor eax, eax
mov qword [rbp - 0x10], rax
nop word cs:[rax + rax]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rbp + 0x50], eax
nop dword [rax + rax]
mov rax, qword [0x1401490d8]
test rax, rax
jne 0x1400c1250
movaps xmmword [rbp + 0x20], xmm6
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rbp + 0x20]
mov qword [0x1401490d8], rax
jmp 0x1400c1220
mov eax, 1
lock xadd qword [0x1401490d8], rax
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x50]
mov qword [rbp], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hffb574642817ad4a]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x10], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::h57e859256a3b26f6]
mov qword [rbp + 0x18], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 2
mov qword [rbp + 0x40], 0
mov rax, rbp
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 2
lea rcx, [rbp - 0x38]
mov rdx, rsi
call sym.alloc::fmt::format::format_inner::h5a493f368b54610e
cmp qword [rbp + 0x78], 0
sete al
or r14b, al
test r14b, 1
jne 0x1400c12e4
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, qword [rbp + 0x80]
call fcn.1400d78a4
mov rax, qword [rbp - 0x38]
mov r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x28]
lea rcx, [r8 + r9]
mov qword [rbp + 0x68], rcx
test r9, r9
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x54], ebx
mov qword [rbp - 0x18], r9
je 0x1400c1330
movzx r12d, byte [r8]
test r12b, r12b
js 0x1400c1350
lea r14, [r8 + 1]
jmp 0x1400c13b1
mov r13d, 4
mov ebx, 8
xor r15d, r15d
xor r14d, r14d
xor r12d, r12d
xor edi, edi
jmp 0x1400c1406
mov eax, r12d
and eax, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp r12b, 0xdf
jbe 0x1400c13a5
movzx ecx, byte [r8 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp r12b, 0xf0
jb 0x1400c16d4
lea r14, [r8 + 4]
movzx r12d, byte [r8 + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and r12d, 0x3f
or r12d, ecx
or r12d, eax
cmp r12d, 0xffff
jbe 0x1400c13b1
jmp 0x1400c16ed
lea r14, [r8 + 2]
shl eax, 6
or eax, edx
mov r12d, eax
mov eax, 1
xor r15d, r15d
mov rcx, qword [rbp + 0x68]
sub rcx, r14
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
add rcx, rax
cmp rcx, 4
mov r13d, 3
cmovae r13, rcx
lea rbx, [r13*2 + 2]
movabs rax, 0x3ffffffffffffffe
cmp rcx, rax
ja 0x1400c1878
inc r13
mov di, 1
movzx eax, byte [0x140149110]
xor ecx, ecx
mov rdx, rbx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x1400c186f
mov rcx, rax
mov rax, qword [rbp - 0x10]
inc eax
mov dword [rbp + 0x58], eax
mov word [rcx], r12w
mov ebx, 1
jmp 0x1400c1453
mov rsi, r13
mov eax, r15d
mov word [rcx + rbx*2], ax
inc rbx
mov r13, rsi
mov r15d, r12d
test r14, r14
je 0x1400c14c0
test r15w, r15w
je 0x1400c14a0
xor r12d, r12d
cmp rbx, r13
jne 0x1400c1440
mov qword [rbp + 0x60], rcx
mov rax, qword [rbp + 0x68]
sub rax, r14
add rax, 3
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
shr rax, 2
movzx ecx, di
cmp r12w, 1
sbb rax, 0xffffffffffffffff
add rax, rcx
jmp 0x1400c14e2
cmp r14, qword [rbp + 0x68]
je 0x1400c14c0
movzx r15d, byte [r14]
test r15b, r15b
js 0x1400c157b
inc r14
jmp 0x1400c145e
cmp di, 1
jne 0x1400c1630
xor r14d, r14d
xor eax, eax
cmp rbx, r13
jne 0x1400c1540
mov qword [rbp + 0x60], rcx
xor edi, edi
mov r12d, r15d
xor r15d, r15d
xor eax, eax
lea rcx, [rax + 1]
add rcx, rbx
jb 0x1400c1866
lea rsi, [rax + rbx]
inc rsi
lea rcx, [r13*2]
cmp rcx, rsi
cmova rsi, rcx
movabs rax, 0x3ffffffffffffffe
inc rax
xor edx, edx
cmp rsi, rax
setbe al
cmp rsi, 5
mov r8d, 4
cmovb rsi, r8
test r13, r13
je 0x1400c154d
mov r8, qword [rbp + 0x60]
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x30], rcx
mov ecx, 2
jmp 0x1400c154f
mov rsi, r13
mov r12d, r15d
xor edi, edi
jmp 0x1400c1446
xor ecx, ecx
lea r8, [rsi + rsi]
mov dl, al
add edx, edx
mov qword [rbp + 0x28], rcx
mov rcx, rbp
lea r9, [rbp + 0x20]
call sym.alloc::raw_vec::finish_grow::h1bf62b060934712b
cmp qword [rbp], 0
jne 0x1400c185c
mov rcx, qword [rbp + 8]
jmp 0x1400c1443
mov eax, r15d
and eax, 0x1f
movzx edx, byte [r14 + 1]
and edx, 0x3f
cmp r15b, 0xdf
jbe 0x1400c15c3
mov r8, rcx
movzx ecx, byte [r14 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp r15b, 0xf0
jb 0x1400c15d4
movzx r15d, byte [r14 + 3]
add r14, 4
and eax, 7
shl eax, 0x12
shl ecx, 6
and r15d, 0x3f
or r15d, ecx
or r15d, eax
jmp 0x1400c15e0
add r14, 2
shl eax, 6
or eax, edx
mov r15d, eax
jmp 0x1400c145e
add r14, 3
shl eax, 0xc
or ecx, eax
mov r15d, ecx
cmp r15d, 0xffff
mov rcx, r8
jbe 0x1400c145e
lea eax, [r15 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r15d, 0x3ff
or r15d, 0xdc00
mov r12d, r15d
mov r15d, eax
cmp rbx, r13
jne 0x1400c1440
jmp 0x1400c1466
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rdi, rcx
mov edx, dword [rbp + 0x5c]
mov ebx, dword [rbp + 0x54]
mov r8d, ebx
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c1759
call sub.kernel32.dll_GetLastError
mov ecx, dword [rbp + 0x58]
cmp ecx, 9
jg 0x1400c171c
cmp eax, 5
jne 0x1400c16a0
mov eax, ecx
mov qword [rbp - 0x10], rax
jmp 0x1400c16ab
test ebx, ebx
je 0x1400c171c
xor ebx, ebx
cmp eax, 0x57
jne 0x1400c171c
xor r14d, r14d
test r13, r13
lea rsi, [rbp + 0x20]
je 0x1400c1210
mov rcx, qword [0x1401490c0]
xor r14d, r14d
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
jmp 0x1400c1210
lea r14, [r8 + 3]
shl eax, 0xc
or ecx, eax
mov r12d, ecx
cmp r12d, 0xffff
jbe 0x1400c13b1
lea ecx, [r12 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov eax, 2
mov r15d, r12d
mov r12d, ecx
jmp 0x1400c13b9
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x70]
mov qword [rcx + 8], rax
mov qword [rcx], 1
mov rbx, 0xffffffffffffffff
test r13, r13
je 0x1400c17e4
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
jmp 0x1400c17e4
test r13, r13
je 0x1400c176f
mov rcx, qword [0x1401490c0]
xor edx, edx
mov r8, rdi
call fcn.1400d78a4
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x40], 0
mov word [rbp + 0x44], 0
movzx eax, byte [rbp + 0x8f]
mov byte [rbp + 0x41], al
xor al, 1
mov byte [rbp + 0x40], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp], 0x18
mov qword [rbp + 8], 0
mov dword [rbp + 0x10], 1
mov rax, rbp
mov qword [rbp + 0x28], rax
xor r14d, r14d
lea r8, [rbp + 0x20]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp - 0x18]
call sym.std::sys::pal::windows::fs::File::open::hc26adf99dd0cd861
test rax, rax
je 0x1400c182b
mov rax, qword [rbp + 0x70]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rbx, r12
mov r8, qword [rbp + 0x80]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1400c1802
mov rcx, qword [0x1401490c0]
xor edx, edx
call fcn.1400d78a4
cmp r12, 0xffffffffffffffff
je 0x1400c1810
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x90]
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x70]
mov qword [rax + 8], r12
mov qword [rax + 0x10], rdx
mov qword [rax], 0
cmp qword [rbp + 0x78], 0
mov r8, qword [rbp + 0x80]
je 0x1400c1810
mov rcx, qword [0x1401490c0]
xor edx, edx
call fcn.1400d78a4
jmp 0x1400c1810
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x10]
jmp 0x1400c1868
xor ecx, ecx
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
jmp 0x1400c1887
mov eax, 2
mov qword [rbp - 8], rax
mov r14b, 1
mov rcx, qword [rbp - 8]
mov rdx, rbx
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
ud2