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

Disassembly:
cmp rcx, rdx
je 0x140066825
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r11, r13
mov qword [rsp + 8], r11
xchg r11, r13
xchg rdi, rax
mov qword [rsp + 0x30], rdi
xchg rdi, rax
mov r14, r8
xchg rdx, rdi
mov r9, rdi
xchg rdx, rdi
xchg rbx, rcx
mov r10, rbx
xchg rbx, rcx
mov r13d, 1
cmp rax, rdx
je 0x140066812
mov qword [rsp + 0x38], rbx
xchg rbp, r13
mov qword [rsp + 0x40], r13
xchg rbp, r13
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r12
xchg r9, r15
mov qword [rsp], r9
xchg r15, r9
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140066722
nop
movzx ecx, byte [r14 + 8]
add cl, 0
sub cl, 1
shl rbp, cl
add rbp, rbp
nop
mov r11, qword [r14]
mov ecx, dword [r11]
cmp ecx, 0x270
jne 0x1400665c8
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 0x140066580
mov ecx, dword [r11]
jmp 0x1400666ab
cmp ecx, 0x4e0
jb 0x1400666ab
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 0x1400665e4
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 0x140066638
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, 4
shr ecx, 2
shr ecx, 2
shr ecx, 2
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xe
shl eax, 1
xor edx, eax
mov eax, edx
mov ecx, edx
shr rcx, 0x12
xor rcx, rax
mov rax, qword [r14 + 0x10]
cmp rcx, rax
ja 0x14006655c
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rax
cmp r15, r13
jb 0x140066549
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
xor edx, edx
xchg rcx, r12
mov r12, rax
xchg r12, rcx
xchg r10, rbp
mov rax, r10
xchg rbp, r10
div r12
cmp rax, rcx
jb 0x140066763
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x140066539
xor edx, edx
xchg rdx, rbp
mov rax, rdx
xchg rbp, rdx
div r12
xchg r12, rax
mov r12, qword [rsp + 0x30]
xchg r12, rax
cmp rdx, r13
je 0x1400667da
shl rdx, 1
shl rdx, 3
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x1400667da
xchg r9, rdx
movups xmm0, xmmword [r9]
xchg r9, rdx
movups xmm2, xmmword [rax]
xchg r11, rax
movups xmm3, xmmword [r11 + 0x10]
xchg r11, rax
xchg r13, rax
movups xmmword [r13], xmm0
xchg r13, rax
xchg r11, rdx
movups xmm1, xmmword [r11 + 0x10]
xchg r11, rdx
xchg r15, rax
movups xmmword [r15 + 0x10], xmm1
xchg r15, rax
movups xmmword [rdx], xmm2
xchg rdx, r8
movups xmmword [r8 + 0x10], xmm3
xchg rdx, r8
add rax, 0x20
xchg r13, r8
mov r8, r12
xchg r8, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x14006652b
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 8]
add rsp, 0x20
nop
add rsp, 8
mov r14, qword [rsp - 8]
ret