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

Disassembly:
cmp rcx, rdx
je 0x140082aa8
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg rbp, r13
mov qword [rsp + 8], rbp
xchg r13, rbp
xchg r11, rax
mov qword [rsp + 0x30], r11
xchg r11, rax
xchg rbx, r14
mov rbx, r8
xchg rbx, r14
xchg rdx, r9
mov rdx, r9
xchg r9, rdx
xchg r13, r10
mov r13, rcx
xchg r13, r10
mov r13d, 0x7b3edfb7
sub r13d, 0x63fc4672
xor r13d, 0x33322412
add r13d, 0x40a85762
xor r13d, 0x2a2b7616
sub r13d, 0x4f3262ae
cmp rax, rdx
je 0x140082a86
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
xchg r12, rsi
mov qword [rsp + 0x48], r12
xchg r12, rsi
xchg r12, rdi
mov qword [rsp + 0x18], r12
xchg r12, rdi
xchg r12, r10
mov qword [rsp + 0x10], r10
xchg r10, r12
xchg r15, rdi
mov qword [rsp], rdi
xchg r15, rdi
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x1400829a4
nop
movzx ecx, byte [r14 + 8]
add cl, 0x17
sub cl, 0x18
shl rbp, cl
add rbp, rbp
nop
xchg rbx, rdx
mov rdx, qword [r14]
xchg rbx, rdx
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400827a2
lea rax, [rbx + 8]
mov r11d, 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 r11, 1
jne 0x14008275b
mov ecx, dword [rbx]
jmp 0x1400828fb
cmp ecx, 0x4e0
jb 0x1400828fb
lea rdi, [rbx + 0x9c4]
mov esi, 0x28fb839f
sub esi, 0x1b303faa
xor esi, 0x47ae8b34
sub esi, 0x2fddeacd
sub esi, 0x11bf57e7
xor esi, 0x8c886ee
mov eax, dword [rdi]
nop dword [rax]
mov edx, dword [rdi + 4]
lea r8, [rdi + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rdi + 0x634]
xor ecx, edx
mov dword [rdi - 0x9c0], ecx
lea rdi, [r8]
sub rsi, 1
jne 0x1400827dd
lea rdi, [rbx + 0xd50]
mov esi, 0xfc79e8
add esi, 0x4564c925
sub esi, 0x423c3522
xor esi, 0x31c7b679
sub esi, 0x3271e5dd
xor esi, 0x3617a9ee
xor esi, 0x76ad8d93
sub esi, 0x43caf03c
mov eax, dword [rdi]
nop word [rax + rax]
mov edx, dword [rdi + 4]
lea r8, [rdi + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rdi - 0xd4c]
xor ecx, edx
mov dword [rdi - 0x9c0], ecx
lea rdi, [r8]
sub rsi, 1
jne 0x14008285b
mov edx, dword [rbx + 0x1380]
xor edx, dword [rbx + 4]
btr edx, 0x1f
xor edx, dword [rbx + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbx + 0x634]
xor ecx, edx
mov dword [rbx + 0x9c0], ecx
xor ecx, ecx
mov dword [rbx], 0x2ac41a26
xor dword [rbx], 0x658b4952
xor dword [rbx], 0x2dd9be16
sub dword [rbx], 0x2575be7b
xor dword [rbx], 0x2c1d18c3
add dword [rbx], 0x6ab8ad83
sub dword [rbx], 0x8797082
sub dword [rbx], 0x737b7325
mov eax, ecx
mov edx, dword [rbx + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xa
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 3
shl eax, 3
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr rcx, 1
shr rcx, 2
shr rcx, 0xb
shr rcx, 2
shr rcx, 1
shr rcx, 1
mov eax, edx
xchg rdx, rcx
mov rcx, qword [r14 + 0x10]
xchg rdx, rcx
push rcx
xor ecx, eax
push rcx
xor rcx, qword [rsp + 8]
shr rcx, 0x20
ror rax, 0x20
xor ecx, eax
ror rax, 0x20
shl rcx, 0x20
or rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x140082731
or rbp, rcx
movzx ecx, byte [r14 + 8]
neg cl
add cl, 1
neg cl
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x14008271e
xor edx, edx
xchg r15, rbx
mov rax, rbx
xchg r15, rbx
div r12
xor edx, edx
mov rcx, rax
mov rax, rbp
div r12
cmp rax, rcx
jb 0x1400829db
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x14008270e
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082a3e
shl rdx, 2
shl rdx, 3
add rdx, r10
cmp rax, rdx
je 0x140082a3e
movups xmm0, xmmword [rdx]
xchg r14, rax
movups xmm2, xmmword [r14]
xchg r14, rax
movups xmm3, xmmword [rax + 0x10]
movups xmmword [rax], xmm0
xchg rdx, r13
movups xmm1, xmmword [r13 + 0x10]
xchg rdx, r13
movups xmmword [rax + 0x10], xmm1
xchg rcx, rdx
movups xmmword [rcx], xmm2
xchg rdx, rcx
xchg rdx, r8
movups xmmword [r8 + 0x10], xmm3
xchg rdx, r8
sub rax, 0xffffffffffffffe0
mov r13, r12
xchg rbp, rax
mov qword [rsp + 0x30], rbp
xchg rbp, rax
cmp rax, r9
jne 0x140082700
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
xchg rdi, r10
mov r10, qword [rsp + 0x18]
xchg rdi, r10
xchg r12, rsi
mov r12, qword [rsp + 0x48]
xchg r12, rsi
mov rbp, qword [rsp + 0x40]
xchg r8, rbx
mov r8, qword [rsp + 0x38]
xchg rbx, r8
xchg rdx, r13
mov rdx, qword [rsp + 8]
xchg r13, rdx
add rsp, 0x20
push rbx
push rax
push rax
push rdx
push rcx
xchg qword [rsp + 0x28], r14
pop rcx
pop rdx
pop rax
pop rax
pop rbx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]