Function at 0x4aa910
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4aab90
mov ebx, dword [ebp + 8]
cmp edx, 0x40
jb 0x4aa95a
cmp dword [0x644708], 0
je 0x4aa95a
mov edi, edx
and edi, 0xfffffff0
not ebx
push ebx
push edi
push esi
mov ebx, edx
call fcn.0042c1e0
mov edx, ebx
add esp, 0xc
mov ebx, eax
not ebx
and edx, 0xf
je 0x4aac00
add esi, edi
not ebx
test edx, edx
je 0x4aa986
mov eax, esi
and eax, 3
je 0x4aa986
mov eax, edx
movzx ecx, byte [esi]
add esi, 1
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [edx*4 + 0x5d0698]
lea edx, [eax - 1]
cmp eax, 1
jne 0x4aa960
cmp edx, 0x20
jb 0x4aab32
nop
xor ebx, dword [esi]
movzx ecx, bl
movzx eax, bh
mov eax, dword [eax*4 + 0x5d0e98]
xor eax, dword [ecx*4 + 0x5d1298]
mov ecx, ebx
shr ecx, 0xe
and ecx, 0x3fc
xor eax, dword [ecx + 0x5d0a98]
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5d0698]
xor eax, dword [esi + 4]
mov edi, edx
movzx edx, al
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x5d0e98]
xor ecx, dword [edx*4 + 0x5d1298]
mov edx, eax
shr edx, 0xe
and edx, 0x3fc
xor ecx, dword [edx + 0x5d0a98]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5d0698]
xor ecx, dword [esi + 8]
movzx edx, cl
movzx eax, ch
mov eax, dword [eax*4 + 0x5d0e98]
xor eax, dword [edx*4 + 0x5d1298]
mov edx, ecx
shr edx, 0xe
and edx, 0x3fc
xor eax, dword [edx + 0x5d0a98]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5d0698]
xor eax, dword [esi + 0xc]
movzx edx, al
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x5d0e98]
xor ecx, dword [edx*4 + 0x5d1298]
mov edx, eax
shr edx, 0xe
and edx, 0x3fc
xor ecx, dword [edx + 0x5d0a98]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5d0698]
xor ecx, dword [esi + 0x10]
movzx edx, cl
movzx eax, ch
mov eax, dword [eax*4 + 0x5d0e98]
xor eax, dword [edx*4 + 0x5d1298]
mov edx, ecx
shr edx, 0xe
and edx, 0x3fc
xor eax, dword [edx + 0x5d0a98]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5d0698]
xor eax, dword [esi + 0x14]
movzx edx, al
movzx ecx, ah
mov ecx, dword [ecx*4 + 0x5d0e98]
xor ecx, dword [edx*4 + 0x5d1298]
mov edx, eax
shr edx, 0xe
and edx, 0x3fc
xor ecx, dword [edx + 0x5d0a98]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5d0698]
xor ecx, dword [esi + 0x18]
movzx edx, cl
movzx eax, ch
mov eax, dword [eax*4 + 0x5d0e98]
xor eax, dword [edx*4 + 0x5d1298]
mov edx, ecx
shr edx, 0xe
and edx, 0x3fc
xor eax, dword [edx + 0x5d0a98]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5d0698]
xor eax, dword [esi + 0x1c]
add esi, 0x20
movzx ecx, al
movzx edx, ah
mov ebx, dword [edx*4 + 0x5d0e98]
mov edx, edi
xor ebx, dword [ecx*4 + 0x5d1298]
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3fc
xor ebx, dword [ecx + 0x5d0a98]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5d0698]
add edx, 0xffffffe0
cmp edx, 0x1f
ja 0x4aa990
cmp edx, 4
jb 0x4aab9d
nop word [eax + eax]
xor ebx, dword [esi]
add esi, 4
movzx ecx, bl
movzx eax, bh
mov eax, dword [eax*4 + 0x5d0e98]
xor eax, dword [ecx*4 + 0x5d1298]
mov ecx, ebx
shr ecx, 0xe
and ecx, 0x3fc
xor eax, dword [ecx + 0x5d0a98]
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5d0698]
add edx, 0xfffffffc
mov ebx, eax
cmp edx, 3
ja 0x4aab40
test edx, edx
je 0x4aaba3
test dl, 1
jne 0x4aaba7
mov ecx, edx
cmp edx, 1
jne 0x4aabca
jmp 0x4aabfe
xor ebx, ebx
test edx, edx
jne 0x4aac00
call fcn.004f9040
jmp 0x4aac00
mov eax, ebx
test edx, edx
jne 0x4aab82
mov ebx, eax
jmp 0x4aabfe
movzx ecx, byte [esi]
add esi, 1
mov edi, edx
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5d0698]
mov edx, edi
lea ecx, [edi - 1]
mov ebx, eax
cmp edx, 1
je 0x4aabfe
xor edx, edx
mov ebx, eax
nop
movzx eax, byte [esi + edx]
movzx edi, bl
xor edi, eax
shr ebx, 8
xor ebx, dword [edi*4 + 0x5d0698]
movzx eax, byte [esi + edx + 1]
movzx edi, bl
xor edi, eax
shr ebx, 8
xor ebx, dword [edi*4 + 0x5d0698]
add edx, 2
cmp ecx, edx
jne 0x4aabd0
not ebx
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret