Function at 0x40afc9
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
cmp dword [ebp + 0xc], 0
jne 0x40afdf
mov eax, 0
jmp 0x40b648
not dword [ebp + 8]
cmp dword [ebp + 0x10], 0x16
jbe 0x40b604
jmp 0x40b01b
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 0
je 0x40b02b
mov eax, dword [ebp + 0xc]
and eax, 3
test eax, eax
jne 0x40afee
mov eax, dword [ebp + 0x10]
mov edx, 0xcccccccd
mul edx
mov eax, edx
shr eax, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 2
sub dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x64]
movzx eax, byte [eax]
test al, al
je 0x40b282
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x40b1f4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
add eax, 4
mov eax, dword [eax]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
add eax, 8
mov eax, dword [eax]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
add eax, 0xc
mov eax, dword [eax]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov eax, dword [eax]
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
add dword [ebp - 8], 0x14
mov eax, dword [ebp - 0x38]
movzx eax, al
mov eax, dword [eax*4 + 0x411620]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
movzx eax, al
mov eax, dword [eax*4 + 0x411620]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
movzx eax, al
mov eax, dword [eax*4 + 0x411620]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
movzx eax, al
mov eax, dword [eax*4 + 0x411620]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
movzx eax, al
mov eax, dword [eax*4 + 0x411620]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 1
jmp 0x40b1ea
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x38]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x411620]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x3c]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x411620]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x40]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x411620]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x44]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x411620]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x48]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x411620]
xor dword [ebp - 0x20], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 3
jle 0x40b132
sub dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x40b08f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._crc_word
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, 4
mov eax, dword [eax]
xor eax, dword [ebp - 0x14]
xor eax, dword [ebp + 8]
mov dword [esp], eax
call sym._crc_word
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, 8
mov eax, dword [eax]
xor eax, dword [ebp - 0x18]
xor eax, dword [ebp + 8]
mov dword [esp], eax
call sym._crc_word
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, 0xc
mov eax, dword [eax]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp + 8]
mov dword [esp], eax
call sym._crc_word
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov eax, dword [eax]
xor eax, dword [ebp - 0x20]
xor eax, dword [ebp + 8]
mov dword [esp], eax
call sym._crc_word
mov dword [ebp + 8], eax
add dword [ebp - 8], 0x14
jmp 0x40b4ad
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._byte_swap
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
jmp 0x40b416
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
add eax, 4
mov eax, dword [eax]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
add eax, 8
mov eax, dword [eax]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
add eax, 0xc
mov eax, dword [eax]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov eax, dword [eax]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
add dword [ebp - 8], 0x14
mov eax, dword [ebp - 0x4c]
movzx eax, al
mov eax, dword [eax*4 + 0x412620]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
movzx eax, al
mov eax, dword [eax*4 + 0x412620]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x54]
movzx eax, al
mov eax, dword [eax*4 + 0x412620]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x58]
movzx eax, al
mov eax, dword [eax*4 + 0x412620]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
movzx eax, al
mov eax, dword [eax*4 + 0x412620]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 1
jmp 0x40b40c
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x4c]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x412620]
xor dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x50]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x412620]
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x54]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x412620]
xor dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x58]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x412620]
xor dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
mov edx, dword [ebp - 0x5c]
mov ecx, eax
shr edx, cl
mov eax, edx
movzx eax, al
mov edx, dword [ebp - 0xc]
shl edx, 8
add eax, edx
mov eax, dword [eax*4 + 0x412620]
xor dword [ebp - 0x34], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 3
jle 0x40b354
sub dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x40b2b1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._crc_word_big
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
add eax, 4
mov eax, dword [eax]
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._crc_word_big
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
add eax, 8
mov eax, dword [eax]
xor eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._crc_word_big
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
add eax, 0xc
mov eax, dword [eax]
xor eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._crc_word_big
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov eax, dword [eax]
xor eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._crc_word_big
mov dword [ebp - 0x60], eax
add dword [ebp - 8], 0x14
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym._byte_swap
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
jmp 0x40b604
sub dword [ebp + 0x10], 8
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 7
ja 0x40b4b8
jmp 0x40b63d
sub dword [ebp + 0x10], 1
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov dword [ebp + 0xc], edx
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, ecx
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 0
jne 0x40b610
mov eax, dword [ebp + 8]
not eax
leave
ret