Function at 0x14004b1f0
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x70], ecx
xor eax, eax
mov qword [rsp + 0xd0], rax
mov ebp, 8
mov dil, 1
xorps xmm6, xmm6
lea r14, [rsp + 0x80]
nop
call fcn.14009dd74
mov dword [rsp + 0x7c], eax
mov rax, qword [0x1400d6148]
test rax, rax
jne 0x14004b290
nop word cs:[rax + rax]
movaps xmmword [rsp + 0x80], xmm6
mov edx, 0x10
mov rcx, r14
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, qword [rsp + 0x80]
xchg qword [0x1400d6148], rax
mov rax, qword [0x1400d6148]
test rax, rax
je 0x14004b260
mov eax, 1
lock xadd qword [0x1400d6148], rax
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0xb0], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::he9e030c211458638]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::h5a1dc1766ba07ad9]
mov qword [rsp + 0xc8], rax
lea rax, [0x1400a92c8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rcx, [rsp + 0xe8]
mov rdx, r14
mov rsi, qword [rsp + 0x58]
call dbg.format_inner
test rsi, rsi
sete al
or dil, al
test dil, 1
jne 0x14004b35b
mov r8d, 1
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call sym.__rust_dealloc
mov r8, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf0]
mov r10, qword [rsp + 0xf8]
lea rax, [r9 + r10]
mov qword [rsp + 0x68], rax
test r10, r10
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x78], ebp
mov qword [rsp + 0xd8], r10
je 0x14004b3b0
movzx eax, byte [r9]
test al, al
js 0x14004b3d0
lea rbp, [r9 + 1]
mov r14d, eax
jmp 0x14004b42d
mov esi, 4
mov r13d, 8
xor r12d, r12d
xor ebp, ebp
xor r14d, r14d
xor edi, edi
jmp 0x14004b480
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14004b422
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14004b779
lea rbp, [r9 + 4]
movzx eax, byte [r9 + 3]
and r14d, 7
shl r14d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r14d, eax
cmp r14d, 0xffff
jbe 0x14004b42d
jmp 0x14004b791
lea rbp, [r9 + 2]
shl r14d, 6
or r14d, edx
xor r12d, r12d
xor eax, eax
mov rcx, qword [rsp + 0x68]
sub rcx, rbp
add rcx, 3
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
shr rcx, 2
add rcx, rax
cmp rcx, 3
mov esi, 2
cmovae rsi, rcx
movabs rax, 0x3ffffffffffffffd
cmp rcx, rax
ja 0x14004b96d
lea r13, [rsi*2 + 4]
add rsi, 2
mov di, 1
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x14004b956
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
mov word [r15], r14w
mov r13d, 1
jmp 0x14004b4d1
mov rbx, rsi
mov r12d, eax
mov word [r15 + r13*2], r14w
inc r13
mov rsi, rbx
test rbp, rbp
je 0x14004b540
test r12w, r12w
je 0x14004b520
xor eax, eax
mov r14d, r12d
cmp r13, rsi
jne 0x14004b4c0
mov rbx, qword [rsp + 0x68]
sub rbx, rbp
add rbx, 3
mov rcx, 0xffffffffffffffff
cmovb rbx, rcx
shr rbx, 2
cmp ax, 1
sbb rbx, 0xffffffffffffffff
cmp di, 1
sbb rbx, 0xffffffffffffffff
mov r12d, eax
jmp 0x14004b55e
cmp rbp, qword [rsp + 0x68]
je 0x14004b540
movzx eax, byte [rbp]
test al, al
js 0x14004b60e
inc rbp
mov r14d, eax
xor eax, eax
jmp 0x14004b4e1
cmp di, 1
jne 0x14004b6b0
xor ebp, ebp
xor edi, edi
mov r14d, 0
mov ebx, 0
cmp r13, rsi
jne 0x14004b5c0
inc rbx
add rbx, r13
jb 0x14004b940
lea rcx, [rsi + rsi]
cmp rcx, rbx
cmova rbx, rcx
movabs rax, 0x3ffffffffffffffd
add rax, 2
xor edx, edx
cmp rbx, rax
setbe al
cmp rbx, 5
mov r8d, 4
cmovb rbx, r8
test rsi, rsi
je 0x14004b5cb
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x14004b5cd
mov rbx, rsi
xor r14d, r14d
jmp 0x14004b4c6
xor ecx, ecx
lea r8, [rbx + rbx]
mov dl, al
add edx, edx
mov qword [rsp + 0x88], rcx
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0x80]
call sym.alloc::raw_vec::finish_grow::h2f64a373dae205e6
cmp qword [rsp + 0xb0], 0
jne 0x14004b933
mov r15, qword [rsp + 0xb8]
jmp 0x14004b4c6
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14004b65b
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14004b66d
movzx eax, byte [rbp + 3]
add rbp, 4
and r14d, 7
shl r14d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r14d, eax
cmp r14d, 0xffff
ja 0x14004b681
xor eax, eax
jmp 0x14004b4e1
add rbp, 2
shl r14d, 6
or r14d, edx
xor eax, eax
jmp 0x14004b4e1
add rbp, 3
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x14004b654
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, r14d
mov r14d, ecx
jmp 0x14004b4e1
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, r15
mov edx, dword [rsp + 0x70]
mov ebp, dword [rsp + 0x78]
mov r8d, ebp
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14004b82c
call sub.KERNEL32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x80], rcx
mov edx, dword [rsp + 0x74]
cmp edx, 0xa
lea r14, [rsp + 0x80]
jge 0x14004b7bf
cmp eax, 5
jne 0x14004b740
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x14004b74b
test ebp, ebp
je 0x14004b7bf
xor ebp, ebp
cmp eax, 0x57
jne 0x14004b7bf
mov rcx, r14
call dbg.drop_in_place<std::io::error::Error>
xor edi, edi
test rsi, rsi
je 0x14004b240
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call sym.__rust_dealloc
xor edi, edi
jmp 0x14004b240
lea rbp, [r9 + 3]
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x14004b42d
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, 1
mov r12d, r14d
mov r14d, ecx
jmp 0x14004b432
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x14004b7e8
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14004b802
mov r8d, 1
mov rcx, qword [rsp + 0x50]
call sym.__rust_dealloc
cmp rbx, 0xffffffffffffffff
je 0x14004b810
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rsi, rsi
je 0x14004b845
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call sym.__rust_dealloc
mov dword [rsp + 0x80], 0
mov dword [rsp + 0xa0], 0
mov word [rsp + 0xa4], 0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0xa1], al
xor al, 1
mov byte [rsp + 0xa0], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xb0], 0x18
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x88], rax
xor edi, edi
lea r8, [rsp + 0x80]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, qword [rsp + 0xd8]
call dbg.open
test rax, rax
je 0x14004b8fe
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x14004b7f2
jmp 0x14004b802
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14004b810
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
jmp 0x14004b810
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x14004b947
call dbg.capacity_overflow
jmp 0x14004b97a
mov rdx, qword [rsp + 0xc0]
call dbg.handle_alloc_error
jmp 0x14004b97a
mov dil, 1
mov ecx, 2
mov rdx, r13
mov rsi, qword [rsp + 0x50]
call dbg.handle_alloc_error
jmp 0x14004b97a
mov dil, 1
mov rsi, qword [rsp + 0x50]