Function at 0x421530
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [0x889efc]
xor eax, eax
push esi
push edi
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0x47a0]
sub edx, 1
mov byte [esp + 0x18], al
js 0x42157c
mov eax, dword [ebp + 0x47a8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov esi, dword [eax]
test esi, esi
je 0x421574
test dword [esi + 0xc], 0x8000000
jne 0x421625
sub eax, 0x28
sub edx, 1
jns 0x421561
xor esi, esi
cmp dword [ebp + 0x4938], 0
je 0x4215d0
cmp dword [ebp + 0x4934], 0
jne 0x4215d0
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x802050]
movss xmm1, dword [ebp + 0x4944]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebp + 0x495c]
maxss xmm1, xmm0
movss dword [ebp + 0x4944], xmm1
jb 0x4215d0
comiss xmm0, xmm1
jb 0x4215d0
mov dword [ebp + 0x4938], 0
or ebx, 0xffffffff
mov edx, 0x80137d
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x4215ee
cmp byte [edx], al
jne 0x4215ee
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x7fbb28]
test al, al
jne 0x4215e0
mov eax, dword [ebp + 8]
not ebx
mov edi, dword [0x889efc]
mov cl, al
test al, 2
je 0x421634
test byte [ebp + 0xc], 1
je 0x421634
mov byte [esp + 0x16], 1
jmp 0x42163b
mov dword [ebp + 0x4934], 0
jmp 0x42157e
mov byte [esp + 0x16], 0
mov al, cl
and eax, 0xffffff01
mov dword [esp + 0x20], eax
test esi, esi
jne 0x421672
mov ecx, dword [ebp + 0x492c]
test ecx, ecx
je 0x421672
push 0x1001
mov edx, ebx
call fcn.0041c8b0
mov edi, dword [0x889efc]
add esp, 4
test al, al
je 0x421672
mov byte [esp + 0x14], 1
jmp 0x42167b
mov byte [esp + 0x14], 0
test esi, esi
jne 0x4216a5
mov ecx, dword [ebp + 0x4930]
test ecx, ecx
je 0x4216a5
push 0x1001
mov edx, ebx
call fcn.0041c8b0
mov edi, dword [0x889efc]
add esp, 4
test al, al
je 0x4216a5
mov byte [esp + 0x15], 1
jmp 0x4216ae
mov byte [esp + 0x15], 0
test esi, esi
jne 0x4216db
cmp byte [esp + 0x16], 0
je 0x4216db
cmp dword [ebp + 0x4934], 0
jne 0x4216db
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.0041ae90
add esp, 4
test al, al
je 0x4216db
mov cl, 1
mov byte [esp + 0x16], cl
jmp 0x4216e5
xor cl, cl
mov byte [esp + 0x16], cl
test esi, esi
jne 0x421700
cmp dword [ebp + 0x4934], 0
jne 0x421700
cmp byte [esp + 0x14], 0
jne 0x4216fc
cmp byte [esp + 0x15], 0
je 0x421700
mov al, 1
jmp 0x421702
xor al, al
mov byte [esp + 0x17], al
test cl, cl
jne 0x421712
test al, al
je 0x42185c
mov eax, dword [ebp + 0x47c8]
test eax, eax
jne 0x42173e
mov ecx, dword [ebp + 0x3e0c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00421420
add esp, 4
test eax, eax
je 0x42185c
mov cl, byte [esp + 0x16]
mov eax, dword [eax + 0x300]
mov dword [ebp + 0x4938], eax
mov dword [ebp + 0x4934], eax
movzx eax, byte [esp + 0x17]
xor eax, 1
mov dword [ebp + 0x4944], 0
add eax, 2
mov dword [ebp + 0x4940], 0
cmp byte [esp + 0x14], 0
mov dword [ebp + 0x4954], 0
mov dword [ebp + 0x4958], 0
mov dword [ebp + 0x494c], 0
mov dword [ebp + 0x4950], 0
mov byte [ebp + 0x4948], cl
mov dword [ebp + 0x47f8], eax
jne 0x4217b5
cmp byte [esp + 0x15], 0
je 0x42185c
mov esi, dword [ebp + 0x4930]
or esi, dword [ebp + 0x492c]
test esi, 0x1000
je 0x4217e0
mov edx, 0x1000
mov ecx, edi
call fcn.0040dcd0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x2000
je 0x4217ff
mov edx, 0x2000
mov ecx, edi
call fcn.0040dcd0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x4000
je 0x42181e
mov edx, 0x4000
mov ecx, edi
call fcn.0040dcd0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x8000
je 0x42183d
mov edx, 0x8000
mov ecx, edi
call fcn.0040dcd0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x800
je 0x42185c
mov edx, 0x800
mov ecx, edi
call fcn.0040dcd0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
cmp dword [ebp + 0x4934], 0
xorps xmm6, xmm6
movss xmm0, dword [ebp + 0x18]
addss xmm0, dword [ebp + 0x4940]
movss xmm1, dword [0x801f9c]
movss xmm2, dword [0x801f84]
movss xmm5, dword [0x801fe8]
movss dword [ebp + 0x4940], xmm0
je 0x4219e9
cmp dword [ebp + 0x47f8], 3
jne 0x4219e9
subss xmm0, xmm1
divss xmm0, xmm2
comiss xmm6, xmm0
jbe 0x4218b8
xorps xmm1, xmm1
jmp 0x4218bf
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [ebp + 0x4944]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x273
push 1
movss dword [ebp + 0x4944], xmm7
call fcn.0041ae90
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.0041ae90
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x421915
mov ecx, eax
call fcn.00421490
mov dword [ebp + 0x4944], 0x3f800000
movaps xmm7, xmm5
mov ebx, dword [0x889efc]
mov edx, 0x26b
mov ecx, ebx
call fcn.0041a8f0
cmp byte [eax], 0
je 0x42193c
mov edx, 0x26b
call fcn.0040dcd0
cmp byte [eax + 8], 0
je 0x42197e
comiss xmm5, xmm7
seta al
and byte [ebp + 0x4948], al
je 0x42195a
cmp dword [ebp + 0x47c8], 0
je 0x421974
mov byte [esp + 0x18], 1
jmp 0x421974
mov eax, dword [ebp + 0x4934]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x15]
mov byte [esp + 0x15], al
mov al, byte [esp + 0x14]
mov byte [esp + 0x14], al
mov dword [ebp + 0x4934], 0
movss xmm2, dword [0x801f84]
movss xmm1, dword [0x801f9c]
cmp dword [ebp + 0x4934], 0
je 0x421a46
cmp dword [ebp + 0x47f8], 2
jne 0x421a46
movss xmm0, dword [ebp + 0x4940]
mov edx, 0xf800
mov eax, dword [ebp + 0x492c]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebp + 0x4930]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x4219f1
xorps xmm5, xmm5
jmp 0x4219f5
mov ebx, dword [0x889efc]
jmp 0x42198e
minss xmm5, xmm0
movss xmm0, dword [ebp + 0x4944]
mov al, byte [esp + 0x14]
maxss xmm0, xmm5
movss dword [ebp + 0x4944], xmm0
test al, al
jne 0x421a34
cmp byte [esp + 0x15], al
jne 0x421a34
mov eax, dword [ebp + 0xde0]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x421a46
mov eax, dword [ebp + 0x4934]
mov dword [esp + 0x1c], eax
jmp 0x421a46
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00421490
cmp byte [esp + 0x20], 0
je 0x421a74
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.0041ae90
add esp, 4
test al, al
je 0x421a74
mov byte [ebp + 0x4948], 1
mov dword [ebp + 0x47f8], 2
cmp byte [ebp + 0x4948], 0
mov esi, 1
je 0x421bb3
cmp dword [ebp + 0x47f8], 2
jne 0x421bb3
cmp dword [ebp + 0x3778], 0
jg 0x421ac8
cmp byte [ebp + 0xddc], 0
jne 0x421ac8
cmp byte [ebp + 0xddd], 0
jne 0x421ac8
cmp byte [ebp + 0xddf], 0
jne 0x421ac8
mov edx, 0x4000
mov ecx, ebx
call fcn.0040dcd0
cmp dword [eax], 0xffffffff
je 0x421acf
mov byte [ebp + 0x4948], 0
mov edx, 0x4000
mov ecx, ebx
call fcn.0041a8f0
comiss xmm6, dword [eax + 8]
ja 0x421b8b
cmp byte [eax], 0
jne 0x421b8b
mov edx, 0x4000
call fcn.0040dcd0
cmp byte [eax + 8], 0
jne 0x421b8b
cmp byte [ebp + 0x4948], 0
je 0x421b8b
cmp dword [ebp + 0x3e94], 0
je 0x421b21
cmp byte [ebp + 0x3ea1], 0
je 0x421b8b
lea eax, [ebp + 0x36a8]
test eax, eax
jne 0x421b31
lea eax, [ebx + 0xdc0]
movss xmm0, dword [eax]
movss xmm1, dword [0x8020d0]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x421b50
comiss xmm2, xmm1
jb 0x421b50
mov cl, 1
jmp 0x421b52
xor cl, cl
lea eax, [ebp + 0xdc0]
test eax, eax
jne 0x421b62
lea eax, [ebx + 0xdc0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x421b79
comiss xmm2, xmm1
jb 0x421b79
mov al, 1
jmp 0x421b7b
xor al, al
mov edx, dword [esp + 0x18]
cmp al, cl
movzx edx, dl
cmove edx, esi
mov dword [esp + 0x18], edx
mov edx, 0x4000
mov ecx, ebx
call fcn.0041a8f0
cmp byte [eax], 0
je 0x421bac
mov edx, 0x4000
call fcn.0040dcd0
cmp byte [eax + 8], 0
je 0x421bb3
mov byte [ebp + 0x4948], 0
mov eax, dword [ebp + 0x4934]
test eax, eax
je 0x421d46
test byte [eax + 0xc], 4
jne 0x421d46
mov eax, dword [ebp + 0x47f8]
cmp eax, 2
jne 0x421c0e
cmp byte [ebp + 0xddd], 0
jne 0x421d46
mov edx, 0x203
mov ecx, ebx
call fcn.0041a8f0
mov edx, 0x201
mov edi, eax
call fcn.0041a8f0
mov edx, 0x202
mov esi, eax
call fcn.0041a8f0
mov edx, 0x204
jmp 0x421c40
cmp eax, 3
jne 0x421d46
mov edx, 0x27b
mov ecx, ebx
call fcn.0041a8f0
mov edx, 0x279
mov edi, eax
call fcn.0041a8f0
mov edx, 0x27a
mov esi, eax
call fcn.0041a8f0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
mov ecx, ebx
subss xmm2, dword [esi + 0xc]
call fcn.0041a8f0
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x421c71
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x421d41
movss xmm1, dword [ebp + 0x58]
movss xmm0, dword [ebp + 0x18]
minss xmm1, dword [ebp + 0x5c]
mulss xmm0, dword [0x80209c]
mov byte [ebp + 0x4803], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebp + 0x494c]
addss xmm3, dword [ebp + 0x4950]
cvttss2si eax, xmm2
movss dword [ebp + 0x494c], xmm2
movss dword [ebp + 0x4950], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x421ce3
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x421d41
mov eax, dword [ebp + 0x4934]
lea edx, [esp + 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x300]
addss xmm0, dword [ecx + 0x14]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [esp + 0x28], xmm0
call fcn.0041a610
movss xmm0, dword [ebp + 0x494c]
add esp, 4
subss xmm0, xmm5
movss dword [ebp + 0x494c], xmm0
movss xmm0, dword [ebp + 0x4950]
subss xmm0, xmm4
movss dword [ebp + 0x4950], xmm0
mov esi, 1
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x421dc6
mov eax, dword [ebp + 0x47c8]
test eax, eax
je 0x421d60
cmp ebx, dword [eax + 0x300]
je 0x421dbc
xor edx, edx
xor ecx, ecx
call fcn.00411c10
mov eax, dword [0x889efc]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
call fcn.0041d870
mov edx, esi
mov ecx, ebx
call fcn.00419e30
mov esi, dword [ebp + 0x47c8]
cmp dword [esi + 0x314], 0
jne 0x421da8
xor dl, dl
mov ecx, esi
call fcn.0041f0a0
cmp word [esi + 0x14e], 2
jne 0x421dbc
mov dword [ebp + 0x47fc], 1
mov dword [ebp + 0x4934], 0
cmp byte [esp + 0x18], 0
je 0x421e8f
cmp dword [ebp + 0x47c8], 0
je 0x421e8f
xor edx, edx
xor ecx, ecx
call fcn.00411c10
mov esi, dword [ebp + 0x47c8]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x421e29
nop dword [eax]
test byte [esi + 0x14c], 2
jne 0x421e29
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x421e29
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x421e00
mov edi, dword [ebp + 0x47c8]
cmp esi, edi
je 0x421e42
xor edx, edx
mov ecx, esi
call fcn.00419e30
mov dword [esi + 0x310], edi
mov eax, dword [ebp + 0x47c8]
test byte [eax + 0x14c], 2
je 0x421e5c
mov ecx, dword [ebp + 0x47fc]
xor ecx, 1
jmp 0x421e5e
xor ecx, ecx
cmp ecx, dword [ebp + 0x47fc]
je 0x421e8f
cmp ecx, 1
jne 0x421e75
mov dword [eax + 0x318], 0
call fcn.0041f000
mov eax, dword [0x889efc]
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret