Function at 0x14009d860
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.1401127c0
sub rsp, rax
movaps xmmword [rsp + 0x13e0], xmm6
mov rax, qword [0x14019a900]
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 0x14009d8c0
mov esi, dword [0x14019ba70]
mov ebp, 0x1f4
mov r14d, dword [0x14019baac]
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 0x14009d926
call fcn.140066460
mov ecx, eax
jmp 0x14009d968
lea ebx, [rsi - 0x7fffffff]
call fcn.140066460
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14009d964
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14009d964
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.140066460
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x14009d950
shr rcx, 0x20
lea eax, [rcx - 0x80000000]
xor eax, 0x80000000
lea rcx, [rsp + 0x40]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cmp r14d, 0x7fffffff
jne 0x14009d991
call fcn.140066460
mov ecx, eax
jmp 0x14009d9d8
lea ebx, [r14 - 0x7fffffff]
call fcn.140066460
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14009d9d4
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14009d9d4
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.140066460
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x14009d9c0
shr rcx, 0x20
mov rdx, qword [0x14019ba80]
lea eax, [rcx - 0x80000000]
xor eax, 0x80000000
movss dword [rsp + 0x28], xmm6
cmp rdx, qword [0x14019ba88]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x14009da1d
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x14019ba80], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x14009da2e
lea r8, [rsp + 0x24]
lea rcx, [0x14019ba78]
call fcn.140057090
lea rcx, [rsp + 0x40]
call fcn.140066460
sar eax, 0x1f
lea rcx, [rsp + 0x40]
and eax, 2
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.140066460
mov rdx, qword [0x14019ba98]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x30], xmm6
cmp rdx, qword [0x14019baa0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x14009da93
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x14019ba98], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x14009daa4
lea r8, [rsp + 0x2c]
lea rcx, [0x14019ba90]
call fcn.140057090
mov rdx, qword [0x14019bb00]
cmp rdx, qword [0x14019bb08]
je 0x14009dac4
mov dword [rdx], 3
add qword [0x14019bb00], 4
jmp 0x14009dad5
lea r8, [rsp + 0x20]
lea rcx, [0x14019baf8]
call fcn.140056ee0
sub rbp, 1
jne 0x14009d910
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140112790
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