Function at 0x10040560
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x10096018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10099cbc]
push edi
mov edi, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x5c], edi
mov eax, dword [edi + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b98]
mov ecx, dword [edi + 0x1c74]
mov dword [edi + 0x1c74], 0
mov dword [ebp - 0x58], eax
cmp byte [eax + 0x8f], 0
mov dword [ebp - 0x78], ecx
jne 0x10040c7a
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x48]
call fcn.10016930
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [edi + 0x1bd0], eax
jne 0x100405fa
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10040609
mov byte [edi + 0x1c10], 1
cmp dword [edi + 0x1bb8], eax
jne 0x1004062a
push ecx
push dword [ebp - 0x48]
mov edx, 0xb
mov ecx, eax
call fcn.100290d0
mov esi, dword [0x10099cbc]
add esp, 8
mov eax, dword [ebx + 8]
xorps xmm6, xmm6
and eax, 0x20
mov dword [ebp - 0x4c], eax
je 0x1004063f
movss dword [ebp - 0x44], xmm6
jmp 0x10040658
movss xmm0, dword [esi + 0x1558]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x1934]
movss dword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x48]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10040678
mov dl, byte [ecx]
test dl, dl
je 0x10040678
cmp dl, 0x23
jne 0x10040672
cmp byte [ecx + 1], dl
je 0x10040678
inc ecx
cmp ecx, 0xffffffff
jb 0x10040662
movss xmm2, dword [esi + 0x1934]
cmp eax, ecx
jne 0x10040689
movaps xmm7, xmm6
jmp 0x100406cc
movss xmm3, dword [0x1008e52c]
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x1930]
lea eax, [ebp - 0x40]
mov dword [esp], 0xbf800000
push eax
call fcn.10038b70
movss xmm0, dword [ebp - 0x40]
xorps xmm6, xmm6
addss xmm0, dword [0x1008e320]
movss xmm2, dword [ebp - 0x3c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mov eax, dword [ebx + 8]
and eax, 0x40
movss dword [ebp - 0x74], xmm7
mov dword [ebp - 0x54], eax
je 0x100406e3
movss xmm0, dword [ebp - 0x44]
jmp 0x1004074e
test byte [esi + 0x1c24], 1
mov eax, dword [esi + 0x1b98]
je 0x100406fc
movss xmm0, dword [esi + 0x1c28]
jmp 0x10040704
movss xmm0, dword [eax + 0x17c]
comiss xmm6, xmm0
jbe 0x10040743
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x204]
jne 0x10040723
cmp dword [esi + 0x1f1c], 0
je 0x1004072b
movss xmm1, dword [eax + 0x1d4]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x1008e328]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm7, xmm6
mov eax, dword [ebp - 0x58]
movss xmm3, dword [eax + 0xd0]
movss xmm5, dword [edi + 0x1558]
movaps xmm1, xmm3
movss xmm4, dword [eax + 0xd4]
addss xmm1, xmm0
movss dword [ebp - 0x68], xmm0
movaps xmm0, xmm5
addss xmm0, xmm5
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm1
addss xmm0, xmm2
addss xmm0, xmm4
movss dword [ebp - 0x24], xmm0
jbe 0x100407aa
movaps xmm2, xmm7
addss xmm2, dword [edi + 0x156c]
jmp 0x100407ad
movaps xmm2, xmm6
addss xmm1, xmm2
movss dword [ebp - 0x20], xmm3
addss xmm0, xmm6
movss dword [ebp - 0x1c], xmm4
lea ecx, [ebp - 0x40]
movss dword [ebp - 0x18], xmm1
subss xmm1, xmm3
movss dword [ebp - 0x14], xmm0
subss xmm0, xmm4
movss dword [ebp - 0x40], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x3c], xmm0
call fcn.10022c10
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x30]
push 0
push eax
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10022d40
add esp, 8
test al, al
je 0x10040c7a
push 0
lea eax, [ebp - 0x33]
mov edx, esi
push eax
lea eax, [ebp - 0x32]
push eax
lea ecx, [ebp - 0x30]
call fcn.1003d700
mov edi, esi
mov byte [ebp - 0x33], al
not edi
add esp, 0xc
mov edx, edi
mov esi, 0x1008a841
mov al, 0x23
nop dword [eax + eax]
cmp al, 0x23
jne 0x1004083e
cmp byte [esi], al
jne 0x1004083e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10083970]
test al, al
jne 0x10040830
mov eax, dword [0x10099cbc]
not edx
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 0x1d28]
cmp dword [eax + 0x1d1c], ecx
jle 0x10040884
mov eax, dword [eax + 0x1d24]
lea ecx, [ecx + ecx*8]
cmp dword [eax + ecx*4], edx
jne 0x10040884
mov al, 1
jmp 0x10040886
xor al, al
cmp byte [ebp - 0x33], 0
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x31], al
je 0x100408a3
test al, al
jne 0x100408a3
xor edx, edx
mov ecx, esi
call fcn.10023da0
mov byte [ebp - 0x31], 1
movss xmm1, dword [0x1008e328]
xor ecx, ecx
cmp byte [ebp - 0x32], cl
setne cl
add ecx, 7
call fcn.10017440
movss xmm0, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x30]
mov edx, dword [ebp - 0x60]
push 1
mov dword [ebp - 0x3c], eax
maxss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
call fcn.10018010
add esp, 4
mov ecx, 0xf0
cmp dword [ebp - 0x54], 0
jne 0x10040939
movss xmm0, dword [ebp - 0x38]
mov eax, 0x50
cmp dword [ebp - 0x4c], 0
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x24]
cmovne eax, ecx
push eax
push ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x64]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [edi + 0x155c]
movss dword [esp], xmm0
push dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x240]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10034780
cmp dword [ebp - 0x4c], 0
movss xmm7, dword [ebp - 0x2c]
jne 0x10040ab0
cmp byte [ebp - 0x31], 0
jne 0x10040959
cmp byte [ebp - 0x32], 0
mov edx, 0x15
je 0x1004095e
mov edx, 0x16
movss xmm1, dword [0x1008e328]
xor ecx, ecx
call fcn.10017440
movss xmm0, dword [ebp - 0x38]
mov ecx, 0xa0
movss xmm1, dword [0x1008e328]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm0, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, 0xf0
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0x4c], xmm7
cmovae ecx, eax
push ecx
push ecx
mov ecx, edx
movss dword [esp], xmm0
call fcn.10017440
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x240]
call fcn.10034780
movss xmm1, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x28]
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x44]
subss xmm0, dword [edi + 0x1554]
comiss xmm2, xmm0
jb 0x10040ab0
mov eax, dword [ebp - 0x58]
movss xmm7, dword [edi + 0x1558]
push dword [ebp - 0x3c]
movaps xmm6, xmm7
mov ecx, dword [eax + 0x240]
addss xmm6, xmm1
addss xmm7, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
lea eax, [ebp - 0x6c]
movaps xmm5, xmm0
mulss xmm0, dword [0x1008e2d0]
push eax
mulss xmm5, dword [0x1008e2c4]
lea eax, [ebp - 0x50]
push eax
addss xmm6, xmm0
addss xmm7, xmm0
movaps xmm1, xmm5
lea eax, [ebp - 0x64]
mulss xmm1, dword [0x1008e308]
movaps xmm3, xmm5
push eax
mulss xmm3, dword [0x1008e24c]
movaps xmm4, xmm5
mulss xmm4, dword [0x1008e2f4]
movaps xmm0, xmm6
addss xmm0, xmm1
movaps xmm2, xmm5
mulss xmm2, dword [0x1008e548]
movaps xmm1, xmm7
mulss xmm5, dword [0x1008e544]
addss xmm7, xmm4
movss dword [ebp - 0x6c], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
addss xmm1, xmm5
addss xmm6, xmm3
movss dword [ebp - 0x60], xmm7
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x64], xmm6
call fcn.10034b80
push dword [ebp - 0x24]
movss xmm0, dword [edi + 0x155c]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.10017f20
add esp, 0x10
test dword [ebx + 8], 0x100000
je 0x10040b0d
movss xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x14], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0x2ea4], xmm0
jmp 0x10040bff
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x10040c73
cmp dword [ebp - 0x54], 0
jne 0x10040c73
cmp byte [edi + 0x2f64], 0
mov ecx, dword [0x10099cbc]
mov dword [ebp - 0x54], ecx
je 0x10040b48
mov dword [ecx + 0x2f7c], 0x1008a854
mov dword [ecx + 0x2f80], 0x1008a850
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x30]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
addss xmm0, dword [edi + 0x1554]
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1558]
mov edi, edx
movss dword [ebp - 0x3c], xmm0
cmp edx, 0xffffffff
jae 0x10040bb1
mov cl, byte [edi]
test cl, cl
je 0x10040bae
cmp cl, 0x23
jne 0x10040ba8
cmp byte [edi + 1], cl
je 0x10040bae
inc edi
cmp edi, 0xffffffff
jb 0x10040b98
mov ecx, dword [ebp - 0x54]
mov eax, edi
sub eax, edx
je 0x10040bfc
mov ecx, dword [ecx + 0x1b98]
lea eax, [ebp - 0x6c]
push 0
push eax
push 0
mov ecx, dword [ecx + 0x240]
lea eax, [ebp - 0x50]
push edi
push edx
push eax
lea edx, [ebp - 0x40]
call fcn.10017720
mov eax, dword [ebp - 0x54]
add esp, 0x18
cmp byte [eax + 0x2f64], 0
je 0x10040bf7
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
push edi
call fcn.100281e0
add esp, 4
movss xmm1, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x74]
comiss xmm0, dword [0x1008e24c]
jbe 0x10040c41
addss xmm1, dword [edi + 0x1558]
movss xmm0, dword [ebp - 0x28]
xor edx, edx
addss xmm0, dword [edi + 0x156c]
mov ecx, dword [ebp - 0x48]
movss dword [ebp - 0x3c], xmm1
push dword [ebp - 0x3c]
movss dword [ebp - 0x40], xmm0
push dword [ebp - 0x40]
push 1
call fcn.100175f0
add esp, 0xc
cmp byte [ebp - 0x31], 0
je 0x10040c7a
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x30]
push dword [ebx + 8]
mov ecx, esi
mov dword [edi + 0x1c74], eax
call fcn.10040c90
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a095
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm1, dword [ebp - 0x2c]
jmp 0x10040bff
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1007a095
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret