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

Disassembly:
cmp rcx, rdx
je 0x1400829d8
nop
push 0x60c06c15
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r8, r13
mov qword [rsp + 8], r8
xchg r13, r8
mov qword [rsp + 0x30], rax
mov r14, r8
xchg rdx, rbx
mov r9, rbx
xchg rdx, rbx
mov r10, rcx
mov r13d, 0x74ac5547
sub r13d, 0x57dbef90
add r13d, 0x1a5360c6
xor r13d, 0x3b6aeebb
add r13d, 0x59663939
xor r13d, 0x20208e58
sub r13d, 0x2fffd97b
add r13d, 0x1d2eb6ea
xor r13d, 0x32becd17
cmp rax, rdx
je 0x1400829c6
xchg r10, rbx
mov qword [rsp + 0x38], r10
xchg r10, rbx
xchg rsi, rbp
mov qword [rsp + 0x40], rsi
xchg rsi, rbp
xchg rsi, r10
mov qword [rsp + 0x48], r10
xchg r10, rsi
mov qword [rsp + 0x18], rdi
xchg r12, r14
mov qword [rsp + 0x10], r14
xchg r12, r14
xchg r15, r14
mov qword [rsp], r14
xchg r14, r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x1400828c9
nop
movzx ecx, byte [r14 + 8]
sub cl, 7
add cl, 6
shl rbp, cl
add rbp, rbp
nop
xchg rcx, rbx
mov rcx, qword [r14]
xchg rcx, rbx
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400826ee
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 0x1400826a7
mov ecx, dword [rbx]
jmp 0x140082835
cmp ecx, 0x4e0
jb 0x140082835
lea rdi, [rbx + 0x9c4]
mov esi, 0x11cd919a
add esi, 0x155fd01b
sub esi, 0x5bbb6ae
sub esi, 0x194c5bd0
xor esi, 0xe9dd4ff
xor esi, 0x5e228012
sub esi, 0x589a1af7
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 0x14008272f
lea rdi, [rbx + 0xd50]
mov esi, 0x44668dc6
sub esi, 0x87dcdee
add esi, 0x17723b72
xor esi, 0x44bdf6b3
xor esi, 0x5526434b
xor esi, 0x42c14f3e
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 0x1400827a1
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], 0x6588eb2e
sub dword [rbx], 0x515d314a
xor dword [rbx], 0x25ba80b6
add dword [rbx], 0x4508205a
xor dword [rbx], 0x700349cf
xor dword [rbx], 0x69a1063
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, 3
shr ecx, 8
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, 4
shl eax, 1
shl eax, 0xa
xor edx, eax
mov ecx, edx
shr rcx, 0x11
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
xor rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x14008267d
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x14008266a
xor edx, edx
xchg rbx, rax
mov rbx, r15
xchg rbx, rax
div r12
xor edx, edx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
mov rax, rbp
div r12
cmp rax, rcx
jb 0x140082902
xor edx, edx
xchg rcx, rax
mov rcx, r15
xchg rcx, rax
div r12
cmp rdx, r13
jne 0x14008265a
xor edx, edx
mov rax, rbp
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082979
shl rdx, 3
shl rdx, 1
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082979
xchg rbp, rdx
movups xmm0, xmmword [rbp]
xchg rbp, rdx
xchg r13, rax
movups xmm2, xmmword [r13]
xchg r13, rax
xchg r9, rax
movups xmm3, xmmword [r9 + 0x10]
xchg r9, rax
xchg rcx, rax
movups xmmword [rcx], xmm0
xchg rcx, rax
xchg r11, rdx
movups xmm1, xmmword [r11 + 0x10]
xchg r11, rdx
xchg rdx, rax
movups xmmword [rdx + 0x10], xmm1
xchg rdx, rax
xchg rdx, r10
movups xmmword [r10], xmm2
xchg r10, rdx
xchg r11, rdx
movups xmmword [r11 + 0x10], xmm3
xchg r11, rdx
nop
sub rax, 0x21cc6e4c
add rax, 0x21cc6e6c
xchg rbx, r13
mov rbx, r12
xchg rbx, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x14008264c
mov r15, qword [rsp]
xchg r9, r12
mov r9, qword [rsp + 0x10]
xchg r12, r9
xchg rdi, r11
mov r11, qword [rsp + 0x18]
xchg r11, rdi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 8]
add rsp, 0x20
nop
xchg qword [rsp], r14
add rsp, 8
ret