Function at 0x421f40
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [0x889ebc]
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 0x421f8c
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 0x421f84
test dword [esi + 0xc], 0x8000000
jne 0x422035
sub eax, 0x28
sub edx, 1
jns 0x421f71
xor esi, esi
cmp dword [ebp + 0x4938], 0
je 0x421fe0
cmp dword [ebp + 0x4934], 0
jne 0x421fe0
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x8020e8]
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 0x421fe0
comiss xmm0, xmm1
jb 0x421fe0
mov dword [ebp + 0x4938], 0
or ebx, 0xffffffff
mov edx, 0x80152d
mov al, 0x23
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x421ffe
cmp byte [edx], al
jne 0x421ffe
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 + 0x7fbdd0]
test al, al
jne 0x421ff0
mov eax, dword [ebp + 8]
not ebx
mov edi, dword [0x889ebc]
mov cl, al
test al, 2
je 0x422044
test byte [ebp + 0xc], 1
je 0x422044
mov byte [esp + 0x16], 1
jmp 0x42204b
mov dword [ebp + 0x4934], 0
jmp 0x421f8e
mov byte [esp + 0x16], 0
mov al, cl
and eax, 0xffffff01
mov dword [esp + 0x20], eax
test esi, esi
jne 0x422082
mov ecx, dword [ebp + 0x492c]
test ecx, ecx
je 0x422082
push 0x1001
mov edx, ebx
call fcn.0041d2b0
mov edi, dword [0x889ebc]
add esp, 4
test al, al
je 0x422082
mov byte [esp + 0x14], 1
jmp 0x42208b
mov byte [esp + 0x14], 0
test esi, esi
jne 0x4220b5
mov ecx, dword [ebp + 0x4930]
test ecx, ecx
je 0x4220b5
push 0x1001
mov edx, ebx
call fcn.0041d2b0
mov edi, dword [0x889ebc]
add esp, 4
test al, al
je 0x4220b5
mov byte [esp + 0x15], 1
jmp 0x4220be
mov byte [esp + 0x15], 0
test esi, esi
jne 0x4220eb
cmp byte [esp + 0x16], 0
je 0x4220eb
cmp dword [ebp + 0x4934], 0
jne 0x4220eb
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.0041b890
add esp, 4
test al, al
je 0x4220eb
mov cl, 1
mov byte [esp + 0x16], cl
jmp 0x4220f5
xor cl, cl
mov byte [esp + 0x16], cl
test esi, esi
jne 0x422110
cmp dword [ebp + 0x4934], 0
jne 0x422110
cmp byte [esp + 0x14], 0
jne 0x42210c
cmp byte [esp + 0x15], 0
je 0x422110
mov al, 1
jmp 0x422112
xor al, al
mov byte [esp + 0x17], al
test cl, cl
jne 0x422122
test al, al
je 0x42226c
mov eax, dword [ebp + 0x47c8]
test eax, eax
jne 0x42214e
mov ecx, dword [ebp + 0x3e0c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00421e20
add esp, 4
test eax, eax
je 0x42226c
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 0x4221c5
cmp byte [esp + 0x15], 0
je 0x42226c
mov esi, dword [ebp + 0x4930]
or esi, dword [ebp + 0x492c]
test esi, 0x1000
je 0x4221f0
mov edx, 0x1000
mov ecx, edi
call fcn.0040e9f0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x2000
je 0x42220f
mov edx, 0x2000
mov ecx, edi
call fcn.0040e9f0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x4000
je 0x42222e
mov edx, 0x4000
mov ecx, edi
call fcn.0040e9f0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x8000
je 0x42224d
mov edx, 0x8000
mov ecx, edi
call fcn.0040e9f0
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test esi, 0x800
je 0x42226c
mov edx, 0x800
mov ecx, edi
call fcn.0040e9f0
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 [0x802040]
movss xmm2, dword [0x80202c]
movss xmm5, dword [0x80208c]
movss dword [ebp + 0x4940], xmm0
je 0x4223f9
cmp dword [ebp + 0x47f8], 3
jne 0x4223f9
subss xmm0, xmm1
divss xmm0, xmm2
comiss xmm6, xmm0
jbe 0x4222c8
xorps xmm1, xmm1
jmp 0x4222cf
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.0041b890
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.0041b890
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x422325
mov ecx, eax
call fcn.00421e90
mov dword [ebp + 0x4944], 0x3f800000
movaps xmm7, xmm5
mov ebx, dword [0x889ebc]
mov edx, 0x26b
mov ecx, ebx
call fcn.0041b2f0
cmp byte [eax], 0
je 0x42234c
mov edx, 0x26b
call fcn.0040e9f0
cmp byte [eax + 8], 0
je 0x42238e
comiss xmm5, xmm7
seta al
and byte [ebp + 0x4948], al
je 0x42236a
cmp dword [ebp + 0x47c8], 0
je 0x422384
mov byte [esp + 0x18], 1
jmp 0x422384
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 [0x80202c]
movss xmm1, dword [0x802040]
cmp dword [ebp + 0x4934], 0
je 0x422456
cmp dword [ebp + 0x47f8], 2
jne 0x422456
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 0x422401
xorps xmm5, xmm5
jmp 0x422405
mov ebx, dword [0x889ebc]
jmp 0x42239e
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 0x422444
cmp byte [esp + 0x15], al
jne 0x422444
mov eax, dword [ebp + 0xde0]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x422456
mov eax, dword [ebp + 0x4934]
mov dword [esp + 0x1c], eax
jmp 0x422456
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00421e90
cmp byte [esp + 0x20], 0
je 0x422484
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.0041b890
add esp, 4
test al, al
je 0x422484
mov byte [ebp + 0x4948], 1
mov dword [ebp + 0x47f8], 2
cmp byte [ebp + 0x4948], 0
mov esi, 1
je 0x4225c3
cmp dword [ebp + 0x47f8], 2
jne 0x4225c3
cmp dword [ebp + 0x3778], 0
jg 0x4224d8
cmp byte [ebp + 0xddc], 0
jne 0x4224d8
cmp byte [ebp + 0xddd], 0
jne 0x4224d8
cmp byte [ebp + 0xddf], 0
jne 0x4224d8
mov edx, 0x4000
mov ecx, ebx
call fcn.0040e9f0
cmp dword [eax], 0xffffffff
je 0x4224df
mov byte [ebp + 0x4948], 0
mov edx, 0x4000
mov ecx, ebx
call fcn.0041b2f0
comiss xmm6, dword [eax + 8]
ja 0x42259b
cmp byte [eax], 0
jne 0x42259b
mov edx, 0x4000
call fcn.0040e9f0
cmp byte [eax + 8], 0
jne 0x42259b
cmp byte [ebp + 0x4948], 0
je 0x42259b
cmp dword [ebp + 0x3e94], 0
je 0x422531
cmp byte [ebp + 0x3ea1], 0
je 0x42259b
lea eax, [ebp + 0x36a8]
test eax, eax
jne 0x422541
lea eax, [ebx + 0xdc0]
movss xmm0, dword [eax]
movss xmm1, dword [0x802170]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x422560
comiss xmm2, xmm1
jb 0x422560
mov cl, 1
jmp 0x422562
xor cl, cl
lea eax, [ebp + 0xdc0]
test eax, eax
jne 0x422572
lea eax, [ebx + 0xdc0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x422589
comiss xmm2, xmm1
jb 0x422589
mov al, 1
jmp 0x42258b
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.0041b2f0
cmp byte [eax], 0
je 0x4225bc
mov edx, 0x4000
call fcn.0040e9f0
cmp byte [eax + 8], 0
je 0x4225c3
mov byte [ebp + 0x4948], 0
mov eax, dword [ebp + 0x4934]
test eax, eax
je 0x422756
test byte [eax + 0xc], 4
jne 0x422756
mov eax, dword [ebp + 0x47f8]
cmp eax, 2
jne 0x42261e
cmp byte [ebp + 0xddd], 0
jne 0x422756
mov edx, 0x203
mov ecx, ebx
call fcn.0041b2f0
mov edx, 0x201
mov edi, eax
call fcn.0041b2f0
mov edx, 0x202
mov esi, eax
call fcn.0041b2f0
mov edx, 0x204
jmp 0x422650
cmp eax, 3
jne 0x422756
mov edx, 0x27b
mov ecx, ebx
call fcn.0041b2f0
mov edx, 0x279
mov edi, eax
call fcn.0041b2f0
mov edx, 0x27a
mov esi, eax
call fcn.0041b2f0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
mov ecx, ebx
subss xmm2, dword [esi + 0xc]
call fcn.0041b2f0
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x422681
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x422751
movss xmm1, dword [ebp + 0x58]
movss xmm0, dword [ebp + 0x18]
minss xmm1, dword [ebp + 0x5c]
mulss xmm0, dword [0x80213c]
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 0x4226f3
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x422751
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.0041b010
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 0x4227d6
mov eax, dword [ebp + 0x47c8]
test eax, eax
je 0x422770
cmp ebx, dword [eax + 0x300]
je 0x4227cc
xor edx, edx
xor ecx, ecx
call fcn.00412610
mov eax, dword [0x889ebc]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
call fcn.0041e270
mov edx, esi
mov ecx, ebx
call fcn.0041a830
mov esi, dword [ebp + 0x47c8]
cmp dword [esi + 0x314], 0
jne 0x4227b8
xor dl, dl
mov ecx, esi
call fcn.0041faa0
cmp word [esi + 0x14e], 2
jne 0x4227cc
mov dword [ebp + 0x47fc], 1
mov dword [ebp + 0x4934], 0
cmp byte [esp + 0x18], 0
je 0x42289f
cmp dword [ebp + 0x47c8], 0
je 0x42289f
xor edx, edx
xor ecx, ecx
call fcn.00412610
mov esi, dword [ebp + 0x47c8]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x422839
nop dword [eax]
test byte [esi + 0x14c], 2
jne 0x422839
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x422839
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x422810
mov edi, dword [ebp + 0x47c8]
cmp esi, edi
je 0x422852
xor edx, edx
mov ecx, esi
call fcn.0041a830
mov dword [esi + 0x310], edi
mov eax, dword [ebp + 0x47c8]
test byte [eax + 0x14c], 2
je 0x42286c
mov ecx, dword [ebp + 0x47fc]
xor ecx, 1
jmp 0x42286e
xor ecx, ecx
cmp ecx, dword [ebp + 0x47fc]
je 0x42289f
cmp ecx, 1
jne 0x422885
mov dword [eax + 0x318], 0
call fcn.0041fa00
mov eax, dword [0x889ebc]
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret