Function at 0x4fcec0
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, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov byte [rsp + 0x4f], r8b
mov qword [rsp + 0xa8], rcx
mov byte [rsp + 0x4e], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rsp + 0x88], ecx
xor r14d, r14d
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea r15, [rsp + 0x50]
lea rdi, [rsp + 0xb0]
jmp 0x4fcf25
xor esi, esi
mov rdi, rbp
call sub.kernel32.dll_GetCurrentProcessId
mov dword [rsp + 0x8c], eax
jmp 0x4fcf4c
mov rax, qword [rsp + 0x50]
xchg qword [0x006c5250], rax
mov rax, qword [0x006c5250]
test rax, rax
jne 0x4fcf80
movaps xmmword [rsp + 0x50], xmm6
xor ecx, ecx
mov rdx, r15
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jns 0x4fcf40
call fcn.004de1e0
jmp 0x4fcf45
mov eax, 1
lock xadd qword [0x006c5250], rax
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0xb0], rax
lea rax, [fcn.00558d20]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xc0], rax
lea rax, [fcn.00558f70]
mov qword [rsp + 0xc8], rax
lea rax, str..pipe__rust_anonymous_pipe1__..
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 2
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 2
lea rcx, [rsp + 0xd8]
mov rdx, r15
call fcn.0052f740
movups xmm0, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x60], rax
test sil, 1
jne 0x4fd050
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x4fd050
mov rcx, qword [rsp + 0x98]
mov r8d, 1
call fcn.00442170
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0xa0], r13
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm0
mov rbx, qword [rsp + 0x98]
lea rax, [rbx + r13]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x60], 0
mov dword [rsp + 0x68], 1
mov rbp, rdi
mov rcx, rdi
mov rdx, r15
call fcn.004ecf00
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
mov rcx, rdi
mov edx, dword [rsp + 0x88]
mov r8d, r12d
mov r9d, 1
call sub.kernel32.dll_CreateNamedPipeW
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x4fd1c5
lea r13d, [r14 + 1]
call sub.kernel32.dll_GetLastError
cmp r13d, 0xa
jge 0x4fd144
cmp eax, 5
jne 0x4fd110
mov r14d, r13d
jmp 0x4fd11d
test r12d, r12d
je 0x4fd144
xor r12d, r12d
cmp eax, 0x57
jne 0x4fd144
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x4fcf20
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.00442170
jmp 0x4fcf20
shl rax, 0x20
or rax, 2
mov r14, qword [rsp + 0xa8]
mov qword [r14 + 8], rax
mov qword [r14], 1
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x4fd17d
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.00442170
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x4fd198
mov r8d, 1
mov rcx, rbx
call fcn.00442170
cmp rsi, 0xffffffffffffffff
je 0x4fd1a6
mov rcx, rsi
call fcn.00563374
mov rax, r14
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x4fd1e3
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.00442170
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0
movzx eax, byte [rsp + 0x4e]
mov byte [rsp + 0x71], al
xor al, 1
mov byte [rsp + 0x70], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsp + 0x4f]
mov dword [rsp + 0xb0], 0x18
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xc0], eax
mov qword [rsp + 0x50], rbp
lea r8, [rsp + 0x50]
mov rcx, rbx
mov rdx, r13
call fcn.004c0360
mov r14, qword [rsp + 0xa8]
test rax, rax
je 0x4fd277
mov qword [r14 + 8], rdx
mov qword [r14], 1
mov rdx, qword [rsp + 0x90]
test rdx, rdx
jne 0x4fd18a
jmp 0x4fd198
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdx
mov qword [r14], 0
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x4fd1a6
mov r8d, 1
mov rcx, rbx
call fcn.00442170
jmp 0x4fd1a6