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

Disassembly:
push rbp
push rsi
mov eax, 0x13e8
call fcn.14005cde0
sub rsp, rax
mov rax, qword [0x14017b088]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call fcn.1400591e0
mov r8d, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, r8d
mov dword [rsp + 0x24], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
inc r8d
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jl 0x140053ec0
mov rbp, qword [0x14017ea60]
xor esi, esi
mov rax, qword [0x14017ea68]
sub rax, rbp
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x140054167
movss xmm4, dword [0x14016d440]
xorps xmm5, xmm5
mov qword [rsp + 0x1400], rbx
mov ebx, esi
mov qword [rsp + 0x1408], rdi
mov rdi, qword [0x14017ea78]
mov qword [rsp + 0x1410], r12
mov r12, qword [0x14017ea90]
mov qword [rsp + 0x13e0], r13
mov r13d, 0x80000000
mov qword [rsp + 0x13d8], r14
mov r14d, esi
mov qword [rsp + 0x13d0], r15
mov r15, qword [0x14017e8b0]
movaps xmmword [rsp + 0x13c0], xmm6
movsd xmm6, qword [0x14016ce80]
nop word [rax + rax]
movss xmm1, dword [rdi + rbx]
xorps xmm2, xmm2
mov eax, dword [r12 + r14]
movss xmm0, dword [rbx + rbp]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, eax
addsd xmm1, xmm0
movss xmm0, dword [rbx + rbp + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [rbx + rbp], xmm3
movss xmm1, dword [rdi + rbx + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [rbx + rbp + 4], xmm0
comiss xmm5, xmm1
ja 0x140053ff0
mov rax, qword [r15 + 0x3e28]
movaps xmm0, xmm2
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x18]
jbe 0x140054068
movss xmm0, dword [rdi + rbx]
xorps xmm0, xmm4
movss dword [rdi + rbx], xmm0
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.140009160
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 0x140054000
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
lea eax, [r8 + r13]
cmp eax, r13d
cmovae eax, r8d
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx + 4], xmm0
movss xmm1, dword [rbx + rbp + 4]
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x14005408b
mov rax, qword [r15 + 0x3e28]
addss xmm2, xmm1
comiss xmm2, dword [rax + 0x1c]
jbe 0x140054107
movss xmm0, dword [rdi + rbx + 4]
xorps xmm0, xmm4
movss dword [rdi + rbx + 4], xmm0
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.140009160
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 0x1400540a0
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
lea eax, [r8 + r13]
cmp eax, r13d
cmovae eax, r8d
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
mov rcx, qword [0x14017ea68]
inc esi
sub rcx, qword [0x14017ea60]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, esi
cmp rax, rcx
jb 0x140053f80
movaps xmm6, xmmword [rsp + 0x13c0]
mov r15, qword [rsp + 0x13d0]
mov r14, qword [rsp + 0x13d8]
mov r13, qword [rsp + 0x13e0]
mov r12, qword [rsp + 0x1410]
mov rdi, qword [rsp + 0x1408]
mov rbx, qword [rsp + 0x1400]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14005c070
add rsp, 0x13e8
pop rsi
pop rbp
ret