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

Disassembly:
cmp rcx, rdx
je 0x140082eb9
nop
push 0x62787e9d
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
mov qword [rsp + 0x30], rax
xchg r8, r9
mov r14, r9
xchg r9, r8
xchg r9, rdx
mov rdx, r9
xchg rdx, r9
xchg r10, rcx
mov rcx, r10
xchg r10, rcx
mov r13d, 0x36c7478f
add r13d, 0x38a20bfd
sub r13d, 0x56c32be7
xor r13d, 0x34cd816f
sub r13d, 0x20a5cc94
add r13d, 0x32689b7b
sub r13d, 0x26c0f91d
xor r13d, 0x176d7c95
cmp rax, rdx
je 0x140082ea1
mov qword [rsp + 0x38], rbx
xchg r9, rbp
mov qword [rsp + 0x40], r9
xchg rbp, r9
xchg rsi, r12
mov qword [rsp + 0x48], r12
xchg r12, rsi
xchg rcx, rdi
mov qword [rsp + 0x18], rcx
xchg rcx, rdi
xchg r14, r12
mov qword [rsp + 0x10], r14
xchg r12, r14
mov qword [rsp], r15
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140082db2
nop
movzx ecx, byte [r14 + 8]
add cl, 0xff
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 0x140082bb4
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 0x140082b6d
mov ecx, dword [rbx]
jmp 0x140082d0d
cmp ecx, 0x4e0
jb 0x140082d0d
lea rdi, [rbx + 0x9c4]
mov esi, 0x3a87db65
add esi, 0x5400086
xor esi, 0x658a1015
add esi, 0x43c1a75
add esi, 0x11482343
xor esi, 0x2f947d64
xor esi, 0x55dbfc9c
sub esi, 0x159d876b
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 0x140082bfb
lea rdi, [rbx + 0xd50]
mov esi, 0x7c8107a2
xor esi, 0x4e45ee41
xor esi, 0x5762e678
sub esi, 0x52052e35
xor esi, 0x7c418667
sub esi, 0x4525874b
add esi, 0x2b8913f2
xor esi, 0x5644f224
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 0x140082c79
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], 0x50650dd0
xor dword [rbx], 0x55ab1ccf
add dword [rbx], 0x29b4ba7c
add dword [rbx], 0x105c4c9
add dword [rbx], 0x25a9795c
xor dword [rbx], 0x563209c0
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, 9
shr ecx, 1
shr ecx, 1
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, 9
shl eax, 4
shl eax, 1
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 7
shr rcx, 3
shr rcx, 8
mov eax, edx
xchg rdx, r8
mov r8, qword [r14 + 0x10]
xchg rdx, r8
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 0x140082b43
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0x48
sub cl, 0x49
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x140082b33
xor edx, edx
mov rax, r15
div r12
xor edx, edx
xchg r15, rcx
mov r15, rax
xchg r15, rcx
xchg rsi, rbp
mov rax, rsi
xchg rsi, rbp
div r12
cmp rax, rcx
jb 0x140082def
xor edx, edx
xchg r15, rax
mov r15, rax
xchg r15, rax
div r12
cmp rdx, r13
jne 0x140082b23
xor edx, edx
xchg rbx, rax
mov rbx, rbp
xchg rbx, rax
div r12
xchg rdi, rax
mov rdi, qword [rsp + 0x30]
xchg rdi, rax
cmp rdx, r13
je 0x140082e4d
shl rdx, 5
add rdx, r10
cmp rax, rdx
je 0x140082e4d
xchg rdx, rbp
movups xmm0, xmmword [rbp]
xchg rdx, rbp
xchg r15, rax
movups xmm2, xmmword [r15]
xchg r15, rax
xchg rdx, rax
movups xmm3, xmmword [rdx + 0x10]
xchg rdx, rax
xchg rdi, rax
movups xmmword [rdi], xmm0
xchg rdi, rax
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm3
sub rax, 0xffffffffffffffe0
xchg r13, r12
mov r12, r13
xchg r12, r13
xchg rdx, rax
mov qword [rsp + 0x30], rdx
xchg rdx, rax
cmp rax, r9
jne 0x140082b15
xchg r15, rsi
mov rsi, qword [rsp]
xchg rsi, r15
xchg rbp, r12
mov rbp, qword [rsp + 0x10]
xchg r12, rbp
xchg rdi, r11
mov r11, qword [rsp + 0x18]
xchg rdi, r11
mov rsi, qword [rsp + 0x48]
xchg rbp, r8
mov r8, qword [rsp + 0x40]
xchg rbp, r8
mov rbx, qword [rsp + 0x38]
xchg r13, rdx
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]