Function at 0x140033648
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, r8
test rdx, rdx
je 0x14003396f
mov r12, rdx
mov edi, ecx
cmp r15, 0x40
jb 0x1400336a1
cmp dword [0x140106a44], 0
je 0x1400336a1
mov r14, r15
and r14, 0xfffffffffffffff0
mov esi, 0xffffffff
xor edi, esi
mov rcx, r12
mov rdx, r14
mov r8d, edi
call fcn.140008b40
mov edi, eax
xor edi, esi
sub r15, r14
je 0x14003397b
add r12, r14
not edi
test r15, r15
je 0x1400336e3
mov eax, r12d
and eax, 3
test rax, rax
je 0x1400336e3
lea rax, [0x1400d8df0]
movzx ecx, byte [r12]
inc r12
movzx edx, dil
xor edx, ecx
shr edi, 8
xor edi, dword [rax + rdx*4]
cmp r15, 1
lea r15, [r15 - 1]
je 0x1400336e3
mov ecx, r12d
and ecx, 3
test rcx, rcx
jne 0x1400336ba
cmp r15, 0x20
jb 0x1400338d2
mov r10, 0xffffffffffffffe0
lea r9, [r15 + r10]
and r10, r9
lea r8, [r10 + r12]
add r8, 0x20
mov r11d, 0xff
lea rcx, [0x1400d8df0]
xor edi, dword [r12]
mov eax, edi
and eax, r11d
mov ebx, edi
shr ebx, 8
and ebx, r11d
mov edx, dword [rcx + rbx*4 + 0x800]
xor edx, dword [rcx + rax*4 + 0xc00]
mov eax, edi
shr eax, 0x10
and eax, r11d
xor edx, dword [rcx + rax*4 + 0x400]
shr edi, 0x18
xor edx, dword [rcx + rdi*4]
xor edx, dword [r12 + 4]
mov eax, edx
and eax, r11d
mov esi, edx
shr esi, 8
and esi, r11d
mov ebx, dword [rcx + rsi*4 + 0x800]
xor ebx, dword [rcx + rax*4 + 0xc00]
mov eax, edx
shr eax, 0x10
and eax, r11d
xor ebx, dword [rcx + rax*4 + 0x400]
shr edx, 0x18
xor ebx, dword [rcx + rdx*4]
xor ebx, dword [r12 + 8]
mov eax, ebx
and eax, r11d
mov edx, ebx
shr edx, 8
and edx, r11d
mov esi, dword [rcx + rdx*4 + 0x800]
xor esi, dword [rcx + rax*4 + 0xc00]
mov eax, ebx
shr eax, 0x10
and eax, r11d
xor esi, dword [rcx + rax*4 + 0x400]
shr ebx, 0x18
xor esi, dword [rcx + rbx*4]
xor esi, dword [r12 + 0xc]
mov eax, esi
and eax, r11d
mov edx, esi
shr edx, 8
and edx, r11d
mov ebx, dword [rcx + rdx*4 + 0x800]
xor ebx, dword [rcx + rax*4 + 0xc00]
mov eax, esi
shr eax, 0x10
and eax, r11d
xor ebx, dword [rcx + rax*4 + 0x400]
shr esi, 0x18
xor ebx, dword [rcx + rsi*4]
xor ebx, dword [r12 + 0x10]
mov eax, ebx
and eax, r11d
mov edx, ebx
shr edx, 8
and edx, r11d
mov esi, dword [rcx + rdx*4 + 0x800]
xor esi, dword [rcx + rax*4 + 0xc00]
mov eax, ebx
shr eax, 0x10
and eax, r11d
xor esi, dword [rcx + rax*4 + 0x400]
shr ebx, 0x18
xor esi, dword [rcx + rbx*4]
xor esi, dword [r12 + 0x14]
mov eax, esi
and eax, r11d
mov edx, esi
shr edx, 8
and edx, r11d
mov ebx, dword [rcx + rdx*4 + 0x800]
xor ebx, dword [rcx + rax*4 + 0xc00]
mov eax, esi
shr eax, 0x10
and eax, r11d
xor ebx, dword [rcx + rax*4 + 0x400]
shr esi, 0x18
xor ebx, dword [rcx + rsi*4]
xor ebx, dword [r12 + 0x18]
mov eax, ebx
and eax, r11d
mov edx, ebx
shr edx, 8
and edx, r11d
mov esi, dword [rcx + rdx*4 + 0x800]
xor esi, dword [rcx + rax*4 + 0xc00]
mov eax, ebx
shr eax, 0x10
and eax, r11d
xor esi, dword [rcx + rax*4 + 0x400]
shr ebx, 0x18
xor esi, dword [rcx + rbx*4]
xor esi, dword [r12 + 0x1c]
mov eax, esi
and eax, r11d
mov edx, esi
shr edx, 8
and edx, r11d
mov edi, dword [rcx + rdx*4 + 0x800]
xor edi, dword [rcx + rax*4 + 0xc00]
mov eax, esi
shr eax, 0x10
and eax, r11d
xor edi, dword [rcx + rax*4 + 0x400]
shr esi, 0x18
xor edi, dword [rcx + rsi*4]
add r15, 0xffffffffffffffe0
add r12, 0x20
cmp r15, 0x1f
ja 0x140033710
sub r9, r10
mov r15, r9
mov r12, r8
cmp r15, 4
jb 0x140033944
lea r9, [r15 - 4]
mov r8, r9
shr r8, 2
mov r10d, 0xff
lea rcx, [0x1400d8df0]
mov rsi, r12
xor edi, dword [rsi]
mov ebx, edi
mov eax, edi
mov edx, edi
and edi, r10d
shr ebx, 8
and ebx, r10d
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rdi*4 + 0xc00]
add rsi, 4
shr eax, 0x10
and eax, r10d
xor ebx, dword [rcx + rax*4 + 0x400]
shr edx, 0x18
mov edi, ebx
xor edi, dword [rcx + rdx*4]
add r15, 0xfffffffffffffffc
cmp r15, 3
ja 0x1400338f3
lea r12, [r12 + r8*4]
add r12, 4
and r9d, 3
mov r15, r9
test r15, r15
je 0x14003396b
xor eax, eax
lea rcx, [0x1400d8df0]
movzx edx, byte [r12 + rax]
movzx ebx, dil
xor ebx, edx
shr edi, 8
xor edi, dword [rcx + rbx*4]
inc rax
cmp r15, rax
jne 0x140033952
not edi
jmp 0x14003397b
xor edi, edi
test r15, r15
jne 0x14003397b
call fcn.140049320
mov eax, edi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret