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

Disassembly:
cmp rcx, rdx
je 0x140082bcd
push r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg rcx, r13
mov qword [rsp + 8], rcx
xchg rcx, r13
mov qword [rsp + 0x30], rax
xchg r15, r14
mov r15, r8
xchg r15, r14
mov r9, rdx
mov r10, rcx
mov r13d, 0x28074084
add r13d, 0x3e1f02b0
sub r13d, 0x116abc24
add r13d, 0x140f743d
xor r13d, 0x594a44d5
xor r13d, 0x6a211d23
sub r13d, 0x41e1fc3a
add r13d, 0x44d246c7
sub r13d, 0x5e91ed47
cmp rax, rdx
je 0x140082bba
xchg r8, rbx
mov qword [rsp + 0x38], r8
xchg r8, rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
xchg rbp, r12
mov qword [rsp + 0x10], rbp
xchg rbp, r12
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082ab5
nop
movzx ecx, byte [r14 + 8]
add cl, 0x58
sub cl, 0x59
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400828ae
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 0x140082867
mov ecx, dword [rbx]
jmp 0x140082a0d
cmp ecx, 0x4e0
jb 0x140082a0d
lea rdi, [rbx + 0x9c4]
mov esi, 0x5ff564f6
add esi, 0x1332c4f7
sub esi, 0x42c58c69
add esi, 0x19613eae
sub esi, 0x2a462920
sub esi, 0x1f7db22f
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 0x1400828e9
lea rdi, [rbx + 0xd50]
mov esi, 0x398e9095
add esi, 0x18b05902
xor esi, 0x7b98aaf2
sub esi, 0x10285d12
add esi, 0x5a54e1c7
sub esi, 0x5df89c29
add esi, 0x3231d00f
sub esi, 0x439456f8
xor esi, 0x477a484
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 0x14008296d
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], 0x2baaeaf7
add dword [rbx], 0x1dacc109
sub dword [rbx], 0x34c69a96
add dword [rbx], 0x2ec72bac
add dword [rbx], 0x39016a34
sub dword [rbx], 0x6f3d642f
add dword [rbx], 0x55475786
sub dword [rbx], 0x62639aa1
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, 3
shr ecx, 4
shr ecx, 1
shr ecx, 1
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 1
shl eax, 2
shl eax, 1
shl eax, 1
shl eax, 1
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xe
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0x12
mov eax, edx
xchg rdx, rdi
mov rdi, qword [r14 + 0x10]
xchg rdi, 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
or rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x140082843
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 0x140082830
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
xor edx, edx
xchg r8, rax
mov rcx, r8
xchg r8, rax
xchg r9, rbp
mov rax, r9
xchg r9, rbp
div r12
cmp rax, rcx
jb 0x140082af6
xor edx, edx
xchg r9, r15
mov rax, r9
xchg r9, r15
div r12
cmp rdx, r13
jne 0x140082820
xor edx, edx
mov rax, rbp
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082b6a
shl rdx, 4
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082b6a
xchg rdx, r8
movups xmm0, xmmword [r8]
xchg r8, rdx
xchg r15, rax
movups xmm2, xmmword [r15]
xchg r15, rax
xchg r11, rax
movups xmm3, xmmword [r11 + 0x10]
xchg r11, rax
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
xchg rbx, rdx
movups xmm1, xmmword [rbx + 0x10]
xchg rbx, rdx
xchg r11, rax
movups xmmword [r11 + 0x10], xmm1
xchg r11, rax
xchg rdx, r13
movups xmmword [r13], xmm2
xchg r13, rdx
xchg rdx, r14
movups xmmword [r14 + 0x10], xmm3
xchg rdx, r14
sub rax, 0xffffffffffffffe0
xchg r13, r12
mov r12, r13
xchg r12, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140082812
mov r15, qword [rsp]
xchg rbx, r12
mov rbx, qword [rsp + 0x10]
xchg rbx, r12
xchg r10, rdi
mov r10, qword [rsp + 0x18]
xchg rdi, r10
xchg r9, rsi
mov r9, qword [rsp + 0x48]
xchg rsi, r9
mov rbp, qword [rsp + 0x40]
xchg r8, rbx
mov r8, qword [rsp + 0x38]
xchg rbx, r8
mov r13, qword [rsp + 8]
add rsp, 0x20
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
jmp qword [rsp - 8]