Function at 0x1008588d
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
ja case.default.0x10085747
mov ecx, dword [ebp - 0x14]
jmp dword [ecx*4 + 0x10085a70]
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x10292908]
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 4]
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10292908]
mov dword [ebp - 4], ecx
movzx edx, byte [ebp - 4]
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [edx*4 + 0x10292908]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x10292908]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x10085a6a
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 4]
xor eax, ecx
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [eax*4 + 0x10292908]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
jmp 0x10085a6a
mov ecx, dword [ebp - 8]
and ecx, 3
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x18]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x1008594a
cmp dword [ebp - 0xc], 2
je 0x1008591f
cmp dword [ebp - 0xc], 3
je 0x100858f4
jmp 0x10085975
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 4]
xor edx, eax
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [edx*4 + 0x10292908]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 4]
xor edx, eax
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [edx*4 + 0x10292908]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 4]
xor edx, eax
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [edx*4 + 0x10292908]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
sar ecx, 3
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x40], 0
je 0x10085a5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx]
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 4]
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10292908]
mov dword [ebp - 4], ecx
movzx edx, byte [ebp - 4]
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [edx*4 + 0x10292908]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x10292908]
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 4]
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10292908]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x10292908]
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 4]
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10292908]
mov dword [ebp - 4], ecx
movzx edx, byte [ebp - 4]
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [edx*4 + 0x10292908]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 4]
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x10292908]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
jmp 0x1008597e
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov dword [ebp + 0x10], ecx
jmp 0x10085734
mov esp, ebp
pop ebp
ret