Function at 0x408ea0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 0x14]
or edx, 2
test dword [ebp + 0x18], 0x40000000
push ebx
cmove edx, dword [ebp + 0x14]
mov ecx, edx
and ecx, 0xfffffffb
test dl, 0x10
push esi
cmove ecx, edx
mov edx, 0x1000041
mov ebx, ecx
and ebx, 0xfffffff7
test cl, 0x20
push edi
mov edi, dword [0x6cfd64]
cmove ebx, ecx
test bl, 0x70
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x3f88]
mov dword [ebp - 8], eax
mov eax, 0x1000001
cmove edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
and eax, 4
or edx, eax
or edx, dword [ebp + 0x18]
mov dword [ebp + 0x18], edx
test bl, 0xc
jne 0x408f11
or edx, 0x102
mov dword [ebp + 0x18], edx
test bl, bl
jns 0x408ff9
movups xmm0, xmmword [edi + 0x39bc]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
lea ecx, [edi + 0x4988]
movups xmmword [ebp - 0x18], xmm0
call fcn.0041c970
cmp dword [edi + 0x4984], 3
je 0x408f51
movups xmm0, xmmword [edi + 0x39fc]
movups xmmword [edi + 0x39bc], xmm0
mov esi, dword [0x6cfd64]
lea eax, [ebp - 0x14]
movss xmm0, dword [edi + 0x38ec]
movss dword [ebp + 0x14], xmm0
push eax
movss xmm0, dword [esi + 0x38d4]
lea ecx, [esi + 0x4994]
mov dword [ebp - 0x14], 7
movss dword [ebp - 0x10], xmm0
call fcn.0041cb90
movss xmm0, dword [ebp + 0x14]
lea eax, [ebp - 0x14]
movss dword [esi + 0x38d4], xmm0
mov esi, dword [0x6cfd64]
movss xmm0, dword [edi + 0x38f0]
movss dword [ebp + 0x14], xmm0
push eax
movss xmm0, dword [esi + 0x38d8]
lea ecx, [esi + 0x4994]
mov dword [ebp - 0x14], 8
movss dword [ebp - 0x10], xmm0
call fcn.0041cb90
movss xmm0, dword [ebp + 0x14]
lea eax, [edi + 0x38e4]
push eax
push 2
movss dword [esi + 0x38d8], xmm0
call fcn.00415070
mov esi, dword [ebp + 0x18]
or ebx, 3
add esp, 8
mov dword [ebp - 4], ebx
or esi, 4
mov dword [ebp + 0x18], esi
jmp 0x408ffc
mov esi, dword [ebp + 0x18]
or dword [edi + 0x491c], 0x100
mov dword [edi + 0x4954], ebx
mov ecx, dword [0x6cfd64]
mov edx, dword [ecx + 0x3f88]
cmp dword [edx + 0x198], 0
jne 0x40902f
cmp dword [ecx + 0x4c94], 0
mov eax, 0x230
je 0x409034
mov eax, 0x200
movss xmm6, dword [edx + eax]
xorps xmm1, xmm1
movss xmm7, dword [edx + eax + 4]
mov eax, edx
subss xmm6, dword [eax + 0xf8]
subss xmm7, dword [eax + 0xfc]
test bl, 0x20
je 0x40905c
xorps xmm7, xmm7
test bl, 0x10
je 0x409064
xorps xmm6, xmm6
mov eax, dword [ebp + 0x10]
xorps xmm4, xmm4
xorps xmm3, xmm3
movss xmm2, dword [eax]
comiss xmm1, xmm2
movss xmm0, dword [eax + 4]
ja 0x409080
comiss xmm1, xmm0
jbe 0x4090a7
cmp dword [edx + 0x198], 0
jne 0x409097
cmp dword [ecx + 0x4c94], 0
mov eax, 0x230
je 0x40909c
mov eax, 0x200
movss xmm4, dword [edx + eax]
movss xmm3, dword [edx + eax + 4]
movss xmm5, dword [0x469d30]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x4090bd
movaps xmm2, xmm6
jmp 0x4090d6
comiss xmm1, xmm2
jbe 0x4090d6
subss xmm4, dword [edx + 0xf8]
addss xmm2, xmm4
comiss xmm5, xmm2
jb 0x4090d6
movaps xmm2, xmm5
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4090e4
movaps xmm0, xmm7
jmp 0x4090fd
comiss xmm1, xmm0
jbe 0x4090fd
subss xmm3, dword [edx + 0xfc]
addss xmm0, xmm3
comiss xmm5, xmm0
jb 0x4090fd
movaps xmm0, xmm5
or dword [ecx + 0x491c], 2
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
movss dword [ecx + 0x493c], xmm2
movss dword [ecx + 0x4940], xmm0
mov dword [ecx + 0x4924], 1
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
push ebx
test ecx, ecx
je 0x409146
push ecx
push eax
push str._s__s__08X
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.0040da50
add esp, 0x18
jmp 0x40915a
push eax
push str._s__08X
lea eax, [ebp + 0x14]
push 0
push eax
call fcn.0040da50
add esp, 0x14
test byte [ebp - 4], 1
movss xmm0, dword [edi + 0x38d8]
movss dword [ebp + 0x10], xmm0
jne 0x409177
mov dword [edi + 0x38d8], 0
push esi
push 0
push dword [ebp + 0x14]
call fcn.00406c10
movss xmm0, dword [ebp + 0x10]
add esp, 0xc
test byte [ebp - 4], 0x80
mov byte [ebp + 0x17], al
movss dword [edi + 0x38d8], xmm0
je 0x4091ac
push 3
call fcn.00414d60
push 1
call fcn.00414d00
add esp, 8
mov esi, dword [edi + 0x3f88]
mov dword [ebp + 0x10], esi
cmp word [esi + 0xbc], 1
mov dword [esi + 0x78], ebx
jne 0x4091d7
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], ecx
mov esi, ebx
mov al, 0x23
not esi
mov edx, 0x4690d1
mov ebx, esi
cmp al, 0x23
jne 0x4091f2
cmp byte [edx], al
jne 0x4091f2
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x468738]
test al, al
jne 0x4091e4
mov esi, dword [ebp + 0x10]
not ebx
cmp dword [edi + 0x3fd8], ebx
jne 0x409224
push 0
push 0
call fcn.00417800
add esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x4a10], eax
jne 0x409271
test dword [ebp + 0x18], 0x800000
jne 0x409271
cmp word [esi + 0x154], 0
jne 0x40924b
cmp byte [esi + 0x15a], 0
je 0x409271
push 0
push esi
call fcn.0040c940
push 0
push esi
call fcn.004100a0
push esi
push ebx
call fcn.00417800
mov eax, dword [edi + 0x4a34]
add esp, 0x18
mov dword [edi + 0x3ff8], eax
mov al, byte [ebp + 0x17]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret