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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1310]
mov eax, 0x1410
call fcn.140113090
sub rsp, rax
movaps xmmword [rsp + 0x1400], xmm6
mov rax, qword [0x14019b900]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x64], eax
mov edx, 1
mov dword [rbp + 0x12e4], 0xffffffff
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x14009dff0
mov ecx, dword [0x14019ca60]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov edx, 0x80000000
cmp ecx, edx
mov dword [rsp + 0x60], 0x270
mov dword [rsp + 0x20], 3
mov esi, 0x1f4
lea eax, [rcx - 0x80000000]
mov r12d, 0xffffffff
lea r14d, [rcx + rdx]
mov ecx, dword [0x14019ca9c]
cmovae r14d, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
cmp ecx, edx
lea eax, [rcx - 0x80000000]
lea r15d, [rcx + rdx]
cmovae r15d, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x28]
cmp r14d, 0x7fffffff
jne 0x14009e0a7
call fcn.14007f7f0
mov ecx, eax
jmp 0x14009e0e8
lea edi, [r14 - 0x7fffffff]
mov ebx, edi
call fcn.14007f7f0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x14009e0e4
mov eax, edi
xor edx, edx
neg eax
div edi
mov edi, edx
cmp ecx, edx
jae 0x14009e0e4
nop dword [rax]
lea rcx, [rsp + 0x28]
call fcn.14007f7f0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x14009e0d0
shr rcx, 0x20
movd xmm6, ecx
lea rcx, [rsp + 0x30]
cvtdq2ps xmm6, xmm6
cmp r15d, 0x7fffffff
jne 0x14009e106
call fcn.14007f7f0
mov ecx, eax
jmp 0x14009e148
lea edi, [r15 - 0x7fffffff]
mov ebx, edi
call fcn.14007f7f0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jae 0x14009e144
mov eax, edi
xor edx, edx
neg eax
div edi
mov edi, edx
cmp ecx, edx
jae 0x14009e144
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14007f7f0
mov ecx, eax
imul rcx, rbx
cmp ecx, edi
jb 0x14009e130
shr rcx, 0x20
mov rdx, qword [0x14019ca70]
cmp rdx, qword [0x14019ca78]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x38], xmm0
je 0x14009e182
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x14019ca70], 8
movsd qword [rsp + 0x38], xmm0
jmp 0x14009e193
lea r8, [rsp + 0x38]
lea rcx, [0x14019ca68]
call fcn.140057b30
lea rcx, [rsp + 0x48]
call fcn.14007f7f0
mov eax, eax
lea rcx, [rsp + 0x50]
add rax, rax
shr rax, 0x20
lea eax, [rax*2 - 1]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.14007f7f0
mov rdx, qword [0x14019ca88]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rsp + 0x44], xmm6
shr rcx, 0x20
test ecx, ecx
cmove eax, r12d
cmp rdx, qword [0x14019ca90]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
je 0x14009e20c
unpcklps xmm0, xmm6
movsd qword [rdx], xmm0
add qword [0x14019ca88], 8
movsd qword [rsp + 0x40], xmm0
jmp 0x14009e21d
lea r8, [rsp + 0x40]
lea rcx, [0x14019ca80]
call fcn.140057b30
mov rdx, qword [0x14019caf0]
cmp rdx, qword [0x14019caf8]
je 0x14009e23d
mov dword [rdx], 3
add qword [0x14019caf0], 4
jmp 0x14009e24e
lea r8, [rsp + 0x20]
lea rcx, [0x14019cae8]
call fcn.140057970
sub rsi, 1
jne 0x14009e090
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.140113060
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret