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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
mov eax, 0x1410
call fcn.140053f90
sub rsp, rax
mov rax, qword [0x1400d4568]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x34], eax
mov edx, 1
mov dword [rsp + 0x13b4], 0xffffffff
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x140051b70
mov rax, qword [0x1400d48c0]
xor ebp, ebp
mov rsi, qword [0x1400d48b8]
sub rax, rsi
mov dword [rsp + 0x30], 0x270
sar rax, 3
test rax, rax
je 0x140051de7
mov qword [rsp + 0x1420], rbx
mov ebx, ebp
mov qword [rsp + 0x1428], rdi
mov qword [rsp + 0x1430], r14
mov r14d, ebp
movaps xmmword [rsp + 0x1400], xmm6
movaps xmmword [rsp + 0x13f0], xmm7
movss xmm7, dword [0x14005d5c0]
movaps xmmword [rsp + 0x13e0], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x13d0], xmm9
movsd xmm9, qword [0x140064728]
nop dword [rax + rax]
mov rdi, qword [0x1400d48d0]
xorps xmm6, xmm6
mov rax, qword [0x1400d4948]
movss xmm0, dword [rbx + rsi]
cvtps2pd xmm0, xmm0
mov ecx, dword [r14 + rax]
movss xmm1, dword [rbx + rdi]
cvtps2pd xmm1, xmm1
cvtsi2ss xmm6, ecx
mulsd xmm1, xmm9
addsd xmm1, xmm0
movss xmm0, dword [rbx + rsi + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm2, xmm1
movss dword [rbx + rsi], xmm2
movss xmm1, dword [rbx + rdi + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm9
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm2
subss xmm1, xmm6
movss dword [rbx + rsi + 4], xmm0
comiss xmm8, xmm1
ja 0x140051c94
movd xmm0, dword [0x1400d48b4]
movaps xmm1, xmm6
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
comiss xmm1, xmm0
jbe 0x140051cf6
movss xmm0, dword [rbx + rdi]
lea rax, [rsp + 0x30]
xorps xmm0, xmm7
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
movss dword [rbx + rdi], xmm0
call fcn.1400510c0
mov eax, eax
imul rax, rax, 0x169
cmp eax, 0x77
ja 0x140051cdb
lea rcx, [rsp + 0x20]
call fcn.1400510c0
mov eax, eax
imul rax, rax, 0x169
cmp eax, 0x78
jb 0x140051cc3
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rdi + 4], xmm0
movss xmm1, dword [rbx + rsi + 4]
movaps xmm0, xmm1
subss xmm0, xmm6
comiss xmm8, xmm0
ja 0x140051d1d
movd xmm0, dword [0x1400d48b0]
addss xmm6, xmm1
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x140051d82
movss xmm0, dword [rbx + rdi + 4]
lea rax, [rsp + 0x30]
xorps xmm0, xmm7
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
movss dword [rbx + rdi + 4], xmm0
call fcn.1400510c0
mov eax, eax
imul rax, rax, 0x169
cmp eax, 0x77
ja 0x140051d68
nop
lea rcx, [rsp + 0x20]
call fcn.1400510c0
mov eax, eax
imul rax, rax, 0x169
cmp eax, 0x78
jb 0x140051d50
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rdi], xmm0
mov rcx, qword [0x1400d48c0]
inc ebp
mov rsi, qword [0x1400d48b8]
add rbx, 8
sub rcx, rsi
movsxd rax, ebp
sar rcx, 3
add r14, 4
cmp rax, rcx
jb 0x140051c10
movaps xmm9, xmmword [rsp + 0x13d0]
movaps xmm8, xmmword [rsp + 0x13e0]
movaps xmm7, xmmword [rsp + 0x13f0]
movaps xmm6, xmmword [rsp + 0x1400]
mov r14, qword [rsp + 0x1430]
mov rdi, qword [rsp + 0x1428]
mov rbx, qword [rsp + 0x1420]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140053a60
mov rbp, qword [rsp + 0x1438]
add rsp, 0x1410
pop rsi
ret