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

Disassembly:
cmp rcx, rdx
je 0x140082ab5
nop
push 0x744608ac
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
xchg r13, rax
mov qword [rsp + 0x30], r13
xchg r13, rax
xchg r14, r10
mov r10, r8
xchg r14, r10
xchg rdx, r13
mov r9, r13
xchg r13, rdx
xchg rsi, r10
mov rsi, rcx
xchg r10, rsi
mov r13d, 0x4c1c960
xor r13d, 0x6a716f41
add r13d, 0x5856e50
xor r13d, 0x72bab736
add r13d, 0x6c46ca35
xor r13d, 0x6e7d9cdd
add r13d, 0x6b0c45a
add r13d, 0x48fa104f
sub r13d, 0x6c59c649
cmp rax, rdx
je 0x140082a9d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
xchg rbx, rdi
mov qword [rsp + 0x18], rbx
xchg rbx, rdi
xchg r12, rsi
mov qword [rsp + 0x10], rsi
xchg r12, rsi
xchg r15, r13
mov qword [rsp], r13
xchg r13, r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082996
nop
movzx ecx, byte [r14 + 8]
add cl, 0xa
sub cl, 0xb
shl rbp, cl
add rbp, rbp
nop
xchg rdx, rbx
mov rdx, qword [r14]
xchg rdx, rbx
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x14008279c
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 0x140082755
mov ecx, dword [rbx]
jmp 0x1400828ef
cmp ecx, 0x4e0
jb 0x1400828ef
lea rdi, [rbx + 0x9c4]
mov esi, 0x26602314
add esi, 0x3e66722b
add esi, 0x718cb50
sub esi, 0x1970c81f
add esi, 0x2bd615ed
sub esi, 0x22cd66ae
sub esi, 0x5b7746cc
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 0x1400827dd
lea rdi, [rbx + 0xd50]
mov esi, 0x2f633757
sub esi, 0xd0790f6
add esi, 0x14b1b27a
sub esi, 0x44506a5
xor esi, 0x7e7a948a
xor esi, 0x4cb2c730
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 0x14008284f
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], 0x5abf2e38
add dword [rbx], 0x1ee54f9a
sub dword [rbx], 0x78fe0119
add dword [rbx], 0x4cb85138
xor dword [rbx], 0x4546c4b
xor dword [rbx], 0x33a59871
sub dword [rbx], 0x3300ca7a
xor dword [rbx], 0x47ae6f51
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, 7
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, 0xf
xor edx, eax
mov ecx, edx
shr rcx, 0xc
shr rcx, 1
shr rcx, 1
shr rcx, 3
shr rcx, 1
mov eax, edx
xchg rdx, r10
mov r10, qword [r14 + 0x10]
xchg r10, 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 0x14008272b
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 0x140082718
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
xor edx, edx
mov rcx, rax
xchg rdx, rax
mov rdx, rbp
xchg rdx, rax
div r12
cmp rax, rcx
jb 0x1400829cb
xor edx, edx
mov rax, r15
div r12
cmp rdx, r13
jne 0x140082708
xor edx, edx
xchg rbp, r14
mov rax, r14
xchg rbp, r14
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082a47
shl rdx, 3
shl rdx, 1
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082a47
xchg rsi, rdx
movups xmm0, xmmword [rsi]
xchg rsi, rdx
xchg r8, rax
movups xmm2, xmmword [r8]
xchg r8, rax
xchg r12, rax
movups xmm3, xmmword [r12 + 0x10]
xchg r12, rax
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
xchg rdx, rcx
movups xmm1, xmmword [rcx + 0x10]
xchg rcx, rdx
xchg r11, rax
movups xmmword [r11 + 0x10], xmm1
xchg r11, rax
xchg r10, rdx
movups xmmword [r10], xmm2
xchg r10, rdx
xchg rdx, r10
movups xmmword [r10 + 0x10], xmm3
xchg rdx, r10
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 0x1400826fa
mov r15, qword [rsp]
xchg rbp, r12
mov rbp, qword [rsp + 0x10]
xchg r12, rbp
mov rdi, qword [rsp + 0x18]
xchg r8, rsi
mov r8, qword [rsp + 0x48]
xchg rsi, r8
xchg rbp, r14
mov r14, qword [rsp + 0x40]
xchg rbp, r14
xchg r8, rbx
mov r8, qword [rsp + 0x38]
xchg rbx, r8
xchg r13, r8
mov r8, qword [rsp + 8]
xchg r8, r13
add rsp, 0x20
nop
mov r14, qword [rsp]
add rsp, 8
ret