Function at 0x14001c8fa
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 [0x14002e170]
test rax, rax
jne 0x14001c9af
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 0x14001c9a1
mov rax, qword [rsp + 0xb0]
jmp 0x14001c9a6
call fcn.14001cdba
xchg qword [0x14002e170], rax
jmp 0x14001c969
mov eax, 1
lock xadd qword [0x14002e170], rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x70], rax
lea rax, [0x1400094e9]
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, [0x1400098d3]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov rcx, rbp
mov rdx, r12
call fcn.140001ae0
test dil, 1
je 0x14001ca47
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
call fcn.14000772c
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.140014bf5
test ax, ax
je 0x14001cb7d
mov edi, edx
mov rcx, r12
mov rdx, rbx
call fcn.14001d71b
mov rcx, qword [rsp + 0xb0]
inc rcx
mov rax, 0xffffffffffffffff
cmove rcx, rax
cmp rcx, 5
mov eax, 4
cmovb rcx, rax
call fcn.140014a73
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.140014bf5
cmp ax, 1
jne 0x14001cb73
mov edi, edx
cmp r13, qword [rsp + 0xa0]
jne 0x14001cb61
mov rcx, rbp
mov rdx, r12
call fcn.14001d71b
mov rdx, qword [rsp + 0xe8]
inc rdx
mov rax, 0xffffffffffffffff
cmove rdx, rax
mov rcx, rsi
call fcn.140014acb
mov r14, qword [rsp + 0x98]
mov word [r14 + r13*2], di
inc r13
mov qword [rsp + 0xa8], r13
jmp 0x14001cb16
mov rdi, qword [rsp + 0xa0]
jmp 0x14001cb85
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 0x14001cc78
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.1400017a8
mov r15, rax
mov rcx, rax
call fcn.140016d34
cmp ebx, 9
jg 0x14001cc3f
test eax, eax
je 0x14001cc3f
cmp edx, 5
jne 0x14001cc07
mov eax, ebx
mov qword [rsp + 0x90], rax
jmp 0x14001cc1b
cmp dword [rsp + 0x4c], 0
je 0x14001cc3f
mov dword [rsp + 0x4c], 0
cmp edx, 0x57
jne 0x14001cc3f
mov rcx, r15
call fcn.140014dd8
mov rcx, r14
mov rdx, rdi
call fcn.1400159bd
mov dil, 1
mov rbx, rsi
mov rsi, rbp
mov rbp, r13
jmp 0x14001c960
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r15
mov qword [rax], 1
mov rcx, r14
mov rdx, rdi
call fcn.1400159bd
mov rsi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov r13, qword [rsp + 0xe0]
jmp 0x14001ccff
mov rcx, r14
mov rdx, rdi
call fcn.1400159bd
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.14001a6c4
test rax, rax
je 0x14001cd14
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.14000772c
cmp r13, 0xffffffffffffffff
je 0x14001cd32
mov rcx, rsi
call fcn.1400211e0
jmp 0x14001cd32
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.14000772c
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