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

Disassembly:
cmp rcx, rdx
je 0x140082c9d
push rax
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r15, r13
mov qword [rsp + 8], r15
xchg r15, r13
xchg rdx, rax
mov qword [rsp + 0x30], rdx
xchg rdx, rax
xchg r8, r14
mov r8, r14
xchg r14, r8
xchg r10, r9
mov r10, rdx
xchg r10, r9
mov r10, rcx
mov r13d, 0x31d4cba8
xor r13d, 0x470dc738
sub r13d, 0x2260861d
xor r13d, 0x47003f66
add r13d, 0xba01ea4
add r13d, 0x3d3d6a1d
sub r13d, 0x5c5641d5
cmp rax, rdx
je 0x140082c84
mov qword [rsp + 0x38], rbx
xchg r14, rbp
mov qword [rsp + 0x40], r14
xchg rbp, r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], rdi
xchg r12, rbx
mov qword [rsp + 0x10], rbx
xchg r12, rbx
xchg r15, r13
mov qword [rsp], r13
xchg r15, r13
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082b99
nop
movzx ecx, byte [r14 + 8]
neg cl
add cl, 1
neg cl
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400829a4
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 0x14008295d
mov ecx, dword [rbx]
jmp 0x140082af1
cmp ecx, 0x4e0
jb 0x140082af1
lea rdi, [rbx + 0x9c4]
mov esi, 0x57feefbd
xor esi, 0x81267a8
sub esi, 0x14e93d86
sub esi, 0x45e01554
add esi, 0x10cd7e12
add esi, 0x3a57aa06
xor esi, 0x473fc934
sub esi, 0x17779384
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 0x1400829eb
lea rdi, [rbx + 0xd50]
mov esi, 0x435f462a
sub esi, 0x3b622833
xor esi, 0x1e53fc7f
add esi, 0x303d8937
sub esi, 0x1a5a356a
sub esi, 0x2f9233c9
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 0x140082a5d
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], 0x41c3ef10
xor dword [rbx], 0x7b4ec363
xor dword [rbx], 0xac9b8d0
xor dword [rbx], 0x431d48c5
sub dword [rbx], 0x3155e0ea
xor dword [rbx], 0x4203fb7c
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, 4
shl eax, 3
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xb
shl eax, 1
shl eax, 2
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 0x10
shr rcx, 1
shr rcx, 1
mov eax, edx
xchg rcx, rdx
mov rcx, qword [r14 + 0x10]
xchg rdx, rcx
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 0x140082939
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0x1c
sub cl, 0x1d
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x140082925
xor edx, edx
mov rax, r15
div r12
xor edx, edx
mov rcx, rax
xchg r12, rbp
mov rax, r12
xchg rbp, r12
div r12
cmp rax, rcx
jb 0x140082bd0
xor edx, edx
xchg rbx, rax
mov rbx, r15
xchg rbx, rax
div r12
cmp rdx, r13
jne 0x140082915
xor edx, edx
xchg rdi, rbp
mov rax, rdi
xchg rbp, rdi
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082c40
shl rdx, 5
add rdx, r10
cmp rax, rdx
je 0x140082c40
xchg rdx, r9
movups xmm0, xmmword [r9]
xchg rdx, r9
xchg r15, rax
movups xmm2, xmmword [r15]
xchg r15, rax
xchg r14, rax
movups xmm3, xmmword [r14 + 0x10]
xchg r14, rax
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
xchg rdx, r13
movups xmm1, xmmword [r13 + 0x10]
xchg r13, rdx
xchg r10, rax
movups xmmword [r10 + 0x10], xmm1
xchg r10, rax
movups xmmword [rdx], xmm2
xchg rdx, r14
movups xmmword [r14 + 0x10], xmm3
xchg r14, rdx
sub rax, 0xffffffffffffffe0
xchg r13, r9
mov r9, r12
xchg r13, r9
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x140082907
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
xchg r12, rsi
mov r12, qword [rsp + 0x48]
xchg rsi, r12
xchg rbp, r15
mov r15, qword [rsp + 0x40]
xchg r15, rbp
mov rbx, qword [rsp + 0x38]
xchg r13, r8
mov r8, qword [rsp + 8]
xchg r8, r13
add rsp, 0x20
nop
add rsp, 8
mov r14, qword [rsp - 8]
ret