Function at 0x417d40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4915c4]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.00413f00
mov dword [ebp - 0x10], eax
test eax, eax
je 0x417d74
mov dword [ebx + 0x4914], 0
xor eax, eax
jmp 0x417d7a
mov eax, dword [ebx + 0x4914]
cmp dword [ebx + 0x4918], 0
je 0x417dc3
test eax, eax
jne 0x417dc3
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x465740]
movss xmm1, dword [ebx + 0x4924]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x493c]
maxss xmm1, xmm0
movss dword [ebx + 0x4924], xmm1
jb 0x417dc3
comiss xmm0, xmm1
jb 0x417dc3
mov dword [ebx + 0x4918], eax
or edx, 0xffffffff
mov esi, 0x464cd5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x417dde
cmp byte [esi], al
jne 0x417dde
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 + 0x441640]
test al, al
jne 0x417dd0
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x4915c4]
mov dword [ebp - 0xc], edx
test al, 2
je 0x417e13
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x417e17
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x417e4d
mov ecx, dword [ebx + 0x490c]
test ecx, ecx
je 0x417e4d
push 0x1001
call fcn.00412f10
mov edi, dword [0x4915c4]
add esp, 4
test al, al
je 0x417e4d
mov byte [ebp - 1], 1
jmp 0x417e55
mov byte [ebp - 1], 0
test esi, esi
jne 0x417e81
mov ecx, dword [ebx + 0x4910]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x417e84
push 0x1001
mov edx, esi
call fcn.00412f10
mov edi, dword [0x4915c4]
add esp, 4
test al, al
je 0x417e84
mov byte [ebp - 2], 1
jmp 0x417e8e
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x417ec1
cmp byte [ebp - 3], 0
je 0x417ec1
cmp dword [ebx + 0x4914], 0
jne 0x417ec1
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.00411610
add esp, 4
test al, al
je 0x417ec1
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x417ee4
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x417ef0
cmp dword [ebx + 0x4914], 0
mov cl, byte [ebp - 2]
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
jne 0x417ef0
test al, al
jne 0x417eec
test cl, cl
je 0x417ef0
mov al, 1
jmp 0x417ef2
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x417f01
test al, al
je 0x418051
mov eax, dword [ebx + 0x47c0]
test eax, eax
jne 0x417f2c
mov ecx, dword [ebx + 0x3e04]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.00417c30
add esp, 4
test eax, eax
je 0x418051
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x4918], eax
mov dword [ebx + 0x4914], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4924], 0
add eax, 2
mov dword [ebx + 0x4920], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4934], 0
mov dword [ebx + 0x4938], 0
mov dword [ebx + 0x492c], 0
mov dword [ebx + 0x4930], 0
mov byte [ebx + 0x4928], dl
mov dword [ebx + 0x47f0], eax
jne 0x417fa0
cmp byte [ebp - 2], 0
je 0x418051
mov eax, dword [ebx + 0x4910]
or eax, dword [ebx + 0x490c]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x417fd0
mov edx, 0x1000
mov ecx, edi
call fcn.004038f0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x417ff1
mov edx, 0x2000
mov ecx, edi
call fcn.004038f0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x418012
mov edx, 0x4000
mov ecx, edi
call fcn.004038f0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x418033
mov edx, 0x8000
mov ecx, edi
call fcn.004038f0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x418051
mov edx, 0x800
mov ecx, edi
call fcn.004038f0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4920]
mov esi, dword [ebx + 0x4914]
movss xmm7, dword [0x465670]
movss xmm1, dword [0x46565c]
movss xmm5, dword [0x4656c8]
movss dword [ebx + 0x4920], xmm0
test esi, esi
je 0x4181c7
cmp dword [ebx + 0x47f0], 3
jne 0x418143
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x4180b0
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4924]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x274
push 1
movss dword [ebx + 0x4924], xmm6
call fcn.00411610
add esp, 4
xor edx, edx
mov ecx, 0x273
mov bl, al
push 1
call fcn.00411610
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x41810f
call fcn.00417ca0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x4914]
mov dword [ebx + 0x4924], 0x3f800000
jmp 0x418112
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, edi
call fcn.004110b0
cmp byte [eax], 0
je 0x418197
mov edx, 0x26b
call fcn.004038f0
cmp byte [eax + 8], 0
jne 0x418197
movss xmm1, dword [0x46565c]
test esi, esi
je 0x4181c7
cmp dword [ebx + 0x47f0], 2
xorps xmm6, xmm6
jne 0x4181ca
movss xmm0, dword [ebx + 0x4920]
mov edx, 0xf800
mov eax, dword [ebx + 0x490c]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4910]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x418254
xorps xmm5, xmm5
jmp 0x418258
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4928], al
je 0x4181b4
cmp dword [ebx + 0x47c0], 0
je 0x4181bd
mov byte [ebp - 8], 1
jmp 0x4181bd
mov eax, dword [ebx + 0x4914]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x4914], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x4181f7
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.00411610
add esp, 4
test al, al
je 0x4181f7
mov byte [ebx + 0x4928], 1
mov dword [ebx + 0x47f0], 2
cmp byte [ebx + 0x4928], 0
je 0x4183ac
cmp dword [ebx + 0x47f0], 2
jne 0x4183ac
cmp dword [ebx + 0x3778], 0
jg 0x4182b2
cmp byte [ebx + 0xdd8], 0
jne 0x4182b2
cmp byte [ebx + 0xdd9], 0
jne 0x4182b2
cmp byte [ebx + 0xddb], 0
mov ecx, dword [0x4915c4]
jne 0x4182b8
mov edx, 0x4000
call fcn.004038f0
cmp dword [eax], 0xffffffff
je 0x4182bf
jmp 0x4182b8
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4924]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4924], xmm0
test al, al
jne 0x41829b
cmp byte [ebp - 2], al
jne 0x41829b
mov eax, dword [ebx + 0xddc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x4181ca
mov eax, dword [ebx + 0x4914]
mov dword [ebp - 0x18], eax
jmp 0x4181ca
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00417ca0
jmp 0x4181ca
mov ecx, dword [0x4915c4]
mov byte [ebx + 0x4928], 0
mov edx, 0x4000
call fcn.004110b0
comiss xmm6, dword [eax + 8]
ja 0x418384
cmp byte [eax], 0
jne 0x418384
mov edx, 0x4000
call fcn.004038f0
cmp byte [eax + 8], 0
jne 0x418384
cmp byte [ebx + 0x4928], 0
je 0x418384
cmp dword [ebx + 0x3e8c], 0
je 0x41830f
cmp byte [ebx + 0x3e99], 0
je 0x418384
lea eax, [ebx + 0x36a4]
test eax, eax
jne 0x41831f
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
movss xmm1, dword [0x4657e8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41833e
comiss xmm2, xmm1
jb 0x41833e
mov dl, 1
jmp 0x418340
xor dl, dl
lea eax, [ebx + 0xdc0]
test eax, eax
jne 0x418350
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x418367
comiss xmm2, xmm1
jb 0x418367
mov al, 1
jmp 0x418369
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov esi, 1
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, esi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.004110b0
cmp byte [eax], 0
je 0x4183a3
mov edx, 0x4000
call fcn.004038f0
cmp byte [eax + 8], 0
je 0x4183b2
mov byte [ebx + 0x4928], 0
jmp 0x4183b2
mov ecx, dword [0x4915c4]
mov eax, dword [ebx + 0x4914]
test eax, eax
je 0x418537
test byte [eax + 0xc], 4
jne 0x418537
mov eax, dword [ebx + 0x47f0]
cmp eax, 2
jne 0x41840b
cmp byte [ebx + 0xdd9], 0
jne 0x418537
mov edx, 0x203
call fcn.004110b0
mov edx, 0x201
mov edi, eax
call fcn.004110b0
mov edx, 0x202
mov esi, eax
call fcn.004110b0
mov edx, 0x204
jmp 0x41843b
cmp eax, 3
jne 0x418537
mov edx, 0x27b
call fcn.004110b0
mov edx, 0x279
mov edi, eax
call fcn.004110b0
mov edx, 0x27a
mov esi, eax
call fcn.004110b0
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.004110b0
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x41846a
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x418537
movss xmm1, dword [ebx + 0x58]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x5c]
mulss xmm0, dword [0x4657ac]
mov byte [ebx + 0x47fb], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x492c]
addss xmm3, dword [ebx + 0x4930]
cvttss2si eax, xmm2
movss dword [ebx + 0x492c], xmm2
movss dword [ebx + 0x4930], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x4184dc
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x418537
mov eax, dword [ebx + 0x4914]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x300]
addss xmm0, dword [ecx + 0x14]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.00410ca0
movss xmm0, dword [ebx + 0x492c]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x492c], xmm0
movss xmm0, dword [ebx + 0x4930]
subss xmm0, xmm4
movss dword [ebx + 0x4930], xmm0
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4185c7
mov eax, dword [ebx + 0x47c0]
test eax, eax
je 0x418554
cmp edi, dword [eax + 0x300]
je 0x4185bd
xor edx, edx
xor ecx, ecx
call fcn.004083a0
mov eax, dword [0x4915c4]
mov word [eax + 0x47f9], 1
mov byte [eax + 0x47fb], 1
mov esi, dword [edi + 0x310]
test esi, esi
je 0x418585
cmp byte [esi + 0xab], 0
jne 0x418587
mov esi, edi
xor dl, dl
mov ecx, esi
call fcn.00414240
mov ecx, esi
call fcn.004109f0
cmp dword [esi + 0x314], 0
jne 0x4185a9
xor dl, dl
mov ecx, esi
call fcn.00415ce0
cmp word [esi + 0x14e], 2
jne 0x4185bd
mov dword [ebx + 0x47f4], 1
mov dword [ebx + 0x4914], 0
cmp byte [ebp - 8], 0
je 0x41868d
cmp dword [ebx + 0x47c0], 0
je 0x41868d
xor edx, edx
xor ecx, ecx
call fcn.004083a0
mov esi, dword [ebx + 0x47c0]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x418629
nop dword [eax]
test byte [esi + 0x14c], 2
jne 0x418629
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x418629
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x418600
mov edi, dword [ebx + 0x47c0]
cmp esi, edi
je 0x418640
mov ecx, esi
call fcn.004109f0
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47c0]
test byte [eax + 0x14c], 2
je 0x41865a
mov ecx, dword [ebx + 0x47f4]
xor ecx, 1
jmp 0x41865c
xor ecx, ecx
cmp ecx, dword [ebx + 0x47f4]
je 0x41868d
cmp ecx, 1
jne 0x418673
mov dword [eax + 0x318], 0
call fcn.00415c20
mov eax, dword [0x4915c4]
mov word [eax + 0x47f9], 1
mov byte [eax + 0x47fb], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret