Function at 0x140068570
Capabilities:
Create pipe
Generate random numbers via winapi

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 + 0xb8], rcx
mov byte [rsp + 0x4f], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0xcc], ecx
xor eax, eax
mov qword [rsp + 0xf8], rax
mov r14d, 8
mov dil, 1
lea rbx, [0x140146f40]
xorps xmm6, xmm6
nop word cs:[rax + rax]
call fcn.1400d4700
mov dword [rsp + 0xd4], eax
jmp 0x1400685f3
mov eax, 0xc00000bb
mov ecx, eax
call dbg.fallback_rng
xchg qword [0x140180190], rax
mov rax, qword [0x140180190]
test rax, rax
jne 0x1400686a0
mov rsi, qword [0x1401801a0]
mov qword [rsp + 0x70], rsi
cmp rsi, 0xffffffffffffffff
je 0x1400685e0
test rsi, rsi
jne 0x140068670
lea rcx, [rsp + 0x70]
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x14006864a
mov rcx, qword [rsp + 0x70]
xor eax, eax
lock cmpxchg qword [0x1401801a0], rcx
jne 0x140068657
mov rsi, qword [rsp + 0x70]
jmp 0x140068670
mov qword [0x1401801a0], 0xffffffffffffffff
jmp 0x1400685e5
mov rsi, rax
mov rcx, qword [rsp + 0x70]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
nop word cs:[rax + rax]
movaps xmmword [rsp + 0x70], xmm6
mov rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0x10
xor r9d, r9d
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400685e5
mov rax, qword [rsp + 0x70]
jmp 0x1400685ec
mov eax, 1
lock xadd qword [0x140180190], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0xd8], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::h30558939d4a80caa]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0xe8], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::h30bb891991ab403c]
mov qword [rsp + 0xf0], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call dbg.format_inner
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
test dil, 1
jne 0x14006877b
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14006877b
mov rcx, qword [rsp + 0xa0]
mov r8, rdx
not r8
shr r8, 0x3f
call sym.__rust_dealloc
mov r15, qword [rsp + 0x80]
mov qword [rsp + 0xb0], r15
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xa0], xmm0
mov rbx, qword [rsp + 0xa0]
lea rax, [rbx + r15]
mov qword [rsp + 0xc0], rax
test r15, r15
mov dword [rsp + 0xd0], r14d
je 0x1400687d0
movzx ecx, byte [rbx]
test cl, cl
js 0x1400687f0
inc rbx
mov ebp, ecx
jmp 0x140068846
xor ebp, ebp
xor edi, edi
xor r12d, r12d
xor ebx, ebx
xor r13d, r13d
jmp 0x140068873
mov ebp, ecx
and ebp, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x14006883d
movzx eax, byte [rbx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x140068bf3
movzx ecx, byte [rbx + 3]
add rbx, 4
and ebp, 7
shl ebp, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, ebp
mov ebp, ecx
cmp ebp, 0xffff
jbe 0x140068846
jmp 0x140068c0a
add rbx, 2
shl ebp, 6
or ebp, edx
mov eax, 1
xor r12d, r12d
mov r13, qword [rsp + 0xc0]
sub r13, rbx
add r13, 3
mov rcx, 0xffffffffffffffff
cmovb r13, rcx
shr r13, 2
add r13, rax
mov di, 1
cmp r13, 4
mov eax, 3
cmovb r13, rax
movabs rax, 0x4000000000000000
add rax, 0xfffffffffffffffe
cmp r13, rax
ja 0x140068ddd
inc r13
mov rsi, r13
add rsi, r13
mov edx, 2
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x140068de4
mov r8, rax
mov word [rax], bp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], rbx
test r15, r15
je 0x140068b3a
mov esi, 1
jmp 0x1400688f1
mov r14, r13
mov word [r8 + rsi*2], r12w
inc rsi
mov r13, r14
mov r12d, ebp
test rbx, rbx
lea rax, [rsp + 0x50]
cmovne rbx, rax
je 0x140068940
test r12w, r12w
je 0x140068910
xor ebp, ebp
jmp 0x140068952
mov rax, qword [rbx]
cmp rax, qword [rsp + 0xc0]
je 0x140068936
lea rcx, [rax + 1]
mov qword [rbx], rcx
movzx ecx, byte [rax]
test cl, cl
js 0x140068a78
mov r12d, ecx
xor ebp, ebp
jmp 0x140068952
mov qword [rsp + 0x50], 0
nop
cmp di, 1
jne 0x140068b30
xor edi, edi
mov ebp, r12d
xor r12d, r12d
mov rbx, qword [rsp + 0x50]
cmp rsi, r13
jne 0x1400688e0
test rbx, rbx
je 0x14006899c
mov rax, qword [rsp + 0xc0]
sub rax, rbx
add rax, 3
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
shr rax, 2
cmp bp, 1
sbb rax, 0xffffffffffffffff
cmp di, 1
sbb rax, 0xffffffffffffffff
inc rax
add rax, r13
jae 0x1400689b0
jmp 0x140068dc2
xor eax, eax
test di, di
setne al
inc rax
add rax, r13
jb 0x140068dc2
mov r15d, edi
mov rdi, qword [rsp + 0x60]
lea rcx, [rdi + rdi]
mov r14, rcx
cmp rcx, rax
ja 0x1400689c7
mov r14, rax
cmp r14, 5
jae 0x1400689d3
mov r14d, 4
movabs rax, 0x4000000000000000
dec rax
xor r8d, r8d
cmp r14, rax
setbe r8b
lea rdx, [r14 + r14]
add r8, r8
test rdi, rdi
je 0x140068a0c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
mov eax, 2
jmp 0x140068a0e
xor eax, eax
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xd8]
lea r9, [rsp + 0x70]
call sym.alloc::raw_vec::finish_grow::h5e78380e54a95a87
cmp qword [rsp + 0xd8], 0
mov r8, qword [rsp + 0xe0]
je 0x140068a66
mov rdx, qword [rsp + 0xe8]
movabs rax, 0x8000000000000001
cmp rdx, rax
jne 0x140068dbd
mov r8, qword [rsp + 0x58]
mov r14, rdi
mov edi, r15d
jmp 0x1400688e3
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r14
mov edi, r15d
jmp 0x1400688e3
mov r12d, ecx
and r12d, 0x1f
lea rdx, [rax + 2]
mov qword [rbx], rdx
movzx ebp, byte [rax + 1]
and ebp, 0x3f
cmp cl, 0xdf
jbe 0x140068ad7
lea rdx, [rax + 3]
mov qword [rbx], rdx
movzx edx, byte [rax + 2]
shl ebp, 6
and edx, 0x3f
or edx, ebp
cmp cl, 0xf0
jb 0x140068ae5
lea rcx, [rax + 4]
mov qword [rbx], rcx
movzx eax, byte [rax + 3]
and r12d, 7
shl r12d, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or r12d, eax
cmp r12d, 0xffff
jbe 0x140068905
jmp 0x140068af9
shl r12d, 6
or r12d, ebp
xor ebp, ebp
jmp 0x140068952
shl r12d, 0xc
or r12d, edx
cmp r12d, 0xffff
jbe 0x140068905
add r12d, 0xffff0000
mov eax, r12d
shr eax, 0xa
or eax, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov ebp, r12d
mov r12d, eax
jmp 0x140068952
mov r8, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rbp, r8
mov rcx, r8
mov edx, dword [rsp + 0xcc]
mov r14d, dword [rsp + 0xd0]
mov r8d, r14d
mov r9d, 1
call sub.KERNEL32.dll_CreateNamedPipeW
mov rdi, rax
cmp rax, 0xffffffffffffffff
lea rbx, [0x140146f40]
jne 0x140068cb8
mov rax, qword [rsp + 0xf8]
lea esi, [rax + 1]
call fcn.1400d46b0
cmp esi, 0xa
jge 0x140068c36
cmp eax, 5
jne 0x140068bc0
mov eax, esi
mov qword [rsp + 0xf8], rax
jmp 0x140068bcd
test r14d, r14d
je 0x140068c36
xor r14d, r14d
cmp eax, 0x57
jne 0x140068c36
xor edi, edi
test r13, r13
je 0x1400685d0
add r13, r13
mov r8d, 2
mov rcx, rbp
mov rdx, r13
call sym.__rust_dealloc
xor edi, edi
jmp 0x1400685d0
add rbx, 3
shl ebp, 0xc
or eax, ebp
mov ebp, eax
cmp ebp, 0xffff
jbe 0x140068846
add ebp, 0xffff0000
mov ecx, ebp
shr ecx, 0xa
or ecx, 0xd800
and ebp, 0x3ff
or ebp, 0xdc00
mov r12d, ebp
mov eax, 2
mov ebp, ecx
jmp 0x14006884e
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 8], rax
mov qword [rcx], 1
test r13, r13
je 0x140068c6a
add r13, r13
mov r8d, 2
mov rcx, rbp
mov rdx, r13
call sym.__rust_dealloc
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140068c8e
mov rcx, qword [rsp + 0xa0]
mov r8, rdx
not r8
shr r8, 0x3f
call sym.__rust_dealloc
cmp rdi, 0xffffffffffffffff
je 0x140068c9c
mov rcx, rdi
call fcn.1400d47f8
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 r13, r13
je 0x140068cd1
add r13, r13
mov r8d, 2
mov rcx, rbp
mov rdx, r13
call sym.__rust_dealloc
mov qword [rsp + 0x78], 0
mov word [rsp + 0x94], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x84], xmm0
movzx eax, byte [rsp + 0x4f]
mov byte [rsp + 0x91], al
xor al, 1
mov byte [rsp + 0x90], al
mov dword [rsp + 0xd8], 0x18
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0xe8], 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x70], rax
mov rsi, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xb0]
lea r8, [rsp + 0x70]
mov rcx, rsi
call dbg.open
test rax, rax
je 0x140068d7e
mov rax, qword [rsp + 0xb8]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
jne 0x140068c77
jmp 0x140068c8e
mov rax, qword [rsp + 0xb8]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdx
mov qword [rax], 0
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140068c9c
mov r8, rdx
not r8
shr r8, 0x3f
mov rcx, rsi
call sym.__rust_dealloc
jmp 0x140068c9c
test rdx, rdx
jne 0x140068dce
mov qword [rsp + 0x68], r13
call dbg.capacity_overflow
jmp 0x140068df1
mov qword [rsp + 0x68], r13
mov rcx, r8
call dbg.handle_alloc_error
jmp 0x140068df1
call dbg.capacity_overflow
jmp 0x140068df1
mov edx, 2
mov rcx, rsi
call dbg.handle_alloc_error
ud2