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

Disassembly:
cmp rcx, rdx
je 0x140066a1e
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
mov qword [rsp + 0x30], rax
xchg r14, r8
mov r8, r14
xchg r14, r8
xchg r14, r9
mov r14, rdx
xchg r14, r9
mov r10, rcx
mov r13d, 1
cmp rax, rdx
je 0x140066a04
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x14006691a
nop
movzx ecx, byte [r14 + 8]
sub cl, 1
shl rbp, cl
add rbp, rbp
nop
mov r11, qword [r14]
mov ecx, dword [r11]
cmp ecx, 0x270
jne 0x1400667af
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 0x140066767
mov ecx, dword [r11]
jmp 0x140066892
cmp ecx, 0x4e0
jb 0x140066892
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 0x1400667cb
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 0x14006681f
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, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 2
shl eax, 4
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 7
shl eax, 1
shl eax, 1
shl eax, 3
shl eax, 1
shl eax, 2
xor edx, eax
mov eax, edx
mov ecx, edx
shr rcx, 0xc
shr rcx, 1
shr rcx, 1
shr rcx, 3
shr rcx, 1
xor rcx, rax
mov rax, qword [r14 + 0x10]
cmp rcx, rax
ja 0x140066743
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rax
cmp r15, r13
jb 0x140066733
xor edx, edx
xchg rdx, rax
mov rdx, r15
xchg rdx, rax
div r12
xor edx, edx
xchg rcx, rbx
mov rbx, rax
xchg rbx, rcx
mov rax, rbp
div r12
cmp rax, rcx
jb 0x140066955
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x140066723
xor edx, edx
xchg rbx, rbp
mov rax, rbx
xchg rbp, rbx
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x1400669bc
shl rdx, 3
shl rdx, 2
add rdx, r10
cmp rax, rdx
je 0x1400669bc
movups xmm0, xmmword [rdx]
xchg r14, rax
movups xmm2, xmmword [r14]
xchg r14, rax
xchg r15, rax
movups xmm3, xmmword [r15 + 0x10]
xchg r15, rax
xchg r10, rax
movups xmmword [r10], xmm0
xchg r10, rax
movups xmm1, xmmword [rdx + 0x10]
xchg rsi, rax
movups xmmword [rsi + 0x10], xmm1
xchg rsi, rax
movups xmmword [rdx], xmm2
xchg rdx, r12
movups xmmword [r12 + 0x10], xmm3
xchg r12, rdx
add rax, 0x20
mov r13, r12
xchg r14, rax
mov qword [rsp + 0x30], r14
xchg r14, rax
cmp rax, r9
jne 0x140066715
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
xchg rdi, rbp
mov rbp, qword [rsp + 0x18]
xchg rbp, rdi
mov rsi, qword [rsp + 0x48]
xchg rbp, rbx
mov rbx, qword [rsp + 0x40]
xchg rbp, rbx
xchg rcx, rbx
mov rcx, qword [rsp + 0x38]
xchg rbx, rcx
xchg r13, rcx
mov rcx, qword [rsp + 8]
xchg r13, rcx
add rsp, 0x20
push rax
xchg qword [rsp + 8], r14
pop rax
add rsp, 8
ret