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

Disassembly:
cmp rcx, rdx
je 0x140082c93
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg rsi, r13
mov qword [rsp + 8], rsi
xchg rsi, r13
xchg r13, rax
mov qword [rsp + 0x30], r13
xchg r13, rax
mov r14, r8
xchg rsi, r9
mov rsi, rdx
xchg r9, rsi
xchg rcx, r10
mov rcx, r10
xchg r10, rcx
mov r13d, 0x24dea8fe
xor r13d, 0x61ebb636
sub r13d, 0x4434e9b6
add r13d, 0x4e6355c8
add r13d, 0x1ef4139f
sub r13d, 0x6e579e78
cmp rax, rdx
je 0x140082c7a
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
xchg rdx, rdi
mov qword [rsp + 0x18], rdx
xchg rdx, rdi
xchg r8, r12
mov qword [rsp + 0x10], r8
xchg r12, r8
xchg r15, r9
mov qword [rsp], r9
xchg r15, r9
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082b7e
nop
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl rbp, cl
add rbp, rbp
nop
xchg rbp, rbx
mov rbp, qword [r14]
xchg rbx, rbp
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x140082974
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 0x14008292d
mov ecx, dword [rbx]
jmp 0x140082acd
cmp ecx, 0x4e0
jb 0x140082acd
lea rdi, [rbx + 0x9c4]
mov esi, 0x9e06e61
sub esi, 0x5baeff3
add esi, 0x28ae0fcb
add esi, 0x7f90ed6
sub esi, 0x1f27055c
add esi, 0x2958aaa2
add esi, 0x291bd4a0
add esi, 0x8ffa1b0
xor esi, 0x7119b846
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 0x1400829c1
lea rdi, [rbx + 0xd50]
mov esi, 0x7247cfa7
sub esi, 0x62bcf45f
xor esi, 0x458625d1
sub esi, 0x1cdb3951
sub esi, 0x28a9836a
add esi, 0x7a677e85
xor esi, 0x7eefc1ef
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 0x140082a39
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], 0x2537271f
xor dword [rbx], 0x74789f4a
add dword [rbx], 0x234cb435
sub dword [rbx], 0x3471aa61
add dword [rbx], 0x1967d465
xor dword [rbx], 0x5992968e
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, 4
shr ecx, 4
shr ecx, 2
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 2
shl eax, 2
shl eax, 2
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, 9
shr rcx, 5
shr rcx, 2
shr rcx, 1
shr rcx, 1
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
or rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x140082903
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 0x1400828f3
xor edx, edx
mov rax, r15
div r12
xor edx, edx
mov rcx, rax
xchg rbp, r14
mov rax, r14
xchg r14, rbp
div r12
cmp rax, rcx
jb 0x140082bb5
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x1400828e3
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
xchg rcx, rax
mov rcx, qword [rsp + 0x30]
xchg rcx, rax
cmp rdx, r13
je 0x140082c27
shl rdx, 3
shl rdx, 2
add rdx, r10
cmp rax, rdx
je 0x140082c27
xchg rsi, rdx
movups xmm0, xmmword [rsi]
xchg rsi, rdx
movups xmm2, xmmword [rax]
xchg rcx, rax
movups xmm3, xmmword [rcx + 0x10]
xchg rcx, rax
xchg r10, rax
movups xmmword [r10], xmm0
xchg r10, rax
xchg r8, rdx
movups xmm1, xmmword [r8 + 0x10]
xchg rdx, r8
movups xmmword [rax + 0x10], xmm1
xchg rdx, r11
movups xmmword [r11], xmm2
xchg rdx, r11
xchg rdx, r8
movups xmmword [r8 + 0x10], xmm3
xchg rdx, r8
nop
sub rax, 0x715a54a5
add rax, 0x715a54c5
xchg r13, rdi
mov rdi, r12
xchg r13, rdi
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x1400828d5
xchg r9, r15
mov r9, qword [rsp]
xchg r9, r15
xchg rsi, r12
mov rsi, qword [rsp + 0x10]
xchg rsi, r12
mov rdi, qword [rsp + 0x18]
xchg rsi, r11
mov r11, qword [rsp + 0x48]
xchg rsi, r11
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xchg r12, r13
mov r12, qword [rsp + 8]
xchg r12, r13
add rsp, 0x20
nop
add rsp, 8
xchg qword [rsp - 8], r14
nop
add rsp, 8
jmp qword [rsp - 8]