Function at 0x140005bc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x110
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov qword [rbp + 0x60], rcx
xor edi, edi
mov dword [rbp + 8], edi
lea r14d, [rdi + 5]
movabs rax, 0xb9057e8884e06164
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x16ad56fd7bd98af3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x6844b3024a807bd6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xd17c3970cb4de655
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xb9082921ca0f3edf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rcx, 0x149f28646ca068fe
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf14238cdc0a32325
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x46e218b03792c0ba
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x3013e5571ed32987
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xe4480a42fa7dbc0c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xb9082921f33709e9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0xa0]
vmovdqa xmmword [rbp + 0x40], xmm0
mov rax, qword gs:[0x58]
mov r13, qword [rax]
mov ebx, 0x14
mov eax, dword [rbx + r13]
mov r15d, 0x20
test al, 1
jne 0x140005dbc
or eax, 1
mov dword [rbx + r13], eax
vzeroupper
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [r15 + r13 + 0x1384], 0xffffffff
mov dword [r15 + r13 + 4], eax
lea edx, [rdi + 1]
lea r8, [r15 + 8]
add r8, r13
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140005d90
mov dword [r15 + r13], 0x270
jmp 0x140005dbf
vzeroupper
mov eax, dword [rbx + r13]
mov r12d, 0x13a8
test al, 2
jne 0x140005de1
or eax, 2
mov dword [rbx + r13], eax
mov qword [r12 + r13], rdi
mov qword [r12 + r13 + 8], 6
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov dword [rbp + 8], 1
mov rdi, qword [rsi + 0x10]
cmp rdi, 5
ja 0x140005e77
mov rax, qword [rsi + 0x18]
cmp rax, 5
je 0x140005e77
jae 0x140005e27
mov rdx, r14
sub rdx, rdi
mov rcx, rsi
call fcn.14001c490
mov qword [rsi + 0x10], rdi
jmp 0x140005e77
cmp rax, 0x10
jb 0x140005e77
mov rbx, qword [rsi]
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x140005e67
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140005eb6
mov rbx, rcx
mov rcx, rbx
call fcn.14006738c
mov qword [rsi + 0x18], 0xf
lea rbx, [r15 + r13]
nop dword [rax + rax]
dec r14
mov qword [rbp], rbx
mov r15, qword [r12 + r13]
mov rdx, qword [r12 + r13 + 8]
sub rdx, r15
cmp rdx, 0xffffffffffffffff
jne 0x140005ebd
mov rcx, rbx
call fcn.14001ce60
mov edi, eax
shl rdi, 0x20
mov rcx, rbx
call fcn.14001ce60
mov eax, eax
or rdi, rax
jmp 0x140005ecc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc rdx
lea rcx, [rbp]
call fcn.14001ccb0
mov rdi, rax
lea rax, [rdi + r15]
movzx r9d, byte [rbp + rax + 0x20]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140005f02
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140005ef7
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005f0a
mov rcx, rsi
call fcn.14001c5e0
test r14, r14
jne 0x140005e80
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400670e0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret