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

Disassembly:
cmp rcx, rdx
je 0x140066b2c
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
mov qword [rsp + 0x30], rax
xchg r8, r14
mov r8, r14
xchg r8, r14
xchg rdi, rdx
mov r9, rdi
xchg rdi, rdx
xchg rcx, r14
mov r10, r14
xchg rcx, r14
mov r13d, 1
cmp rax, rdx
je 0x140066b13
xchg rdx, rbx
mov qword [rsp + 0x38], rdx
xchg rbx, rdx
mov qword [rsp + 0x40], rbp
xchg r8, rsi
mov qword [rsp + 0x48], r8
xchg r8, rsi
xchg rdx, rdi
mov qword [rsp + 0x18], rdx
xchg rdi, rdx
xchg r14, r12
mov qword [rsp + 0x10], r14
xchg r12, r14
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140066a31
nop
movzx ecx, byte [r14 + 8]
add cl, 0x2a
sub cl, 0x2b
shl rbp, cl
add rbp, rbp
nop
mov r11, qword [r14]
mov ecx, dword [r11]
cmp ecx, 0x270
jne 0x1400668c1
lea rax, [r11 + 8]
mov ebx, ecx
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub rbx, 1
jne 0x140066879
mov ecx, dword [r11]
jmp 0x1400669a4
cmp ecx, 0x4e0
jb 0x1400669a4
lea rbx, [r11 + 0x9c4]
mov edi, 0xe3
mov esi, dword [rbx]
nop
mov eax, esi
mov esi, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, esi
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rdi, 1
jne 0x1400668dd
lea rbx, [r11 + 0xd50]
mov edi, 0x18c
mov esi, dword [rbx]
nop word [rax + rax]
mov eax, esi
mov esi, dword [rbx + 4]
mov edx, esi
lea rbx, [rbx + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub rdi, 1
jne 0x140066931
mov eax, dword [r11 + 0x1380]
mov edx, eax
xor edx, dword [r11 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 + 0x9c0], ecx
xor ecx, ecx
mov dword [r11], edi
mov eax, ecx
mov edx, dword [r11 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r11], eax
mov ecx, edx
mov eax, dword [r11 + 0x1384]
shr ecx, 2
shr ecx, 6
shr ecx, 3
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 1
shl eax, 2
shl eax, 1
shl eax, 2
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 1
shl eax, 3
shl eax, 0xb
xor edx, eax
mov eax, edx
mov ecx, edx
shr rcx, 7
shr rcx, 4
shr rcx, 7
xor rcx, rax
xchg r13, rax
mov r13, qword [r14 + 0x10]
xchg r13, rax
cmp rcx, rax
ja 0x140066855
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0x41
sub cl, 0x42
shl r15, cl
add r15, r15
or r15, rax
cmp r15, r13
jb 0x140066842
xor edx, edx
mov rax, r15
div r12
xor edx, edx
mov rcx, rax
xchg rbp, rbx
mov rax, rbx
xchg rbp, rbx
div r12
cmp rax, rcx
jb 0x140066a68
xor edx, edx
xchg rsi, rax
mov rsi, r15
xchg rsi, rax
div r12
cmp rdx, r13
jne 0x140066832
xor edx, edx
xchg rbp, rbx
mov rax, rbx
xchg rbx, rbp
div r12
xchg rbp, rax
mov rbp, qword [rsp + 0x30]
xchg rbp, rax
cmp rdx, r13
je 0x140066ad5
shl rdx, 5
add rdx, r10
cmp rax, rdx
je 0x140066ad5
xchg r10, rdx
movups xmm0, xmmword [r10]
xchg r10, rdx
xchg r15, rax
movups xmm2, xmmword [r15]
xchg r15, rax
xchg r15, rax
movups xmm3, xmmword [r15 + 0x10]
xchg r15, rax
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
xchg rbx, rax
movups xmmword [rbx + 0x10], xmm1
xchg rbx, rax
xchg rdx, rsi
movups xmmword [rsi], xmm2
xchg rdx, rsi
xchg rbp, rdx
movups xmmword [rbp + 0x10], xmm3
xchg rdx, rbp
add rax, 0x20
mov r13, r12
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140066824
xchg r15, rbp
mov rbp, qword [rsp]
xchg r15, rbp
mov r12, qword [rsp + 0x10]
xchg rdi, rsi
mov rsi, qword [rsp + 0x18]
xchg rsi, rdi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xchg r14, r13
mov r14, qword [rsp + 8]
xchg r14, r13
add rsp, 0x20
nop
add rsp, 8
mov r14, qword [rsp - 8]
ret