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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10d, ecx
mov rbx, r8
mov r11, rdx
lea rsi, [0x140045f00]
not r10d
test r8, r8
je 0x140018d15
nop
test r11b, 3
je 0x140018d15
movzx ecx, byte [r11]
mov eax, r10d
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
dec rbx
jne 0x140018cf0
cmp rbx, 0x20
jb 0x140018f5b
mov qword [rsp + 0x10], rdi
mov rdi, rbx
shr rdi, 5
mov rax, rdi
imul rax, rax, 0xffffffffffffffe0
add rbx, rax
nop word [rax + rax]
xor r10d, dword [r11]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r10d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 + 4]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 + 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 + 0xc]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 + 0x10]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 + 0x14]
mov eax, r8d
mov r9d, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
mov r8d, dword [rsi + rdx*4 + 0x400]
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
add r11, 0x20
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 - 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [r11 - 4]
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
dec rdi
jne 0x140018d40
mov rdi, qword [rsp + 0x10]
cmp rbx, 4
jb 0x140018fbc
mov r9, rbx
shr r9, 2
mov rax, r9
imul rax, rax, 0xfffffffffffffffc
add rbx, rax
xor r10d, dword [r11]
add r11, 4
mov r8d, r10d
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
dec r9
jne 0x140018f72
test rbx, rbx
je 0x140018fef
nop word [rax + rax]
movzx ecx, byte [r11]
mov eax, r10d
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
dec rbx
jne 0x140018fd0
mov rbx, qword [rsp + 0x18]
not r10d
mov eax, r10d
pop rsi
ret
test rdx, rdx
jne 0x140019008
xor eax, eax
ret
jmp 0x140018cd0
mov r8d, r8d
jmp 0x140019000