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

Disassembly:
push rbp
push rsi
mov eax, 0x13d8
call fcn.1400f3510
sub rsp, rax
mov rax, qword [0x140235cc0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call fcn.1400f5270
mov dword [rsp + 0x24], eax
mov edx, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140052bd0
mov rax, qword [0x140238a58]
xor ebp, ebp
mov rsi, qword [0x140238a50]
sub rax, rsi
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x140052e31
movss xmm4, dword [0x140215140]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, ebp
mov qword [rsp + 0x13f8], rdi
mov qword [rsp + 0x1400], r14
mov r14d, ebp
mov qword [rsp + 0x13d0], r15
mov r15, qword [0x140238828]
movaps xmmword [rsp + 0x13c0], xmm6
movsd xmm6, qword [0x140214bc8]
nop
mov rdi, qword [0x140238a68]
xorps xmm2, xmm2
mov rax, qword [0x140238a80]
movss xmm0, dword [rbx + rsi]
cvtps2pd xmm0, xmm0
mov ecx, dword [r14 + rax]
movss xmm1, dword [rbx + rdi]
cvtps2pd xmm1, xmm1
cvtsi2ss xmm2, ecx
mulsd xmm1, xmm6
addsd xmm1, xmm0
movss xmm0, dword [rbx + rsi + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [rbx + rsi], xmm3
movss xmm1, dword [rbx + rdi + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [rbx + rsi + 4], xmm0
comiss xmm5, xmm1
ja 0x140052ce6
mov rax, qword [r15 + 0x3e28]
movaps xmm0, xmm2
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x18]
ja 0x140052ce6
movss xmm1, dword [rbx + rdi + 4]
jmp 0x140052d52
movss xmm0, dword [rbx + rdi]
xorps xmm0, xmm4
movss dword [rbx + rdi], xmm0
lea rcx, [rsp + 0x20]
call fcn.140007a00
mov r8d, eax
mov eax, 0x6b1490ab
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 8
cmp ecx, 0xb58a48
jae 0x140052cf3
mov eax, 0x6b1490ab
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 8
imul eax, eax, 0x169
sub r8d, eax
and r8d, 1
lea eax, [r8*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rbx + rdi + 4], xmm1
movss xmm3, dword [rbx + rsi + 4]
movaps xmm0, xmm3
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x140052d75
mov rax, qword [r15 + 0x3e28]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x1c]
jbe 0x140052dde
xorps xmm1, xmm4
movss dword [rbx + rdi + 4], xmm1
nop
lea rcx, [rsp + 0x20]
call fcn.140007a00
mov r8d, eax
mov eax, 0x6b1490ab
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 8
cmp ecx, 0xb58a48
jae 0x140052d80
mov eax, 0x6b1490ab
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 8
imul eax, eax, 0x169
sub r8d, eax
and r8d, 1
lea eax, [r8*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rdi], xmm0
mov rcx, qword [0x140238a58]
inc ebp
mov rsi, qword [0x140238a50]
add rbx, 8
sub rcx, rsi
movsxd rax, ebp
sar rcx, 3
add r14, 4
cmp rax, rcx
jb 0x140052c60
movaps xmm6, xmmword [rsp + 0x13c0]
mov r15, qword [rsp + 0x13d0]
mov r14, qword [rsp + 0x1400]
mov rdi, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400f2850
add rsp, 0x13d8
pop rsi
pop rbp
ret