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

Disassembly:
cmp rcx, rdx
je 0x140082dfc
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r11, r13
mov qword [rsp + 8], r11
xchg r13, r11
mov qword [rsp + 0x30], rax
xchg r14, r8
mov r8, r14
xchg r8, r14
mov r9, rdx
xchg r10, r13
mov r13, rcx
xchg r13, r10
mov r13d, 0x7d0bce8d
sub r13d, 0x222f06be
add r13d, 0xe5d878c
xor r13d, 0x73496ef6
xor r13d, 0x314bcf28
sub r13d, 0x2b38ee84
cmp rax, rdx
je 0x140082dde
xchg rbx, rcx
mov qword [rsp + 0x38], rcx
xchg rbx, rcx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
xchg rcx, r12
mov qword [rsp + 0x10], rcx
xchg r12, rcx
xchg r8, r15
mov qword [rsp], r8
xchg r8, r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082cde
nop
movzx ecx, byte [r14 + 8]
neg cl
add cl, 1
neg cl
shl rbp, cl
add rbp, rbp
nop
xchg r13, rbx
mov r13, qword [r14]
xchg r13, rbx
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x140082ae4
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 0x140082a9d
mov ecx, dword [rbx]
jmp 0x140082c37
cmp ecx, 0x4e0
jb 0x140082c37
lea rdi, [rbx + 0x9c4]
mov esi, 0xdb9c23
add esi, 0x350f8daf
xor esi, 0xd4229d2
sub esi, 0x2f5bccfa
add esi, 0x1c0cf35c
add esi, 0x45e504db
sub esi, 0x6b3f2a5a
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 0x140082b25
lea rdi, [rbx + 0xd50]
mov esi, 0x64ecb513
sub esi, 0x184fec00
xor esi, 0x6fb81e8e
add esi, 0x2d8f2109
xor esi, 0x647517c2
sub esi, 0x34c6edd8
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 0x140082b97
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], 0x5ca3083c
sub dword [rbx], 0x4cff25a4
add dword [rbx], 0x237246c1
sub dword [rbx], 0xef17189
add dword [rbx], 0x7a2b250
add dword [rbx], 0xb9cada
add dword [rbx], 0x4785ceb6
sub dword [rbx], 0x740703b0
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, 4
shl eax, 2
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 2
shl eax, 6
shl eax, 5
shl eax, 1
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xb
shr rcx, 1
shr rcx, 2
shr rcx, 4
mov eax, edx
xchg r13, rdx
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 0x140082a73
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x140082a5f
xor edx, edx
mov rax, r15
div r12
xor edx, edx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
xchg rbp, rdi
mov rax, rdi
xchg rdi, rbp
div r12
cmp rax, rcx
jb 0x140082d15
xor edx, edx
mov rax, r15
div r12
cmp rdx, r13
jne 0x140082a4f
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082d85
shl rdx, 1
shl rdx, 4
add rdx, r10
cmp rax, rdx
je 0x140082d85
xchg rdx, r12
movups xmm0, xmmword [r12]
xchg rdx, r12
xchg rdx, rax
movups xmm2, xmmword [rdx]
xchg rdx, rax
xchg rbx, rax
movups xmm3, xmmword [rbx + 0x10]
xchg rbx, rax
xchg rdi, rax
movups xmmword [rdi], xmm0
xchg rdi, rax
xchg r8, rdx
movups xmm1, xmmword [r8 + 0x10]
xchg r8, rdx
movups xmmword [rax + 0x10], xmm1
xchg rdx, rdi
movups xmmword [rdi], xmm2
xchg rdx, rdi
xchg rdx, rsi
movups xmmword [rsi + 0x10], xmm3
xchg rsi, rdx
nop
add rax, 0x61fae797
sub rax, 0x61fae777
xchg r12, r13
mov r12, r13
xchg r13, r12
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140082a41
mov r15, qword [rsp]
xchg r12, rbx
mov rbx, qword [rsp + 0x10]
xchg rbx, r12
xchg rdi, rbx
mov rbx, qword [rsp + 0x18]
xchg rdi, rbx
xchg rsi, rbp
mov rbp, qword [rsp + 0x48]
xchg rbp, rsi
mov rbp, qword [rsp + 0x40]
xchg rbx, rcx
mov rcx, qword [rsp + 0x38]
xchg rbx, rcx
xchg r13, rsi
mov rsi, qword [rsp + 8]
xchg rsi, r13
add rsp, 0x20
push rcx
push rcx
push rdx
push rbx
push rcx
push rax
xchg qword [rsp + 0x30], r14
add rsp, 0x38
ret