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

Disassembly:
cmp rcx, rdx
je 0x140082976
push r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg rdi, r13
mov qword [rsp + 8], rdi
xchg rdi, r13
xchg rsi, rax
mov qword [rsp + 0x30], rsi
xchg rsi, rax
xchg r14, r8
mov r8, r14
xchg r8, r14
xchg r9, rdx
mov rdx, r9
xchg rdx, r9
xchg rcx, rdx
mov r10, rdx
xchg rdx, rcx
mov r13d, 0x1fb147cd
xor r13d, 0x6f48413d
sub r13d, 0x39c537d6
sub r13d, 0x163a9d20
xor r13d, 0xd342345
xor r13d, 0x2dcd12be
cmp rax, rdx
je 0x14008294e
xchg r10, rbx
mov qword [rsp + 0x38], r10
xchg r10, rbx
xchg r9, rbp
mov qword [rsp + 0x40], r9
xchg rbp, r9
xchg rbx, rsi
mov qword [rsp + 0x48], rbx
xchg rbx, 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 0x140082848
nop
movzx ecx, byte [r14 + 8]
sub cl, 1
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x14008265c
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 0x140082615
mov ecx, dword [rbx]
jmp 0x1400827a9
cmp ecx, 0x4e0
jb 0x1400827a9
lea rdi, [rbx + 0x9c4]
mov esi, 0x3f38e651
add esi, 0x3b3c34a6
sub esi, 0x81767ff
sub esi, 0x36f9544b
xor esi, 0xc4b6895
sub esi, 0x372f3555
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 0x140082697
lea rdi, [rbx + 0xd50]
mov esi, 0x6428588c
add esi, 0x11f3d14a
add esi, 0x3de00cf
sub esi, 0x30de72dd
sub esi, 0x35c60d31
add esi, 0x2d6af1dd
sub esi, 0xd3823d1
sub esi, 0x33887717
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 0x140082715
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], 0x7248a6e4
sub dword [rbx], 0x254bdec6
xor dword [rbx], 0x6dfe759d
xor dword [rbx], 0x40152407
sub dword [rbx], 0x435737b6
sub dword [rbx], 0x1dc061ce
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, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 3
shl eax, 2
shl eax, 1
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 8
shl eax, 3
shl eax, 2
shl eax, 1
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xf
shr rcx, 1
shr rcx, 2
mov eax, edx
mov rdx, qword [r14 + 0x10]
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
xor rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x1400825f1
or rbp, rcx
movzx ecx, byte [r14 + 8]
sub cl, 1
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x1400825e1
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
xor edx, edx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
cmp rax, rcx
jb 0x140082887
xor edx, edx
xchg rdx, r15
mov rax, rdx
xchg rdx, r15
div r12
cmp rdx, r13
jne 0x1400825d1
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
xchg r10, rax
mov r10, qword [rsp + 0x30]
xchg r10, rax
cmp rdx, r13
je 0x1400828fe
shl rdx, 3
shl rdx, 1
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x1400828fe
movups xmm0, xmmword [rdx]
xchg r13, rax
movups xmm2, xmmword [r13]
xchg r13, rax
xchg r11, rax
movups xmm3, xmmword [r11 + 0x10]
xchg r11, rax
xchg rdi, rax
movups xmmword [rdi], xmm0
xchg rdi, rax
xchg rsi, rdx
movups xmm1, xmmword [rsi + 0x10]
xchg rdx, rsi
xchg r13, rax
movups xmmword [r13 + 0x10], xmm1
xchg r13, rax
xchg rdx, r14
movups xmmword [r14], xmm2
xchg r14, rdx
xchg rdx, rcx
movups xmmword [rcx + 0x10], xmm3
xchg rdx, rcx
neg rax
add rax, 0xffffffffffffffe0
neg rax
xchg r13, rsi
mov rsi, r12
xchg rsi, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x1400825c3
mov r15, qword [rsp]
xchg r12, rsi
mov rsi, qword [rsp + 0x10]
xchg rsi, r12
xchg rdi, r14
mov r14, qword [rsp + 0x18]
xchg r14, rdi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
xchg rdi, rbx
mov rdi, qword [rsp + 0x38]
xchg rdi, rbx
xchg r13, r8
mov r8, qword [rsp + 8]
xchg r8, r13
add rsp, 0x20
push rcx
push rdx
push rcx
push rax
push rdx
push rdx
push rcx
push rbx
xchg qword [rsp + 0x40], r14
pop rbx
pop rcx
pop rdx
pop rdx
pop rax
pop rcx
pop rdx
pop rcx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]