Function at 0x140045060
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.140097be4
mov dword [rsp + 0x7c], eax
mov rax, qword [0x140ed4148]
test rax, rax
jne 0x140045100
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 [0x140ed4148], rax
mov rax, qword [0x140ed4148]
test rax, rax
je 0x1400450d0
mov eax, 1
lock xadd qword [0x140ed4148], 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, [0x140ea8398]
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 0x1400451cb
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 0x140045220
movzx eax, byte [r9]
test al, al
js 0x140045240
lea rbp, [r9 + 1]
mov r14d, eax
jmp 0x14004529d
mov esi, 4
mov r13d, 8
xor r12d, r12d
xor ebp, ebp
xor r14d, r14d
xor edi, edi
jmp 0x1400452f0
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [r9 + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x140045292
movzx ecx, byte [r9 + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x1400455e9
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 0x14004529d
jmp 0x140045601
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 0x1400457dd
lea r13, [rsi*2 + 4]
add rsi, 2
mov di, 1
mov rax, qword [0x140ec6208]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x1400457c6
mov r15, rax
mov rax, qword [rsp + 0xd0]
inc eax
mov dword [rsp + 0x74], eax
mov word [r15], r14w
mov r13d, 1
jmp 0x140045341
mov rbx, rsi
mov r12d, eax
mov word [r15 + r13*2], r14w
inc r13
mov rsi, rbx
test rbp, rbp
je 0x1400453b0
test r12w, r12w
je 0x140045390
xor eax, eax
mov r14d, r12d
cmp r13, rsi
jne 0x140045330
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 0x1400453ce
cmp rbp, qword [rsp + 0x68]
je 0x1400453b0
movzx eax, byte [rbp]
test al, al
js 0x14004547e
inc rbp
mov r14d, eax
xor eax, eax
jmp 0x140045351
cmp di, 1
jne 0x140045520
xor ebp, ebp
xor edi, edi
mov r14d, 0
mov ebx, 0
cmp r13, rsi
jne 0x140045430
inc rbx
add rbx, r13
jb 0x1400457b0
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 0x14004543b
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x90], rcx
mov ecx, 2
jmp 0x14004543d
mov rbx, rsi
xor r14d, r14d
jmp 0x140045336
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 0x1400457a3
mov r15, qword [rsp + 0xb8]
jmp 0x140045336
mov r14d, eax
and r14d, 0x1f
movzx edx, byte [rbp + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x1400454cb
movzx ecx, byte [rbp + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x1400454dd
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 0x1400454f1
xor eax, eax
jmp 0x140045351
add rbp, 2
shl r14d, 6
or r14d, edx
xor eax, eax
jmp 0x140045351
add rbp, 3
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x1400454c4
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov eax, r14d
mov r14d, ecx
jmp 0x140045351
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 0x14004569c
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 0x14004562f
cmp eax, 5
jne 0x1400455b0
mov eax, edx
mov qword [rsp + 0xd0], rax
jmp 0x1400455bb
test ebp, ebp
je 0x14004562f
xor ebp, ebp
cmp eax, 0x57
jne 0x14004562f
mov rcx, r14
call dbg.drop_in_place<std::io::error::Error>
xor edi, edi
test rsi, rsi
je 0x1400450b0
add rsi, rsi
mov r8d, 2
mov rcx, r15
mov rdx, rsi
call sym.__rust_dealloc
xor edi, edi
jmp 0x1400450b0
lea rbp, [r9 + 3]
shl r14d, 0xc
or r14d, ecx
cmp r14d, 0xffff
jbe 0x14004529d
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 0x1400452a2
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov qword [rax], 1
test rsi, rsi
je 0x140045658
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 0x140045672
test rsi, rsi
je case.0x1400424cb.181
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jne 0x1400457b7
call dbg.capacity_overflow
jmp 0x1400457ea
mov rdx, qword [rsp + 0xc0]
call dbg.handle_alloc_error
jmp 0x1400457ea
mov dil, 1
mov ecx, 2
mov rdx, r13
mov rsi, qword [rsp + 0x50]
call dbg.handle_alloc_error
jmp 0x1400457ea
mov dil, 1
mov rsi, qword [rsp + 0x50]