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

Disassembly:
push rbx
test rdx, rdx
je 0x6c286a82
test r8d, r8d
not ecx
je 0x6c286801
test dl, 3
je 0x6c286810
lea r9, [0x6c2a3080]
jmp 0x6c2867e5
test dl, 3
je 0x6c286810
add rdx, 1
mov r10d, ecx
shr ecx, 8
xor r10b, byte [rdx - 1]
movzx r10d, r10b
xor ecx, dword [r9 + r10*4]
sub r8d, 1
jne 0x6c2867e0
mov eax, ecx
not eax
pop rbx
ret
cmp r8d, 0x1f
mov r10, rdx
jbe 0x6c2869e8
lea r11d, [r8 - 0x20]
lea r9, [0x6c2a3080]
shr r11d, 5
add r11, 1
shl r11, 5
add r11, rdx
nop word [rax + rax]
xor ecx, dword [r10]
mov ebx, ecx
movzx edx, cl
mov eax, ecx
shr ebx, 0x18
mov edx, dword [r9 + rdx*4 + 0xc00]
shr eax, 0x10
xor edx, dword [r9 + rbx*4]
movzx ecx, ch
movzx eax, al
xor edx, dword [r10 + 4]
xor edx, dword [r9 + rcx*4 + 0x800]
xor edx, dword [r9 + rax*4 + 0x400]
mov ebx, edx
movzx eax, dl
mov ecx, edx
shr ebx, 0x18
mov eax, dword [r9 + rax*4 + 0xc00]
shr ecx, 0x10
xor eax, dword [r9 + rbx*4]
movzx edx, dh
movzx ecx, cl
xor eax, dword [r10 + 8]
xor eax, dword [r9 + rdx*4 + 0x800]
xor eax, dword [r9 + rcx*4 + 0x400]
mov ebx, eax
movzx edx, al
mov ecx, eax
shr ebx, 0x18
mov edx, dword [r9 + rdx*4 + 0xc00]
shr ecx, 0x10
xor edx, dword [r9 + rbx*4]
movzx eax, ah
movzx ecx, cl
xor edx, dword [r10 + 0xc]
xor edx, dword [r9 + rax*4 + 0x800]
xor edx, dword [r9 + rcx*4 + 0x400]
mov ebx, edx
movzx eax, dl
mov ecx, edx
shr ebx, 0x18
mov eax, dword [r9 + rax*4 + 0xc00]
shr ecx, 0x10
xor eax, dword [r9 + rbx*4]
movzx edx, dh
movzx ecx, cl
xor eax, dword [r10 + 0x10]
xor eax, dword [r9 + rdx*4 + 0x800]
xor eax, dword [r9 + rcx*4 + 0x400]
mov ebx, eax
movzx edx, al
mov ecx, eax
shr ebx, 0x18
mov edx, dword [r9 + rdx*4 + 0xc00]
shr ecx, 0x10
xor edx, dword [r9 + rbx*4]
movzx eax, ah
movzx ecx, cl
xor edx, dword [r10 + 0x14]
xor edx, dword [r9 + rax*4 + 0x800]
xor edx, dword [r9 + rcx*4 + 0x400]
mov ecx, edx
mov ebx, edx
movzx eax, dl
shr ecx, 0x10
shr ebx, 0x18
mov eax, dword [r9 + rax*4 + 0xc00]
xor eax, dword [r9 + rbx*4]
movzx edx, dh
movzx ecx, cl
xor eax, dword [r10 + 0x18]
add r10, 0x20
xor eax, dword [r9 + rdx*4 + 0x800]
xor eax, dword [r9 + rcx*4 + 0x400]
mov ebx, eax
movzx edx, al
mov ecx, eax
shr ebx, 0x18
mov edx, dword [r9 + rdx*4 + 0xc00]
shr ecx, 0x10
xor edx, dword [r9 + rbx*4]
movzx eax, ah
movzx ecx, cl
xor edx, dword [r10 - 4]
xor edx, dword [r9 + rax*4 + 0x800]
xor edx, dword [r9 + rcx*4 + 0x400]
mov ebx, edx
mov eax, edx
movzx ecx, dl
shr ebx, 0x18
shr eax, 0x10
mov ecx, dword [r9 + rcx*4 + 0xc00]
movzx edx, dh
xor ecx, dword [r9 + rbx*4]
movzx eax, al
xor ecx, dword [r9 + rdx*4 + 0x800]
xor ecx, dword [r9 + rax*4 + 0x400]
cmp r10, r11
jne 0x6c286840
and r8d, 0x1f
cmp r8d, 3
jbe 0x6c286a46
lea eax, [r8 - 4]
lea r9, [0x6c2a3080]
shr eax, 2
lea rbx, [r10 + rax*4 + 4]
add r10, 4
xor ecx, dword [r10 - 4]
mov edx, ecx
mov r11d, ecx
movzx eax, cl
shr edx, 0x18
shr r11d, 0x10
movzx ecx, ch
mov eax, dword [r9 + rax*4 + 0xc00]
xor eax, dword [r9 + rdx*4]
movzx r11d, r11b
xor eax, dword [r9 + rcx*4 + 0x800]
mov ecx, dword [r9 + r11*4 + 0x400]
xor ecx, eax
cmp r10, rbx
jne 0x6c286a01
and r8d, 3
test r8d, r8d
je 0x6c286801
lea eax, [r8 - 1]
lea r9, [0x6c2a3080]
lea rax, [r10 + rax + 1]
nop
add r10, 1
mov edx, ecx
shr ecx, 8
xor dl, byte [r10 - 1]
movzx edx, dl
xor ecx, dword [r9 + rdx*4]
cmp r10, rax
jne 0x6c286a60
mov eax, ecx
not eax
jmp 0x6c286805
xor eax, eax
pop rbx
ret