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

Disassembly:
cmp rcx, rdx
je 0x140082e5a
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
mov r14, r8
mov r9, rdx
xchg r14, rcx
mov r10, r14
xchg rcx, r14
mov r13d, 0x54cdc2cc
sub r13d, 0x20edab9b
xor r13d, 0x79220587
xor r13d, 0x1bbda898
xor r13d, 0x11e4e3b5
sub r13d, 0x409b599a
cmp rax, rdx
je 0x140082e40
xchg rbp, rbx
mov qword [rsp + 0x38], rbp
xchg rbx, rbp
mov qword [rsp + 0x40], rbp
xchg rsi, r14
mov qword [rsp + 0x48], r14
xchg r14, 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 0x140082d59
nop
movzx ecx, byte [r14 + 8]
neg cl
add cl, 1
neg cl
shl rbp, cl
add rbp, rbp
nop
xchg rbx, r8
mov r8, qword [r14]
xchg r8, rbx
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x140082b51
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 0x140082b0a
mov ecx, dword [rbx]
jmp 0x140082caa
cmp ecx, 0x4e0
jb 0x140082caa
lea rdi, [rbx + 0x9c4]
mov esi, 0x613c5519
sub esi, 0x4383c0c0
add esi, 0x30d3cfb6
xor esi, 0x2de2952b
sub esi, 0x11b6f40c
xor esi, 0x51b7fdfb
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 0x140082b8c
lea rdi, [rbx + 0xd50]
mov esi, 0x25ad3ba5
add esi, 0x2188ecda
sub esi, 0xb731da7
add esi, 0x23ea36c9
sub esi, 0x5e095b2
sub esi, 0x16c24e7
add esi, 0x14d85919
sub esi, 0x6d38de95
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 0x140082c0a
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], 0x370719f5
add dword [rbx], 0x439f4d2c
sub dword [rbx], 0x3289dfa7
sub dword [rbx], 0x179e351b
sub dword [rbx], 0x1c060302
add dword [rbx], 0x2f517c26
xor dword [rbx], 0x467da6f8
sub dword [rbx], 0x5b46d7b
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, 2
shr ecx, 5
shr ecx, 2
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, 9
shl eax, 3
shl eax, 2
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xd
shr rcx, 3
shr rcx, 1
shr rcx, 1
mov eax, edx
xchg rdx, rdi
mov rdi, qword [r14 + 0x10]
xchg rdi, rdx
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 0x140082ae0
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 0x140082acc
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 0x140082d98
xor edx, edx
xchg r13, r15
mov rax, r13
xchg r13, r15
div r12
cmp rdx, r13
jne 0x140082abc
xor edx, edx
mov rax, rbp
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082dfc
shl rdx, 5
add rdx, r10
cmp rax, rdx
je 0x140082dfc
movups xmm0, xmmword [rdx]
movups xmm2, xmmword [rax]
xchg r11, rax
movups xmm3, xmmword [r11 + 0x10]
xchg r11, rax
xchg r14, rax
movups xmmword [r14], xmm0
xchg r14, rax
xchg rdx, r8
movups xmm1, xmmword [r8 + 0x10]
xchg r8, rdx
xchg rdx, rax
movups xmmword [rdx + 0x10], xmm1
xchg rdx, rax
xchg rdx, rdi
movups xmmword [rdi], xmm2
xchg rdi, rdx
xchg r9, rdx
movups xmmword [r9 + 0x10], xmm3
xchg rdx, r9
sub rax, 0xffffffffffffffe0
xchg r12, rsi
mov r13, rsi
xchg r12, rsi
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140082aae
mov r15, qword [rsp]
xchg r15, r12
mov r15, qword [rsp + 0x10]
xchg r12, r15
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x48]
xchg rdi, rbp
mov rdi, qword [rsp + 0x40]
xchg rdi, rbp
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 8]
add rsp, 0x20
push rbx
push rcx
push rcx
push rbx
xchg qword [rsp + 0x20], r14
pop rbx
pop rcx
pop rcx
pop rbx
add rsp, 8
ret