Function at 0x140006a50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x14001c130]
mov r10d, ecx
not r10d
mov r11, r8
mov rbx, rdx
test r8, r8
je 0x140006a99
test bl, 3
je 0x140006a99
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
shr r10d, 8
movzx eax, cl
inc rbx
xor r10d, dword [rsi + rax*4]
sub r11, 1
jne 0x140006a77
cmp r11, 0x20
jb 0x140006cc8
mov rdi, r11
shr rdi, 5
imul rax, rdi, 0xffffffffffffffe0
add r11, rax
xor r10d, dword [rbx]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x400]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 4]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0xc]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x10]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x14]
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
mov r9d, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x18]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x1c]
add rbx, 0x20
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r10d, dword [rsi + rdx*4 + 0x400]
mov eax, r8d
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub rdi, 1
jne 0x140006ab1
cmp r11, 4
jb 0x140006d27
mov r9, r11
shr r9, 2
imul rax, r9, 0xfffffffffffffffc
add r11, rax
xor r10d, dword [rbx]
add rbx, 4
mov r8d, r10d
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r8d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub r9, 1
jne 0x140006cdc
test r11, r11
je 0x140006d49
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
shr r10d, 8
movzx eax, cl
inc rbx
xor r10d, dword [rsi + rax*4]
sub r11, 1
jne 0x140006d2c
mov rbx, qword [rsp + 8]
not r10d
mov rsi, qword [rsp + 0x10]
mov eax, r10d
mov rdi, qword [rsp + 0x18]
ret