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

Disassembly:
cmp rcx, rdx
je 0x140082961
nop
sub rsp, 8
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
xchg r13, r11
mov qword [rsp + 8], r11
xchg r13, r11
mov qword [rsp + 0x30], rax
mov r14, r8
xchg rdx, r9
mov rdx, r9
xchg r9, rdx
mov r10, rcx
mov r13d, 0x7de27395
xor r13d, 0x5b4bb5ca
xor r13d, 0x2a2e632b
add r13d, 0x43e64c4e
xor r13d, 0x6525d522
add r13d, 0x48f3aa73
xor r13d, 0x188292bc
xor r13d, 0x603a1d23
xor r13d, 0x68340cd
cmp rax, rdx
je 0x140082949
mov qword [rsp + 0x38], rbx
xchg rdi, rbp
mov qword [rsp + 0x40], rdi
xchg rbp, rdi
mov qword [rsp + 0x48], rsi
xchg rdx, rdi
mov qword [rsp + 0x18], rdx
xchg rdx, rdi
mov qword [rsp + 0x10], r12
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082856
nop
movzx ecx, byte [r14 + 8]
sub cl, 0x7e
add cl, 0x7d
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x140082655
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 0x14008260e
mov ecx, dword [rbx]
jmp 0x1400827ae
cmp ecx, 0x4e0
jb 0x1400827ae
lea rdi, [rbx + 0x9c4]
mov esi, 0x58cd6d8b
add esi, 0x1750134c
xor esi, 0x7d096701
xor esi, 0x65be97c8
sub esi, 0x3e73eda0
sub esi, 0x12b43033
sub esi, 0x17825168
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 0x140082696
lea rdi, [rbx + 0xd50]
mov esi, 0x390f36cf
sub esi, 0x1cb5c733
add esi, 0x416819a7
xor esi, 0x1ea84ef8
add esi, 0xd3e8392
xor esi, 0x13864b9c
sub esi, 0x2e451363
xor esi, 0x14e8ece2
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 0x140082714
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], 0x2efea334
xor dword [rbx], 0x57785ebc
sub dword [rbx], 0x34c262f7
xor dword [rbx], 0x14c4dc9e
xor dword [rbx], 0x3cfe9145
xor dword [rbx], 0x3de81181
sub dword [rbx], 0x5116c6cb
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, 5
shr ecx, 4
shr ecx, 1
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 4
shl eax, 2
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, 0xb
shr rcx, 1
shr rcx, 1
shr rcx, 2
shr rcx, 1
shr rcx, 1
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
or rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x1400825ea
or rbp, rcx
movzx ecx, byte [r14 + 8]
sub cl, 1
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x1400825d7
xor edx, edx
mov rax, r15
div r12
xor edx, edx
xchg r8, rax
mov rcx, r8
xchg r8, rax
xchg r10, rbp
mov rax, r10
xchg r10, rbp
div r12
cmp rax, rcx
jb 0x140082893
xor edx, edx
xchg r15, r10
mov rax, r10
xchg r15, r10
div r12
cmp rdx, r13
jne 0x1400825c7
xor edx, edx
xchg r9, rbp
mov rax, r9
xchg r9, rbp
div r12
mov rax, qword [rsp + 0x30]
cmp rdx, r13
je 0x140082905
shl rdx, 4
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140082905
xchg rdx, r11
movups xmm0, xmmword [r11]
xchg rdx, r11
xchg rcx, rax
movups xmm2, xmmword [rcx]
xchg rcx, rax
xchg rdi, rax
movups xmm3, xmmword [rdi + 0x10]
xchg rdi, rax
xchg r13, rax
movups xmmword [r13], xmm0
xchg r13, rax
xchg rdx, rcx
movups xmm1, xmmword [rcx + 0x10]
xchg rdx, rcx
xchg r9, rax
movups xmmword [r9 + 0x10], xmm1
xchg r9, rax
xchg r15, rdx
movups xmmword [r15], xmm2
xchg r15, rdx
movups xmmword [rdx + 0x10], xmm3
neg rax
add rax, 0xffffffffffffffe0
neg rax
xchg r12, r13
mov r12, r13
xchg r13, r12
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x1400825b9
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
xchg rdi, r10
mov r10, qword [rsp + 0x18]
xchg rdi, r10
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xchg rdx, r13
mov rdx, qword [rsp + 8]
xchg rdx, r13
add rsp, 0x20
nop
mov r14, qword [rsp]
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]