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

Disassembly:
cmp rcx, rdx
je 0x140082de8
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r13, r11
mov qword [rsp + 8], r11
xchg r11, r13
mov qword [rsp + 0x30], rax
xchg r8, r15
mov r14, r15
xchg r8, r15
xchg rdx, r11
mov r9, r11
xchg r11, rdx
xchg r10, rcx
mov rcx, r10
xchg r10, rcx
mov r13d, 0x7bef062d
sub r13d, 0x5aa2f303
xor r13d, 0x66888277
xor r13d, 0x34ca15c5
xor r13d, 0xe15f40
xor r13d, 0x73efdbd9
cmp rax, rdx
je 0x140082dca
mov qword [rsp + 0x38], rbx
xchg rbp, rdi
mov qword [rsp + 0x40], rdi
xchg rdi, rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
xchg rbx, r12
mov qword [rsp + 0x10], rbx
xchg rbx, r12
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082cd8
nop
movzx ecx, byte [r14 + 8]
sub cl, 1
shl rbp, cl
add rbp, rbp
nop
xchg rbx, r9
mov r9, qword [r14]
xchg rbx, r9
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x140082ad0
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 0x140082a89
mov ecx, dword [rbx]
jmp 0x140082c2f
cmp ecx, 0x4e0
jb 0x140082c2f
lea rdi, [rbx + 0x9c4]
mov esi, 0x42acd4e7
xor esi, 0x79694d2b
add esi, 0x440dadd3
sub esi, 0xd3e15c0
add esi, 0xd329a2a
sub esi, 0x1c99eb4e
sub esi, 0x10fc98d6
xor esi, 0x52314706
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 0x140082b17
lea rdi, [rbx + 0xd50]
mov esi, 0x2e0545d5
xor esi, 0x18167bb7
xor esi, 0x6a2b41e8
sub esi, 0x12e0cae2
sub esi, 0x7bcc3c1
sub esi, 0x2227fc52
sub esi, 0x1d9a8d89
xor esi, 0x1d86680
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 0x140082b95
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], 0x6f56131
add dword [rbx], 0x31a967f6
sub dword [rbx], 0x27f140a0
xor dword [rbx], 0x878eb61
xor dword [rbx], 0x39dd2348
sub dword [rbx], 0x2d6c559
xor dword [rbx], 0x1e317b55
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, 1
shr ecx, 7
shr ecx, 1
shr ecx, 1
shr ecx, 1
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, 3
shl eax, 8
shl eax, 3
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xe
shr rcx, 3
shr rcx, 1
mov eax, edx
xchg rbx, rdx
mov rbx, qword [r14 + 0x10]
xchg rdx, rbx
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 0x140082a5f
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x140082a4f
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
xor edx, edx
xchg rdi, rax
mov rcx, rdi
xchg rdi, rax
xchg rbp, rsi
mov rax, rsi
xchg rbp, rsi
div r12
cmp rax, rcx
jb 0x140082d17
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x140082a3f
xor edx, edx
xchg rbp, rax
mov rbp, rax
xchg rbp, rax
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082d80
shl rdx, 4
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082d80
xchg rdx, r12
movups xmm0, xmmword [r12]
xchg rdx, r12
xchg r8, rax
movups xmm2, xmmword [r8]
xchg r8, rax
xchg r14, rax
movups xmm3, xmmword [r14 + 0x10]
xchg r14, rax
movups xmmword [rax], xmm0
xchg rdx, r13
movups xmm1, xmmword [r13 + 0x10]
xchg rdx, r13
movups xmmword [rax + 0x10], xmm1
xchg r10, rdx
movups xmmword [r10], xmm2
xchg r10, rdx
movups xmmword [rdx + 0x10], xmm3
neg rax
add rax, 0xffffffffffffffe0
neg rax
xchg r12, r14
mov r13, r14
xchg r14, r12
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140082a31
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
xchg r9, rdi
mov r9, qword [rsp + 0x18]
xchg rdi, r9
xchg rsi, rcx
mov rcx, qword [rsp + 0x48]
xchg rcx, rsi
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xchg rsi, r13
mov rsi, qword [rsp + 8]
xchg rsi, r13
add rsp, 0x20
push rbx
push rax
push rcx
push rdx
push rbx
push rbx
xchg qword [rsp + 0x30], r14
add rsp, 0x38
nop
add rsp, 8
jmp qword [rsp - 8]