Function at 0x45d390
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x45d88a
mov ebx, dword [ebp + 8]
cmp esi, 0x40
jb 0x45d3bc
cmp dword [0x5a7770], 0
jne 0x45d63e
not ebx
cmp esi, 0x17
jae 0x45d4a5
cmp esi, 8
jae 0x45d3fb
test esi, esi
je 0x45d49e
xor eax, eax
mov edi, ebx
xor bl, byte [edx + eax]
shr edi, 8
movzx ecx, bl
xor edi, dword [ecx*4 + 0x57e534]
inc eax
mov ebx, edi
cmp esi, eax
jne 0x45d3d8
not edi
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
xor bl, byte [edx]
shr eax, 8
movzx ecx, bl
xor eax, dword [ecx*4 + 0x57e534]
mov ecx, eax
xor al, byte [edx + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
xor cl, byte [edx + 2]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x57e534]
mov ecx, eax
xor al, byte [edx + 3]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
xor cl, byte [edx + 4]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x57e534]
add esi, 0xfffffff8
mov ecx, eax
xor al, byte [edx + 5]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
shr eax, 8
xor cl, byte [edx + 6]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x57e534]
mov ebx, eax
shr ebx, 8
xor al, byte [edx + 7]
add edx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x57e534]
cmp esi, 7
jbe 0x45d3cc
jmp 0x45d3fb
mov edi, ebx
jmp 0x45d3ef
test dl, 3
mov dword [ebp - 0x10], edx
jne 0x45d851
mov edx, 0xcccccccd
mov eax, esi
mul edx
shr edx, 4
lea eax, [edx*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x40], eax
xor edi, edi
mov ecx, edx
dec ecx
jne 0x45d676
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
xor ebx, dword [ecx]
mov ecx, ebx
shr ecx, 8
mov edx, 0xff
and ebx, edx
xor ecx, dword [ebx*4 + 0x57e534]
mov ebx, ecx
shr ebx, 8
and ecx, edx
xor ebx, dword [ecx*4 + 0x57e534]
mov ecx, ebx
shr ecx, 8
and ebx, edx
xor ecx, dword [ebx*4 + 0x57e534]
mov ebx, ecx
shr ebx, 8
and ecx, edx
xor ebx, dword [ecx*4 + 0x57e534]
mov ecx, dword [ebp - 0x10]
xor edi, dword [ecx + 4]
xor edi, ebx
mov ecx, edi
shr ecx, 8
and edi, edx
xor ecx, dword [edi*4 + 0x57e534]
mov edi, ecx
shr edi, 8
and ecx, edx
xor edi, dword [ecx*4 + 0x57e534]
mov ecx, edi
shr ecx, 8
and edi, edx
xor ecx, dword [edi*4 + 0x57e534]
mov edi, ecx
shr edi, 8
and ecx, edx
xor edi, dword [ecx*4 + 0x57e534]
mov ecx, dword [ebp - 0x10]
xor eax, dword [ecx + 8]
xor eax, edi
mov ecx, eax
shr ecx, 8
and eax, edx
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x57e534]
mov ecx, eax
shr ecx, 8
and eax, edx
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x57e534]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
xor edi, dword [ecx + 0xc]
xor edi, eax
mov eax, edi
shr eax, 8
and edi, edx
xor eax, dword [edi*4 + 0x57e534]
mov ecx, eax
shr ecx, 8
and eax, edx
xor ecx, dword [eax*4 + 0x57e534]
mov eax, ecx
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x57e534]
mov ecx, eax
shr ecx, 8
and eax, edx
xor ecx, dword [eax*4 + 0x57e534]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
xor edi, dword [eax + 0x10]
xor edi, ecx
mov eax, edi
shr eax, 8
and edi, edx
xor eax, dword [edi*4 + 0x57e534]
mov ecx, eax
shr ecx, 8
and eax, edx
xor ecx, dword [eax*4 + 0x57e534]
sub esi, dword [ebp - 0x40]
mov eax, ecx
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x57e534]
mov ebx, eax
and eax, edx
mov edx, dword [ebp - 0x10]
shr ebx, 8
xor ebx, dword [eax*4 + 0x57e534]
add edx, 0x14
jmp 0x45d3c7
mov edi, esi
and edi, 0xfffffff0
not ebx
push ebx
push edi
push edx
call fcn.0049dc10
add esp, 0xc
mov ebx, eax
xor eax, eax
mov edx, esi
and edx, 0xf
cmovne eax, edi
and esi, 0xf
je 0x45d66d
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov edx, ecx
jmp 0x45d3c7
not ebx
mov edi, ebx
jmp 0x45d3f1
lea eax, [edx + edx*4]
lea eax, [eax*4 - 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
xor eax, eax
xor edi, edi
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], ecx
xor ebx, dword [edx]
mov edx, ebx
mov ecx, 0xff
and edx, ecx
mov dword [ebp - 0x20], edx
mov ecx, ebx
shr ecx, 8
mov edx, 0xff
and ecx, edx
mov ecx, dword [ecx*4 + 0x57ed34]
mov edx, dword [ebp - 0x20]
xor ecx, dword [edx*4 + 0x57e934]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
xor edi, dword [ecx + 4]
mov ecx, edi
mov edx, 0xff
and ecx, edx
mov dword [ebp - 0x1c], ecx
mov edx, edi
shr edx, 8
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + 0x57ed34]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ecx*4 + 0x57e934]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov ecx, eax
mov edx, 0xff
and ecx, edx
mov edx, eax
shr edx, 8
mov eax, 0xff
and edx, eax
mov edx, dword [edx*4 + 0x57ed34]
xor edx, dword [ecx*4 + 0x57e934]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
xor edx, dword [ecx + 0xc]
mov ecx, edx
mov dword [ebp - 0x18], edx
and ecx, eax
shr edx, 8
and edx, eax
mov eax, dword [edx*4 + 0x57ed34]
xor eax, dword [ecx*4 + 0x57e934]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
xor edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], edx
mov ecx, edx
mov eax, 0xff
and ecx, eax
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, eax
mov eax, dword [edx*4 + 0x57ed34]
xor eax, dword [ecx*4 + 0x57e934]
mov dword [ebp - 0x28], eax
mov ecx, ebx
shr ecx, 0xe
mov eax, 0x3fc
and ecx, eax
mov edx, dword [ebp - 0x20]
xor edx, dword [ecx + 0x57f134]
mov dword [ebp - 0x20], edx
mov ecx, edi
shr ecx, 0xe
and ecx, eax
mov edx, dword [ebp - 0x2c]
xor edx, dword [ecx + 0x57f134]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x30]
shr ecx, 0xe
and ecx, eax
mov edx, dword [ebp - 0x1c]
xor edx, dword [ecx + 0x57f134]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x18]
shr ecx, 0xe
and ecx, eax
mov edx, dword [ebp - 0x38]
xor edx, dword [ecx + 0x57f134]
mov ecx, dword [ebp - 0x14]
shr ecx, 0xe
and ecx, eax
mov eax, dword [ebp - 0x28]
xor eax, dword [ecx + 0x57f134]
mov dword [ebp - 0x28], eax
mov ecx, ebx
shr ecx, 0x18
mov ebx, dword [ebp - 0x20]
xor ebx, dword [ecx*4 + 0x57f534]
mov ecx, edi
shr ecx, 0x18
mov edi, dword [ebp - 0x2c]
xor edi, dword [ecx*4 + 0x57f534]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x18
mov eax, dword [ebp - 0x1c]
xor eax, dword [ecx*4 + 0x57f534]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x57f534]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov edx, dword [ebp - 0x28]
xor edx, dword [ecx*4 + 0x57f534]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x24]
add edx, 0x14
dec ecx
jne 0x45d698
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x34]
jmp 0x45d4e8
lea ecx, [edx + 1]
mov edx, esi
dec esi
mov edi, ebx
shr edi, 8
mov eax, dword [ebp - 0x10]
xor bl, byte [eax]
inc eax
mov dword [ebp - 0x10], eax
movzx eax, bl
mov ebx, edi
xor ebx, dword [eax*4 + 0x57e534]
cmp edx, 1
je 0x45d4b1
mov eax, ecx
and eax, 3
inc ecx
test eax, eax
je 0x45d4b1
jmp 0x45d854
xor edi, edi
test esi, esi
jne 0x45d3f1
call fcn.00471470
jmp 0x45d3f1