Function at 0x405970
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edx, dword [esp + 0x38]
test edx, edx
je 0x405a4f
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
not ebx
mov eax, ecx
cmp ecx, 0x17
jb 0x405a56
test dl, 3
mov esi, edx
je 0x405ae8
mov edx, ebx
shr edx, 8
lea edi, [esi + 1]
mov ecx, esi
xor bl, byte [esi]
movzx esi, bl
mov ebx, edx
xor ebx, dword [esi*4 + 0x6af8e0]
mov edx, eax
dec edx
je 0x405ae1
mov esi, edi
and esi, 3
je 0x405ae1
mov edx, ebx
shr edx, 8
mov esi, ecx
lea edi, [ecx + 2]
xor bl, byte [ecx + 1]
movzx esi, bl
mov ebx, edx
xor ebx, dword [esi*4 + 0x6af8e0]
mov edx, eax
add edx, 0xfffffffe
je 0x405ae1
mov esi, edi
and esi, 3
je 0x405ae1
mov edx, ebx
shr edx, 8
mov esi, ecx
lea edi, [ecx + 3]
xor bl, byte [ecx + 2]
movzx esi, bl
mov ebx, edx
xor ebx, dword [esi*4 + 0x6af8e0]
mov edx, eax
add edx, 0xfffffffd
je 0x405ae1
mov esi, edi
and esi, 3
je 0x405ae1
add eax, 0xfffffffc
mov edx, ebx
shr edx, 8
xor bl, byte [ecx + 3]
add ecx, 4
mov dword [esp], ecx
movzx ecx, bl
xor edx, dword [ecx*4 + 0x6af8e0]
mov ebx, edx
jmp 0x405aeb
xor eax, eax
jmp 0x405e8c
mov esi, eax
mov eax, esi
cmp esi, 8
jae 0x405dd5
test eax, eax
je 0x405e88
mov edi, edx
test al, 1
mov esi, eax
jne 0x405a7f
mov edx, esi
cmp esi, 1
jne 0x405a9f
jmp 0x405e8a
lea edx, [esi - 1]
mov eax, ebx
shr eax, 8
xor bl, byte [edi]
inc edi
movzx ecx, bl
xor eax, dword [ecx*4 + 0x6af8e0]
mov ebx, eax
cmp esi, 1
je 0x405e8a
xor esi, esi
mov eax, ebx
nop word cs:[eax + eax]
mov ecx, eax
shr ecx, 8
xor al, byte [edi + esi]
movzx eax, al
xor ecx, dword [eax*4 + 0x6af8e0]
mov eax, ecx
shr eax, 8
xor cl, byte [edi + esi + 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6af8e0]
add esi, 2
cmp edx, esi
jne 0x405ab0
jmp 0x405e8a
mov eax, edx
mov dword [esp], edi
jmp 0x405aeb
mov dword [esp], esi
mov edx, 0xcccccccd
mov dword [esp + 0x18], eax
mul edx
shr edx, 4
lea eax, [edx*4]
lea edi, [eax + eax*4]
mov ecx, edx
dec ecx
je 0x405c7a
mov dword [esp + 0x14], edi
lea eax, [edx + edx*4]
lea eax, [eax*4 - 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp]
mov dword [esp + 8], 0
xor eax, eax
mov dword [esp + 4], 0
nop dword [eax + eax]
mov dword [esp + 0x1c], ecx
xor ebx, dword [esi]
movzx edi, bl
movzx ebp, bh
mov ebp, dword [ebp*4 + 0x6b00e0]
xor ebp, dword [edi*4 + 0x6afce0]
mov edi, ebx
mov ecx, ebx
shr edi, 0xe
and edi, 0x3fc
xor ebp, dword [edi + 0x6b04e0]
shr ecx, 0x18
mov ebx, ebp
xor ebx, dword [ecx*4 + 0x6b08e0]
xor eax, dword [esi + 4]
movzx ecx, al
movzx edi, ah
mov edi, dword [edi*4 + 0x6b00e0]
xor edi, dword [ecx*4 + 0x6afce0]
mov ecx, eax
mov edx, eax
shr ecx, 0xe
and ecx, 0x3fc
xor edi, dword [ecx + 0x6b04e0]
shr edx, 0x18
xor edi, dword [edx*4 + 0x6b08e0]
mov eax, dword [esp + 4]
xor eax, dword [esi + 8]
movzx ecx, al
movzx edx, ah
mov edx, dword [edx*4 + 0x6b00e0]
xor edx, dword [ecx*4 + 0x6afce0]
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0x6b04e0]
shr eax, 0x18
xor edx, dword [eax*4 + 0x6b08e0]
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
xor edx, dword [esi + 0xc]
movzx eax, dl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x6b00e0]
xor ecx, dword [eax*4 + 0x6afce0]
mov eax, edx
shr eax, 0xe
and eax, 0x3fc
xor ecx, dword [eax + 0x6b04e0]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x6b08e0]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
xor edx, dword [esi + 0x10]
movzx eax, dl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x6b00e0]
xor ecx, dword [eax*4 + 0x6afce0]
mov eax, edx
shr eax, 0xe
and eax, 0x3fc
xor ecx, dword [eax + 0x6b04e0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x6b08e0]
mov eax, edi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
add esi, 0x14
dec ecx
jne 0x405b40
mov edx, dword [esp]
add edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
jmp 0x405c97
mov dword [esp + 4], 0
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov edx, dword [esp]
xor ebx, dword [edx]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x6af8e0]
shr ebx, 8
xor ecx, dword [edx + 4]
xor ecx, ebx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
mov ebx, dword [esp + 4]
xor ebx, dword [eax*4 + 0x6af8e0]
shr ecx, 8
xor ebx, dword [edx + 8]
xor ebx, ecx
movzx eax, bl
mov ecx, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
mov ebx, dword [esp + 8]
xor ebx, dword [eax*4 + 0x6af8e0]
shr ecx, 8
xor ebx, dword [edx + 0xc]
xor ebx, ecx
movzx eax, bl
mov ecx, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6af8e0]
movzx eax, cl
mov ebx, dword [esp + 0xc]
xor ebx, dword [eax*4 + 0x6af8e0]
xor ebx, dword [edx + 0x10]
shr ecx, 8
xor ebx, ecx
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
mov esi, dword [esp + 0x18]
sub esi, edi
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6af8e0]
add edx, 0x14
mov eax, esi
cmp esi, 8
jb 0x405a63
mov esi, eax
nop word [eax + eax]
mov eax, ebx
xor bl, byte [edx]
shr eax, 8
movzx ecx, bl
xor eax, dword [ecx*4 + 0x6af8e0]
mov ecx, eax
xor al, byte [edx + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6af8e0]
mov eax, ecx
xor cl, byte [edx + 2]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6af8e0]
mov ecx, eax
xor al, byte [edx + 3]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6af8e0]
mov eax, ecx
xor cl, byte [edx + 4]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6af8e0]
add esi, 0xfffffff8
mov ecx, eax
xor al, byte [edx + 5]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6af8e0]
mov eax, ecx
shr eax, 8
xor cl, byte [edx + 6]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6af8e0]
mov ebx, eax
shr ebx, 8
xor al, byte [edx + 7]
add edx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x6af8e0]
cmp esi, 7
ja 0x405de0
mov eax, esi
test eax, eax
jne 0x405a6b
mov eax, ebx
not eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret