Function at 0x475a10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x475a8f
mov ebx, dword [ebp + 8]
cmp edi, 0x40
jb 0x475a36
cmp dword [0x538f68], 0
jne 0x475b02
not ebx
test edi, edi
je 0x475a6d
mov eax, esi
and eax, 3
je 0x475a6d
lea eax, [esi + 1]
mov ecx, edi
movzx edx, byte [esi]
inc esi
movzx edi, bl
xor edi, edx
shr ebx, 8
xor ebx, dword [edi*4 + 0x51305c]
lea edi, [ecx - 1]
cmp ecx, 1
je 0x475a6d
mov ecx, eax
and ecx, 3
inc eax
test ecx, ecx
jne 0x475a46
cmp edi, 0x20
jae 0x475b36
cmp edi, 4
jae 0x475a9c
mov eax, ebx
test edi, edi
jne 0x475ae6
not eax
mov ebx, eax
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
test edi, edi
jne 0x475a85
call fcn.004599d0
jmp 0x475a85
mov ecx, 0xff
xor ebx, dword [esi]
mov edx, ebx
and edx, ecx
mov eax, ebx
shr eax, 8
and eax, ecx
mov eax, dword [eax*4 + 0x51385c]
xor eax, dword [edx*4 + 0x513c5c]
mov edx, ebx
shr edx, 0xe
and edx, 0x3fc
xor eax, dword [edx + 0x51345c]
add esi, 4
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x51305c]
add edi, 0xfffffffc
mov ebx, eax
cmp edi, 3
jbe 0x475a7d
jmp 0x475aa1
xor ecx, ecx
movzx edx, byte [esi + ecx]
movzx ebx, al
xor ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x51305c]
inc ecx
cmp edi, ecx
je 0x475a81
jmp 0x475ae8
mov eax, edi
and eax, 0xfffffff0
mov dword [ebp - 0x10], eax
not ebx
push ebx
push eax
push esi
call fcn.0046b930
add esp, 0xc
mov ebx, eax
xor eax, eax
mov ecx, edi
and ecx, 0xf
cmovne eax, dword [ebp - 0x10]
not ebx
and edi, 0xf
je 0x475a85
add esi, eax
jmp 0x475a36
xor ebx, dword [esi]
mov ecx, ebx
mov eax, 0xff
and ecx, eax
mov edx, ebx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x51385c]
xor edx, dword [ecx*4 + 0x513c5c]
mov ecx, ebx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor edx, dword [ecx + 0x51345c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x51305c]
xor edx, dword [esi + 4]
mov ecx, edx
mov eax, 0xff
and ecx, eax
mov ebx, edx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x51385c]
xor ebx, dword [ecx*4 + 0x513c5c]
mov ecx, edx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor ebx, dword [ecx + 0x51345c]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x51305c]
xor ebx, dword [esi + 8]
mov ecx, ebx
mov eax, 0xff
and ecx, eax
mov edx, ebx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x51385c]
xor edx, dword [ecx*4 + 0x513c5c]
mov ecx, ebx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor edx, dword [ecx + 0x51345c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x51305c]
xor edx, dword [esi + 0xc]
mov ecx, edx
mov eax, 0xff
and ecx, eax
mov ebx, edx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x51385c]
xor ebx, dword [ecx*4 + 0x513c5c]
mov ecx, edx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor ebx, dword [ecx + 0x51345c]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x51305c]
xor ebx, dword [esi + 0x10]
mov ecx, ebx
mov eax, 0xff
and ecx, eax
mov edx, ebx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x51385c]
xor edx, dword [ecx*4 + 0x513c5c]
mov ecx, ebx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor edx, dword [ecx + 0x51345c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x51305c]
xor edx, dword [esi + 0x14]
mov ecx, edx
mov eax, 0xff
and ecx, eax
mov ebx, edx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x51385c]
xor ebx, dword [ecx*4 + 0x513c5c]
mov ecx, edx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor ebx, dword [ecx + 0x51345c]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x51305c]
xor ebx, dword [esi + 0x18]
mov ecx, ebx
mov eax, 0xff
and ecx, eax
mov edx, ebx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x51385c]
xor edx, dword [ecx*4 + 0x513c5c]
mov ecx, ebx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor edx, dword [ecx + 0x51345c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x51305c]
xor edx, dword [esi + 0x1c]
mov ecx, edx
mov eax, 0xff
and ecx, eax
mov ebx, edx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x51385c]
xor ebx, dword [ecx*4 + 0x513c5c]
mov ecx, edx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
xor ebx, dword [ecx + 0x51345c]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x51305c]
add esi, 0x20
add edi, 0xffffffe0
cmp edi, 0x1f
jbe 0x475a76
jmp 0x475b36