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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.1400c8d00
sub rsp, rax
mov rax, qword [0x14014a4c8]
xor rax, rsp
mov qword [rbp + 0x1340], rax
movsxd rsi, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
movdqa xmm0, xmmword [0x1400da490]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400da4f0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1400da320]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [str.BC_A__Z_XYVWT]
movdqa xmmword [rbp - 0x80], xmm1
xor ecx, ecx
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x51], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x52], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x53], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x54], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x55], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x56], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x57], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x58], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x59], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5a], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5b], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5c], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5d], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5e], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x5f], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x60], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x61], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x62], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x63], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x64], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x65], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x66], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x67], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x68], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x69], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6a], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6b], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6c], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6d], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6e], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x6f], al
add rcx, 0x1f
cmp rcx, 0x3e
jb 0x140058952
mov byte [rbp - 0x71], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rsp + 0x51]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140058aa0
lea rdx, [rsp + 0x51]
lea rcx, [rbp - 0x70]
call fcn.14004bb90
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov r10d, 0xffffffff
mov dword [rbp + 0x1334], r10d
mov dword [rbp - 0x4c], eax
mov eax, 1
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rbp + rax*4 - 0x4c], edx
inc rax
cmp rax, 0x270
jb 0x140058ae0
mov dword [rbp - 0x50], 0x270
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
add rdx, qword [rbp - 0x60]
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r9, qword [rbp - 0x70]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov eax, 0x40
dec rax
shr rbx, 1
cmp rbx, r10
ja 0x140058b33
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x28]
mov rcx, r9
call fcn.14004c440
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov r8, rsi
cmp qword [rbp - 0x60], rsi
cmovb r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.14004bb90
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140058bcc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058bc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058bc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c884c
mov rax, rdi
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.1400c8960
mov rbx, qword [rsp + 0x1480]
add rsp, 0x1450
pop rdi
pop rsi
pop rbp
ret