Function at 0x14001bf6e
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 + 0x58], rcx
mov byte [rsp + 0x4b], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x68], ecx
xor edi, edi
mov dword [rsp + 0x4c], 8
xorps xmm6, xmm6
lea r12, [rsp + 0xb0]
lea rsi, [rsp + 0x98]
lea rbx, [rsp + 0x70]
lea rbp, [rsp + 0xe8]
xor eax, eax
mov qword [rsp + 0x90], rax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rsp + 0x6c], eax
mov rax, qword [0x14002d108]
test rax, rax
jne 0x14001c023
movaps xmmword [rsp + 0xb0], xmm6
xor ecx, ecx
mov rdx, r12
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14001c015
mov rax, qword [rsp + 0xb0]
jmp 0x14001c01a
call fcn.14001c42e
xchg qword [0x14002d108], rax
jmp 0x14001bfdd
mov eax, 1
lock xadd qword [0x14002d108], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x70], rax
lea rax, [0x14000a751]
mov qword [rsp + 0x78], rax
lea rax, str..pipe__rust_anonymous_pipe1__.
mov qword [rsp + 0xb0], rax
mov ecx, 2
mov qword [rsp + 0xb8], rcx
and qword [rsp + 0xd0], 0
mov qword [rsp + 0x80], rsi
lea rax, [0x14000ab3b]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov rcx, rbp
mov rdx, r12
call fcn.140001aca
test dil, 1
je 0x14001c0bb
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
call fcn.140008f6b
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
mov r15, qword [rsp + 0xf8]
lea rax, [rcx + r15]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
and word [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
mov rcx, rbx
call fcn.1400149e6
test ax, ax
je 0x14001c1f1
mov edi, edx
mov rcx, r12
mov rdx, rbx
call fcn.14001cc57
mov rcx, qword [rsp + 0xb0]
inc rcx
mov rax, 0xffffffffffffffff
cmove rcx, rax
cmp rcx, 5
mov eax, 4
cmovb rcx, rax
call fcn.140014648
mov r14, rax
mov word [rax], di
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], 1
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov r13d, 1
mov rcx, r12
call fcn.1400149e6
cmp ax, 1
jne 0x14001c1e7
mov edi, edx
cmp r13, qword [rsp + 0xa0]
jne 0x14001c1d5
mov rcx, rbp
mov rdx, r12
call fcn.14001cc57
mov rdx, qword [rsp + 0xe8]
inc rdx
mov rax, 0xffffffffffffffff
cmove rdx, rax
mov rcx, rsi
call fcn.1400146a0
mov r14, qword [rsp + 0x98]
mov word [r14 + r13*2], di
inc r13
mov qword [rsp + 0xa8], r13
jmp 0x14001c18a
mov rdi, qword [rsp + 0xa0]
jmp 0x14001c1f9
mov r14d, 2
xor edi, edi
mov eax, 0x10000
mov dword [rsp + 0x28], eax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x20], eax
and dword [rsp + 0x30], 0
mov rcx, r14
mov edx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x4c]
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c2ec
mov qword [rsp + 0xe0], r13
mov r13, rbp
mov rbp, rsi
mov rsi, rbx
mov rax, qword [rsp + 0x90]
lea ebx, [rax + 1]
call fcn.140014b12
mov r15, rax
mov rcx, rax
call fcn.140015d55
cmp ebx, 9
jg 0x14001c2b3
test eax, eax
je 0x14001c2b3
cmp edx, 5
jne 0x14001c27b
mov eax, ebx
mov qword [rsp + 0x90], rax
jmp 0x14001c28f
cmp dword [rsp + 0x4c], 0
je 0x14001c2b3
mov dword [rsp + 0x4c], 0
cmp edx, 0x57
jne 0x14001c2b3
mov rcx, r15
call fcn.140014778
mov rcx, r14
mov rdx, rdi
call fcn.1400150e9
mov dil, 1
mov rbx, rsi
mov rsi, rbp
mov rbp, r13
jmp 0x14001bfd4
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r15
mov qword [rax], 1
mov rcx, r14
mov rdx, rdi
call fcn.1400150e9
mov rsi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov r13, qword [rsp + 0xe0]
jmp 0x14001c373
mov rcx, r14
mov rdx, rdi
call fcn.1400150e9
lea r8, [rsp + 0xb0]
and qword [r8 + 0x10], 0
and dword [r8], 0
and qword [r8 + 0x1c], 0
and word [r8 + 0x24], 0
mov al, byte [rsp + 0x4b]
mov byte [r8 + 0x21], al
xor al, 1
mov byte [r8 + 0x20], al
and dword [r8 + 0x18], 0
mov dword [rsp + 0x70], 0x18
and qword [rsp + 0x78], 0
mov dword [rsp + 0x80], 1
mov qword [r8 + 8], rbx
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, r15
call fcn.140019ccc
test rax, rax
je 0x14001c388
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rax], 1
mov rsi, r13
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140008f6b
cmp r13, 0xffffffffffffffff
je 0x14001c3a6
mov rcx, rsi
call fcn.140020688
jmp 0x14001c3a6
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r13
mov qword [rax + 0x10], rdx
and qword [rax], 0
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
call fcn.140008f6b
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