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

Disassembly:
cmp rcx, rdx
je 0x140082c65
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
xchg r13, rax
mov qword [rsp + 0x30], r13
xchg r13, rax
xchg rbp, r8
mov r14, rbp
xchg r8, rbp
xchg r9, rsi
mov rsi, rdx
xchg r9, rsi
mov r10, rcx
mov r13d, 0x16153f26
add r13d, 0x1ec8b7c9
add r13d, 0x20be7d0c
add r13d, 0x20dee1fa
xor r13d, 0x3bdada18
sub r13d, 0x4da18fec
cmp rax, rdx
je 0x140082c4d
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
xchg r14, r15
mov qword [rsp], r14
xchg r14, r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082b42
nop
movzx ecx, byte [r14 + 8]
sub cl, 9
add cl, 8
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x14008293f
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 0x1400828f8
mov ecx, dword [rbx]
jmp 0x140082a9e
cmp ecx, 0x4e0
jb 0x140082a9e
lea rdi, [rbx + 0x9c4]
mov esi, 0x6afe2c04
sub esi, 0x2fc4db64
add esi, 0x1e0899c6
sub esi, 0x47b8153b
add esi, 0x4dd8fc75
xor esi, 0x9a9b256
sub esi, 0x43e7c75d
xor esi, 0x4931fd3c
xor esi, 0x5bd26146
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 0x14008298c
lea rdi, [rbx + 0xd50]
mov esi, 0x19a8c4a
add esi, 0x4c821fed
xor esi, 0x6cbc03f5
add esi, 0x1d983d2f
xor esi, 0x929966c
xor esi, 0x49117b11
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 0x1400829fe
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], 0x5b98da00
sub dword [rbx], 0x271ce81e
xor dword [rbx], 0x1deb796b
sub dword [rbx], 0x18e61896
add dword [rbx], 0x2b829ab7
add dword [rbx], 0x2b12de09
sub dword [rbx], 0x2fc1bb15
sub dword [rbx], 0x377e2d9e
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, 5
shr ecx, 6
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, 0xe
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xc
shr rcx, 3
shr rcx, 1
shr rcx, 1
shr rcx, 1
mov eax, edx
xchg rdx, r13
mov r13, qword [r14 + 0x10]
xchg rdx, r13
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 0x1400828d4
or rbp, rcx
movzx ecx, byte [r14 + 8]
sub cl, 1
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x1400828c1
xor edx, edx
xchg r13, r15
mov rax, r13
xchg r15, r13
div r12
xor edx, edx
xchg rcx, rbx
mov rbx, rax
xchg rcx, rbx
xchg rbp, rbx
mov rax, rbx
xchg rbp, rbx
div r12
cmp rax, rcx
jb 0x140082b85
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x1400828b1
xor edx, edx
mov rax, rbp
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082bf7
shl rdx, 2
shl rdx, 1
shl rdx, 1
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082bf7
movups xmm0, xmmword [rdx]
xchg r15, rax
movups xmm2, xmmword [r15]
xchg r15, rax
xchg r11, rax
movups xmm3, xmmword [r11 + 0x10]
xchg r11, rax
xchg r14, rax
movups xmmword [r14], xmm0
xchg r14, rax
xchg rdx, r14
movups xmm1, xmmword [r14 + 0x10]
xchg rdx, r14
xchg rbp, rax
movups xmmword [rbp + 0x10], xmm1
xchg rbp, rax
xchg rdx, rdi
movups xmmword [rdi], xmm2
xchg rdi, rdx
xchg rdx, r13
movups xmmword [r13 + 0x10], xmm3
xchg r13, rdx
neg rax
add rax, 0xffffffffffffffe0
neg rax
xchg r13, r12
mov r12, r13
xchg r12, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x1400828a3
xchg rsi, r15
mov rsi, qword [rsp]
xchg rsi, r15
mov r12, qword [rsp + 0x10]
xchg rsi, rdi
mov rsi, qword [rsp + 0x18]
xchg rsi, rdi
mov rsi, qword [rsp + 0x48]
xchg r10, rbp
mov r10, qword [rsp + 0x40]
xchg rbp, r10
xchg rbx, r11
mov r11, qword [rsp + 0x38]
xchg rbx, r11
xchg r13, r10
mov r10, qword [rsp + 8]
xchg r13, r10
add rsp, 0x20
nop
xchg qword [rsp], r14
add rsp, 8
ret