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

Disassembly:
cmp rcx, rdx
je 0x140082bc3
push r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg rdx, r13
mov qword [rsp + 8], rdx
xchg rdx, r13
xchg rcx, rax
mov qword [rsp + 0x30], rcx
xchg rcx, rax
xchg r14, r11
mov r11, r8
xchg r11, r14
xchg r9, r11
mov r11, rdx
xchg r11, r9
mov r10, rcx
mov r13d, 0x21f8c2f3
add r13d, 0x5188aad7
xor r13d, 0x2965753
sub r13d, 0x4703c02f
sub r13d, 0x6fc2c83
add r13d, 0x1753ebca
xor r13d, 0x1933b5a9
sub r13d, 0x23588c17
cmp rax, rdx
je 0x140082bab
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
xchg rdi, r13
mov qword [rsp + 0x18], r13
xchg rdi, r13
xchg r12, r11
mov qword [rsp + 0x10], r11
xchg r11, r12
xchg r14, r15
mov qword [rsp], r14
xchg r15, r14
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082aca
nop
movzx ecx, byte [r14 + 8]
sub cl, 1
shl rbp, cl
add rbp, rbp
nop
xchg rbx, rbp
mov rbp, qword [r14]
xchg rbx, rbp
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400828ba
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 0x140082873
mov ecx, dword [rbx]
jmp 0x140082a19
cmp ecx, 0x4e0
jb 0x140082a19
lea rdi, [rbx + 0x9c4]
mov esi, 0x4bcb217e
add esi, 0x293c0429
sub esi, 0x42d34238
sub esi, 0x2e6bc17
add esi, 0x23c5b410
sub esi, 0xcc2910b
sub esi, 0x4650497a
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 0x1400828fb
lea rdi, [rbx + 0xd50]
mov esi, 0x1d57f780
add esi, 0x60ac3ce
add esi, 0x686de50
sub esi, 0x3fccaae
sub esi, 0x4bdc573
add esi, 0x3f3c4a9f
sub esi, 0x606b5290
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 0x140082973
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], 0x5a3035df
sub dword [rbx], 0x45cebaa6
add dword [rbx], 0x60bef5b0
xor dword [rbx], 0x1822a3ce
sub dword [rbx], 0x30ee77b2
add dword [rbx], 0x142ff046
add dword [rbx], 0x21fb735b
sub dword [rbx], 0x5f41bf2d
sub dword [rbx], 0x12fdffe9
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, 2
shr ecx, 2
shr ecx, 4
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 3
shl eax, 1
shl eax, 1
shl eax, 1
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 7
shl eax, 5
shl eax, 2
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0xc
shr rcx, 5
shr rcx, 1
mov eax, edx
xchg rdx, r15
mov r15, qword [r14 + 0x10]
xchg rdx, r15
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 0x140082849
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 0x140082839
xor edx, edx
xchg r10, r15
mov rax, r10
xchg r10, r15
div r12
xor edx, edx
xchg rbx, rcx
mov rbx, rax
xchg rcx, rbx
mov rax, rbp
div r12
cmp rax, rcx
jb 0x140082b07
xor edx, edx
xchg rdi, rax
mov rdi, r15
xchg rdi, rax
div r12
cmp rdx, r13
jne 0x140082829
xor edx, edx
xchg rbp, rcx
mov rax, rcx
xchg rbp, rcx
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082b54
shl rdx, 5
add rdx, r10
cmp rax, rdx
je 0x140082b54
movups xmm0, xmmword [rdx]
xchg r14, rax
movups xmm2, xmmword [r14]
xchg r14, rax
movups xmm3, xmmword [rax + 0x10]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm3
nop
sub rax, 0x701784e1
add rax, 0x70178501
xchg r13, r12
mov r12, r13
xchg r12, r13
xchg r12, rax
mov qword [rsp + 0x30], r12
xchg r12, rax
cmp rax, r9
jne 0x14008281b
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
xchg rdi, r15
mov r15, qword [rsp + 0x18]
xchg r15, rdi
xchg rsi, r12
mov r12, qword [rsp + 0x48]
xchg r12, rsi
mov rbp, qword [rsp + 0x40]
xchg rbx, rbp
mov rbp, qword [rsp + 0x38]
xchg rbp, rbx
xchg r13, rdx
mov rdx, qword [rsp + 8]
xchg r13, rdx
add rsp, 0x20
nop
xchg qword [rsp], r14
add rsp, 8
ret