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

Disassembly:
cmp rcx, rdx
je 0x140020467
push r14
sub rsp, 0x20
lea rax, [rcx + 4]
mov qword [rsp + 8], r13
mov qword [rsp + 0x30], rax
mov r14, r8
mov r9, rdx
mov r10, rcx
mov r13d, 1
cmp rax, rdx
je 0x14002045c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x18], 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 0x1400203e1
nop
movzx ecx, byte [r14 + 8]
add cl, 0xff
shl rbp, cl
add rbp, rbp
nop
mov r11, qword [r14]
mov ecx, dword [r11]
cmp ecx, 0x270
jne 0x140020294
lea rax, [r11 + 8]
mov ebx, 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 rbx, 1
jne 0x140020250
mov ecx, dword [r11]
jmp 0x140020374
cmp ecx, 0x4e0
jb 0x140020374
lea rbx, [r11 + 0x9c4]
mov edi, 0xe3
mov esi, dword [rbx]
nop
mov eax, esi
mov r8, rbx
mov esi, dword [rbx + 4]
mov edx, eax
xor edx, esi
add rbx, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rdi, 1
jne 0x1400202b0
lea rbx, [r11 + 0xd50]
mov edi, 0x18c
mov esi, dword [rbx]
nop word [rax + rax]
mov eax, esi
mov r8, rbx
mov esi, dword [rbx + 4]
mov edx, eax
xor edx, esi
add rbx, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rdi, 1
jne 0x140020300
mov eax, dword [r11 + 0x1380]
mov edx, eax
xor edx, dword [r11 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 + 0x9c0], ecx
xor ecx, ecx
mov dword [r11], edi
mov eax, ecx
mov edx, dword [r11 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r11], eax
mov ecx, edx
mov eax, dword [r11 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
mov rdx, qword [r14 + 0x10]
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, rdx
ja 0x140020230
movzx ecx, byte [r14 + 8]
or rbp, rax
add cl, 0xff
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x140020220
xor edx, edx
mov rax, r15
div r12
xor edx, edx
mov rcx, rax
mov rax, rbp
div r12
cmp rax, rcx
jb 0x14002040a
xor edx, edx
mov rax, r15
div r12
cmp rdx, r13
jne 0x140020210
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rax, rbp
div r12
cmp rdx, r13
je 0x14002042a
mov ecx, dword [r8]
mov eax, dword [r10 + rdx*4]
mov dword [r8], eax
mov dword [r10 + rdx*4], ecx
add r8, 4
mov r13, r12
mov qword [rsp + 0x30], r8
cmp r8, r9
jne 0x140020202
mov r15, qword [rsp]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov r13, qword [rsp + 8]
add rsp, 0x20
pop r14
ret