Function at 0x14005f2f0
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
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.140061b90
sub rsp, rax
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov r15, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rbx
mov edi, 7
mov qword [rbp - 0x70], rdi
mov word [rsp + 0x78], bx
lea r8d, [rbx + 3]
lea rdx, [0x140066758]
lea rcx, [rsp + 0x78]
call fcn.140013ac0
nop
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x58], bx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
lea ecx, [rbx + 1]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x5c], edx
inc rcx
cmp rcx, 0x270
jb 0x14005f390
mov dword [rbp - 0x60], 0x270
mov ebx, 8
nop dword [rax + rax]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x20
mov dword [rsp + 0x50], 0xffffffff
mov edx, 0x1a
lea rcx, [rsp + 0x40]
call fcn.140009e10
lea edx, [rax + 0x41]
lea rcx, [rsp + 0x58]
call fcn.14005fe00
sub rbx, 1
jne 0x14005f3c0
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rbx, qword [rbp - 0x78]
sub rax, rbx
mov r12, qword [rsp + 0x68]
cmp rax, r12
jb 0x14005f5ab
lea rax, [rsp + 0x78]
mov rsi, qword [rsp + 0x78]
mov r13, qword [rbp - 0x70]
cmp r13, 8
cmovae rax, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov r14, qword [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, r14
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
lea rcx, [rbx + r12]
mov qword [rsp + 0x28], rcx
mov rax, r15
mov qword [rsp + 0x20], rax
cmp rcx, 7
jbe 0x14005f4b9
mov rdi, rcx
or rdi, 7
cmp rdi, rdx
jbe 0x14005f487
mov rdi, rdx
jmp 0x14005f493
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov rcx, r15
call fcn.140013940
mov qword [rsp + 0x20], rax
mov qword [r15], rax
lea rcx, [rbx + r12]
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], rdi
add rbx, rbx
mov r8, rbx
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x20]
lea rcx, [rbx + rdi]
lea r8, [r12 + r12]
mov rdx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
xor ecx, ecx
mov word [rdi + rax*2], cx
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x14005f53a
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005f531
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400612e0
nop
cmp r13, 8
jb 0x14005f578
lea rdx, [r13*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14005f570
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f570
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400612e0
mov rax, r15
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0x1440]
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
call fcn.140001240
nop
int3