Function at 0x474140
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 0x474661
mov ebx, dword [ebp + 8]
cmp esi, 0x40
jb 0x47416c
cmp dword [0x554d08], 0
jne 0x47424d
not ebx
cmp esi, 0x17
jae 0x474280
cmp esi, 8
jb 0x47421e
mov eax, ebx
xor bl, byte [edx]
shr eax, 8
movzx ecx, bl
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
xor al, byte [edx + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
xor cl, byte [edx + 2]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
xor al, byte [edx + 3]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
xor cl, byte [edx + 4]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5313a8]
add esi, 0xfffffff8
mov ecx, eax
xor al, byte [edx + 5]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
shr eax, 8
xor cl, byte [edx + 6]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5313a8]
mov ebx, eax
shr ebx, 8
xor al, byte [edx + 7]
add edx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x5313a8]
cmp esi, 7
ja 0x474180
test esi, esi
je 0x47465a
xor eax, eax
mov edi, ebx
xor bl, byte [edx + eax]
shr edi, 8
movzx ecx, bl
xor edi, dword [ecx*4 + 0x5313a8]
inc eax
mov ebx, edi
cmp esi, eax
jne 0x47422a
not edi
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, esi
and edi, 0xfffffff0
not ebx
push ebx
push edi
push edx
call fcn.0045d0a0
add esp, 0xc
mov ebx, eax
xor eax, eax
mov edx, esi
and edx, 0xf
cmovne eax, edi
and esi, 0xf
je 0x47427a
mov edx, dword [ebp + 0xc]
add edx, eax
jmp 0x474177
not ebx
mov edi, ebx
jmp 0x474243
test dl, 3
mov dword [ebp - 0x20], edx
jne 0x474621
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 eax, eax
mov ecx, edx
dec ecx
jne 0x474452
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x20]
xor ebx, dword [edx]
mov ecx, ebx
shr ecx, 8
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x5313a8]
mov edi, ecx
shr edi, 8
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5313a8]
mov ecx, edi
shr ecx, 8
and edi, 0xff
xor ecx, dword [edi*4 + 0x5313a8]
mov edi, ecx
shr edi, 8
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5313a8]
xor eax, dword [edx + 4]
xor eax, edi
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [edx + 8]
xor ecx, eax
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov edi, dword [ebp - 0x14]
xor edi, dword [edx + 0xc]
xor edi, ecx
mov eax, edi
shr eax, 8
and edi, 0xff
xor eax, dword [edi*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
mov edi, dword [ebp - 0x18]
xor edi, dword [edx + 0x10]
xor edi, ecx
mov eax, edi
shr eax, 8
and edi, 0xff
xor eax, dword [edi*4 + 0x5313a8]
mov ecx, eax
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x5313a8]
sub esi, dword [ebp - 0x40]
mov eax, ecx
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5313a8]
mov ebx, eax
shr ebx, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x5313a8]
add edx, 0x14
jmp 0x474177
lea eax, [edx + edx*4]
lea eax, [eax*4 - 0x14]
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], ecx
xor ebx, dword [edi]
mov edx, ebx
mov ecx, 0xff
and edx, ecx
mov dword [ebp - 0x1c], edx
mov ecx, ebx
shr ecx, 8
mov edx, 0xff
and ecx, edx
mov ecx, dword [ecx*4 + 0x531ba8]
mov edx, dword [ebp - 0x1c]
xor ecx, dword [edx*4 + 0x5317a8]
mov dword [ebp - 0x1c], ecx
xor eax, dword [edi + 4]
mov ecx, eax
mov edx, 0xff
and ecx, edx
mov edi, eax
shr edi, 8
and edi, edx
mov edi, dword [edi*4 + 0x531ba8]
xor edi, dword [ecx*4 + 0x5317a8]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor edi, dword [ecx + 8]
mov dword [ebp - 0x10], edi
mov ecx, edi
and ecx, edx
mov edi, dword [ebp - 0x10]
shr edi, 8
and edi, edx
mov edi, dword [edi*4 + 0x531ba8]
xor edi, dword [ecx*4 + 0x5317a8]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
xor edi, dword [ecx + 0xc]
mov dword [ebp - 0x14], edi
mov ecx, edi
and ecx, edx
mov edi, dword [ebp - 0x14]
shr edi, 8
and edi, edx
mov edi, dword [edi*4 + 0x531ba8]
xor edi, dword [ecx*4 + 0x5317a8]
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
xor edx, dword [ecx + 0x10]
mov ecx, edx
mov edi, edx
mov dword [ebp - 0x18], edx
mov edx, 0xff
and ecx, edx
shr edi, 8
and edi, edx
mov edx, dword [edi*4 + 0x531ba8]
xor edx, dword [ecx*4 + 0x5317a8]
mov dword [ebp - 0x34], edx
mov ecx, ebx
shr ecx, 0xe
mov edx, 0x3fc
and ecx, edx
mov edi, dword [ebp - 0x1c]
xor edi, dword [ecx + 0x531fa8]
mov dword [ebp - 0x1c], edi
mov ecx, eax
shr ecx, 0xe
and ecx, edx
mov edi, dword [ebp - 0x2c]
xor edi, dword [ecx + 0x531fa8]
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 0x10]
shr ecx, 0xe
and ecx, edx
mov edi, dword [ebp - 0x30]
xor edi, dword [ecx + 0x531fa8]
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x14]
shr ecx, 0xe
and ecx, edx
mov edi, dword [ebp - 0x28]
xor edi, dword [ecx + 0x531fa8]
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x18]
shr ecx, 0xe
and ecx, edx
mov edx, dword [ebp - 0x34]
xor edx, dword [ecx + 0x531fa8]
mov ecx, ebx
shr ecx, 0x18
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [ecx*4 + 0x5323a8]
mov ecx, eax
shr ecx, 0x18
mov eax, dword [ebp - 0x2c]
xor eax, dword [ecx*4 + 0x5323a8]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov edi, dword [ebp - 0x30]
xor edi, dword [ecx*4 + 0x5323a8]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
mov edi, dword [ebp - 0x28]
xor edi, dword [ecx*4 + 0x5323a8]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5323a8]
mov ecx, dword [ebp - 0x3c]
add edi, 0x14
dec ecx
jne 0x474474
mov ecx, dword [ebp - 0x38]
add dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
jmp 0x4742c5
lea ecx, [edx + 1]
mov edx, esi
dec esi
mov edi, ebx
shr edi, 8
mov eax, dword [ebp - 0x20]
xor bl, byte [eax]
inc eax
mov dword [ebp - 0x20], eax
movzx eax, bl
mov ebx, edi
xor ebx, dword [eax*4 + 0x5313a8]
cmp edx, 1
je 0x47428c
mov eax, ecx
and eax, 3
inc ecx
test eax, eax
je 0x47428c
jmp 0x474624
mov edi, ebx
jmp 0x474241
xor edi, edi
test esi, esi
jne 0x474243
call fcn.0043fc30
jmp 0x474243