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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x28], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x24], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 0x10], rax
nop
mov rax, qword [rbp + 0x30]
xchg qword [0x1800d02e0], rax
mov rax, qword [0x1800d02e0]
test rax, rax
jne 0x18003e6c0
movaps xmmword [rbp + 0x30], xmm6
xor ecx, ecx
lea rdx, [rbp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 2
call r12
test eax, eax
jns 0x18003e660
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
call fcn.180046dc0
jmp 0x18003e664
mov eax, 1
lock xadd qword [0x1800d02e0], rax
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x1c]
mov qword [rbp - 8], rax
lea rax, [sym.rt_dll.dll_core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::hf73b07cd7c93ba99]
mov qword [rbp], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 8], rax
lea rax, [sym.rt_dll.dll_core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::hd2f1f91de2d1997d]
mov qword [rbp + 0x10], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x50], 0
lea rax, [rbp - 8]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 2
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0xa7], dil
mov byte [rbp + 0xa6], 1
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x30]
call sym.rt_dll.dll_alloc::fmt::format::format_inner::he333fb80d0c4c24b
test rbx, rbx
sete al
or sil, al
test sil, 1
jne 0x18003e766
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call sym.rt_dll.dll___rust_dealloc
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x80], rax
mov r8, qword [rbp - 0x38]
mov rax, qword [rbp - 0x30]
lea r12, [r8 + rax]
test rax, rax
mov qword [rbp + 0x88], r8
mov dword [rbp + 0x20], r15d
mov qword [rbp - 0x18], rax
je 0x18003e7b0
movzx ecx, byte [r8]
movzx r13d, cl
test r13b, r13b
js 0x18003e7d0
lea r15, [r8 + 1]
jmp 0x18003e834
xor edi, edi
xor r14d, r14d
xor r13d, r13d
xor r15d, r15d
xor esi, esi
jmp 0x18003e85c
mov eax, r13d
and eax, 0x1f
movzx edx, byte [r8 + 1]
and edx, 0x3f
cmp r13b, 0xdf
jbe 0x18003e828
movzx r13d, byte [r8 + 2]
shl edx, 6
and r13d, 0x3f
or r13d, edx
cmp cl, 0xf0
jb 0x18003ebdd
lea r15, [r8 + 4]
movzx ecx, byte [r8 + 3]
and eax, 7
shl eax, 0x12
shl r13d, 6
and ecx, 0x3f
or ecx, r13d
or ecx, eax
mov r13d, ecx
cmp r13d, 0xffff
jbe 0x18003e834
jmp case.0x18003b900.531
lea r15, [r8 + 2]
shl eax, 6
or eax, edx
mov r13d, eax
inc rsi
lea rbx, [rsi + rsi]
movzx eax, byte [sym.rt_dll.dll___rust_no_alloc_shim_is_unstable]
mov edx, 2
mov rcx, rbx
call sym.rt_dll.dll___rust_alloc
test rax, rax
je 0x18003ed96
mov rcx, rax
mov rax, qword [rbp - 0x10]
inc eax
mov dword [rbp + 0x6c], eax
mov word [rcx], r13w
mov ebx, 1
mov qword [rbp + 0x90], rcx
jmp 0x18003e8ca
lea r15, [r8 + 3]
mov rax, qword [rbp + 0x88]