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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x13f0
call fcn.1400b7090
sub rsp, rax
movaps xmmword [rsp + 0x13e0], xmm6
mov rax, qword [0x14014f840]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x44], eax
mov edx, 1
mov dword [rsp + 0x13c4], 0xffffffff
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140052ee0
mov esi, dword [0x140150040]
mov ebp, 0x1f4
mov r14d, dword [0x140150044]
btc esi, 0x1f
btc r14d, 0x1f
mov dword [rsp + 0x40], 0x270
mov dword [rsp + 0x20], 3
nop word [rax + rax]
lea rcx, [rsp + 0x40]
cmp esi, 0x7fffffff
jne 0x140052f46
call fcn.140050dc0
mov ecx, eax
jmp 0x140052f88
lea ebx, [rsi - 0x7fffffff]
call fcn.140050dc0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140052f84
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140052f84
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.140050dc0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140052f70
shr rcx, 0x20
lea eax, [rcx - 0x80000000]
xor eax, 0x80000000
lea rcx, [rsp + 0x40]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cmp r14d, 0x7fffffff
jne 0x140052fb1
call fcn.140050dc0
mov ecx, eax
jmp 0x140052ff8
lea ebx, [r14 - 0x7fffffff]
call fcn.140050dc0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140052ff4
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140052ff4
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.140050dc0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140052fe0
shr rcx, 0x20
mov rdx, qword [0x140150050]
lea eax, [rcx - 0x80000000]
xor eax, 0x80000000
movss dword [rsp + 0x28], xmm6
cmp rdx, qword [0x140150058]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x14005303d
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x140150050], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x14005304e
lea r8, [rsp + 0x24]
lea rcx, [0x140150048]
call fcn.14004f620
lea rcx, [rsp + 0x40]
call fcn.140050dc0
sar eax, 0x1f
lea rcx, [rsp + 0x40]
and eax, 2
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.140050dc0
mov rdx, qword [0x140150068]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x30], xmm6
cmp rdx, qword [0x140150070]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x1400530b3
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x140150068], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x1400530c4
lea r8, [rsp + 0x2c]
lea rcx, [0x140150060]
call fcn.14004f620
mov rdx, qword [0x1401500e0]
cmp rdx, qword [0x1401500e8]
je 0x1400530e4
mov dword [rdx], 3
add qword [0x1401500e0], 4
jmp 0x1400530f5
lea r8, [rsp + 0x20]
lea rcx, [0x1401500d8]
call fcn.14004f470
sub rbp, 1
jne 0x140052f30
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.1400b6b70
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
ret