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

Disassembly:
cmp rcx, rdx
je 0x140066c77
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 r14, rsi
mov rsi, r8
xchg r14, rsi
mov r9, rdx
xchg r10, rsi
mov rsi, rcx
xchg r10, rsi
mov r13d, 1
cmp rax, rdx
je 0x140066c5e
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
xchg r15, rdi
mov qword [rsp + 0x18], r15
xchg r15, rdi
xchg r12, rsi
mov qword [rsp + 0x10], rsi
xchg r12, rsi
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140066b5a
nop
movzx ecx, byte [r14 + 8]
add cl, 0x47
sub cl, 0x48
shl rbp, cl
add rbp, rbp
nop
mov r11, qword [r14]
mov ecx, dword [r11]
cmp ecx, 0x270
jne 0x1400669ef
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 0x1400669a7
mov ecx, dword [r11]
jmp 0x140066ad2
cmp ecx, 0x4e0
jb 0x140066ad2
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 0x140066a0b
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 0x140066a5f
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, 9
shr ecx, 1
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 6
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xd
shl eax, 1
shl eax, 1
xor edx, eax
mov eax, edx
mov ecx, edx
shr rcx, 5
shr rcx, 0xa
shr rcx, 1
shr rcx, 1
shr rcx, 1
xor rcx, rax
xchg r8, rax
mov r8, qword [r14 + 0x10]
xchg r8, rax
cmp rcx, rax
ja 0x140066983
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0x47
sub cl, 0x48
shl r15, cl
add r15, r15
or r15, rax
cmp r15, r13
jb 0x140066970
xor edx, edx
xchg r8, rax
mov r8, r15
xchg r8, rax
div r12
xor edx, edx
xchg rdx, rax
mov rcx, rdx
xchg rdx, rax
xchg rbp, r11
mov rax, r11
xchg r11, rbp
div r12
cmp rax, rcx
jb 0x140066b99
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x140066960
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
xchg r8, rax
mov r8, qword [rsp + 0x30]
xchg r8, rax
cmp rdx, r13
je 0x140066c13
shl rdx, 4
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140066c13
xchg rbx, rdx
movups xmm0, xmmword [rbx]
xchg rdx, rbx
xchg rbx, rax
movups xmm2, xmmword [rbx]
xchg rbx, rax
xchg rbp, rax
movups xmm3, xmmword [rbp + 0x10]
xchg rbp, rax
xchg r11, rax
movups xmmword [r11], xmm0
xchg r11, rax
xchg rdx, r11
movups xmm1, xmmword [r11 + 0x10]
xchg r11, rdx
xchg r14, rax
movups xmmword [r14 + 0x10], xmm1
xchg r14, rax
xchg r9, rdx
movups xmmword [r9], xmm2
xchg r9, rdx
xchg r9, rdx
movups xmmword [r9 + 0x10], xmm3
xchg r9, rdx
nop
sub rax, 0x7cd8958f
add rax, 0x7cd895af
xchg rdx, r13
mov rdx, r12
xchg rdx, r13
xchg rsi, rax
mov qword [rsp + 0x30], rsi
xchg rsi, rax
cmp rax, r9
jne 0x140066952
xchg r9, r15
mov r9, qword [rsp]
xchg r9, r15
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]
xchg r13, rbp
mov rbp, qword [rsp + 8]
xchg rbp, r13
add rsp, 0x20
nop
add rsp, 8
mov r14, qword [rsp - 8]
ret