Function at 0x660f5450
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x660f5650
test esi, esi
je 0x660f5650
cmp eax, 0x20
jbe 0x660f5630
lea eax, [ebx + 0x8c]
mov dword [esp], eax
call fcn.660f32d0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0x98], 6
mov dword [ebx + 0x9c], 8
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x128], 0
cmp byte [esi], 0x89
jne 0x660f5610
cmp byte [esi + 1], 0x50
jne 0x660f5610
cmp byte [esi + 2], 0x4e
jne 0x660f5610
cmp byte [esi + 3], 0x47
jne 0x660f5610
cmp byte [esi + 4], 0xd
jne 0x660f5610
cmp byte [esi + 5], 0xa
jne 0x660f5610
cmp byte [esi + 6], 0x1a
jne 0x660f5610
cmp byte [esi + 7], 0xa
jne 0x660f5610
cmp dword [esi + 8], 0xd000000
jne 0x660f5667
cmp byte [esi + 0xc], 0x49
je 0x660f5678
mov dword [ebx + 0x12c], 0x1d
mov eax, 0x1d
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x1c
mov eax, 0x1c
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x12c], 0x1b
add esp, 0x2c
mov eax, 0x1b
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x12c], 0x30
add esp, 0x2c
mov eax, 0x30
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x12c], 0x5e
mov eax, 0x5e
jmp 0x660f561f
cmp byte [esi + 0xd], 0x48
jne 0x660f55fe
cmp byte [esi + 0xe], 0x44
jne 0x660f55fe
cmp byte [esi + 0xf], 0x52
jne 0x660f55fe
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
bswap eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
bswap eax
mov dword [edx], eax
movzx edi, byte [esi + 0x18]
mov dword [ebx + 0x9c], edi
movzx eax, byte [esi + 0x19]
mov dword [ebx + 0x98], eax
movzx edx, byte [esi + 0x1a]
mov dword [esp + 0x10], eax
mov dword [ebx + 0x8c], edx
movzx eax, byte [esi + 0x1b]
mov dword [ebx + 0x90], eax
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x1c]
mov dword [ebx + 0x94], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x660f58ac
mov eax, dword [esp + 0x44]
mov ebp, dword [eax]
test ebp, ebp
je 0x660f58ac
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x660f5883
mov eax, dword [esi + 0x1d]
movzx ebp, byte [esi + 0xd]
bswap eax
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xc]
not eax
movzx eax, al
mov eax, dword [eax*4 + 0x661e22c0]
xor eax, 0xffffff
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0xe]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0xf]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x10]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x11]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x12]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x13]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x14]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x15]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x16]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x17]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x18]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x19]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x1a]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
movzx ebp, byte [esi + 0x1b]
movzx esi, byte [esi + 0x1c]
xor ebp, eax
shr eax, 8
mov ecx, ebp
movzx ebp, cl
xor eax, dword [ebp*4 + 0x661e22c0]
xor esi, eax
shr eax, 8
mov ecx, esi
movzx esi, cl
xor eax, dword [esi*4 + 0x661e22c0]
not eax
cmp dword [esp + 0x1c], eax
jne 0x660f58c0
test edx, edx
jne 0x660f58e8
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x660f58fc
cmp dword [esp + 0x18], 1
ja 0x660f58d4
mov eax, dword [esp + 0x10]
mov edx, edi
call fcn.660e9b10
mov dword [ebx + 0x12c], eax
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x5d
mov eax, 0x5d
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x39
mov eax, 0x39
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x22
mov eax, 0x22
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x20
mov eax, 0x20
jmp 0x660f561f
mov dword [ebx + 0x12c], 0x21
mov eax, 0x21
jmp 0x660f561f