Function at 0x1400524dc
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 0x140052804
mov r12, rdx
mov edi, ecx
cmp r15, 0x40
jb 0x140052536
cmp dword [0x1401a3104], 0
je 0x140052536
mov r14, r15
and r14, 0xfffffffffffffff0
mov esi, 0xffffffff
xor edi, esi
mov rcx, r12
mov rdx, r14
mov r8d, edi
call fcn.140007ca4
mov edi, eax
xor edi, esi
and r15, 0xf
je 0x140052810
add r12, r14
not edi
test r15, r15
je 0x140052578
mov eax, r12d
and eax, 3
test rax, rax
je 0x140052578
lea rax, [0x14015a8e0]
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 0x140052578
mov ecx, r12d
and ecx, 3
test rcx, rcx
jne 0x14005254f
cmp r15, 0x20
jb 0x140052767
mov r10, 0xffffffffffffffe0
lea r9, [r15 + r10]
and r10, r9
lea r8, [r10 + r12]
add r8, 0x20
mov r11d, 0xff
lea rcx, [0x14015a8e0]
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 0x1400525a5
sub r9, r10
mov r15, r9
mov r12, r8
cmp r15, 4
jb 0x1400527d9
lea r9, [r15 - 4]
mov r8, r9
shr r8, 2
mov r10d, 0xff
lea rcx, [0x14015a8e0]
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 0x140052788
lea r12, [r12 + r8*4]
add r12, 4
and r9d, 3
mov r15, r9
test r15, r15
je 0x140052800
xor eax, eax
lea rcx, [0x14015a8e0]
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 0x1400527e7
not edi
jmp 0x140052810
xor edi, edi
test r15, r15
jne 0x140052810
call fcn.14008f5b8
mov eax, edi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret