Function at 0x4179c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x4424a0]
xor eax, eax
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x49d0]
sub edx, 1
mov byte [ebp - 8], al
js 0x417a0f
mov eax, dword [esi + 0x49d8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x417a07
test dword [edi + 0xc], 0x8000000
jne 0x417ab2
sub eax, 0x28
sub edx, 1
jns 0x4179f4
xor edi, edi
cmp dword [esi + 0x4bbc], 0
je 0x417a63
cmp dword [esi + 0x4bb8], 0
jne 0x417a63
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x43fb60]
movss xmm1, dword [esi + 0x4bc8]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x4be0]
maxss xmm1, xmm0
movss dword [esi + 0x4bc8], xmm1
jb 0x417a63
comiss xmm0, xmm1
jb 0x417a63
mov dword [esi + 0x4bbc], 0
or ebx, 0xffffffff
mov edx, 0x43afa5
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x417a7e
cmp byte [edx], al
jne 0x417a7e
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 + 0x43b3f8]
test al, al
jne 0x417a70
mov esi, dword [ebp - 0xc]
not ebx
mov ecx, dword [esi + 8]
mov al, cl
test cl, 2
je 0x417ac1
test byte [esi + 0xc], 1
je 0x417ac1
mov byte [ebp - 3], 1
jmp 0x417ac7
mov dword [esi + 0x4bb8], 0
jmp 0x417a11
mov byte [ebp - 3], 0
mov cl, al
and ecx, 0xffffff01
mov dword [ebp - 0x18], ecx
test edi, edi
jne 0x417b12
mov eax, dword [esi + 0x4bb0]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417b12
push 0x1101
mov edx, ebx
mov ecx, eax
call fcn.00411280
add esp, 4
test al, al
je 0x417b12
mov ecx, dword [ebp - 0x14]
mov edx, ebx
push 0x1101
call fcn.00412e50
add esp, 4
test al, al
je 0x417b12
mov byte [ebp - 1], 1
jmp 0x417b1a
mov byte [ebp - 1], 0
test edi, edi
jne 0x417b58
mov eax, dword [esi + 0x4bb4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417b58
push 0x1101
mov edx, ebx
mov ecx, eax
call fcn.00411280
add esp, 4
test al, al
je 0x417b58
mov ecx, dword [ebp - 0x14]
mov edx, ebx
push 0x1101
call fcn.00412e50
add esp, 4
test al, al
je 0x417b58
mov byte [ebp - 2], 1
jmp 0x417b60
mov byte [ebp - 2], 0
test edi, edi
jne 0x417b8b
cmp byte [ebp - 3], 0
je 0x417b8b
cmp dword [esi + 0x4bb8], 0
jne 0x417b8b
push 0
xor edx, edx
mov ecx, 0x279
call fcn.004113f0
add esp, 4
test al, al
je 0x417b8b
mov cl, 1
mov byte [ebp - 3], cl
jmp 0x417b94
xor cl, cl
mov byte [ebp - 3], cl
test edi, edi
jne 0x417bad
cmp dword [esi + 0x4bb8], 0
jne 0x417bad
cmp byte [ebp - 1], 0
jne 0x417ba9
cmp byte [ebp - 2], 0
je 0x417bad
mov al, 1
jmp 0x417baf
xor al, al
mov byte [ebp - 4], al
test cl, cl
jne 0x417bbe
test al, al
je 0x417d00
mov eax, dword [esi + 0x4a04]
test eax, eax
jne 0x417be9
mov ecx, dword [esi + 0x3f4c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.004178b0
add esp, 4
test eax, eax
je 0x417d00
mov cl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [esi + 0x4bbc], eax
mov dword [esi + 0x4bb8], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [esi + 0x4bc8], 0
add eax, 2
mov dword [esi + 0x4bc4], 0
cmp byte [ebp - 1], 0
mov dword [esi + 0x4bd8], 0
mov dword [esi + 0x4bdc], 0
mov dword [esi + 0x4bd0], 0
mov dword [esi + 0x4bd4], 0
mov byte [esi + 0x4bcc], cl
mov dword [esi + 0x4a34], eax
jne 0x417c5d
cmp byte [ebp - 2], 0
je 0x417d00
mov edi, dword [esi + 0x4bb4]
or edi, dword [esi + 0x4bb0]
mov ecx, dword [0x4424a0]
test edi, 0x1000
je 0x417c8c
mov edx, 0x1000
call fcn.00403e70
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x2000
je 0x417ca9
mov edx, 0x2000
call fcn.00403e70
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x4000
je 0x417cc6
mov edx, 0x4000
call fcn.00403e70
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x8000
je 0x417ce3
mov edx, 0x8000
call fcn.00403e70
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
test edi, 0x800
je 0x417d00
mov edx, 0x800
call fcn.00403e70
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov word [eax + 8], 0
cmp dword [esi + 0x4bb8], 0
xorps xmm6, xmm6
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x4bc4]
movss xmm1, dword [0x43fac4]
movss xmm2, dword [0x43fab4]
movss xmm5, dword [0x43fb14]
movss dword [esi + 0x4bc4], xmm0
je 0x417e85
cmp dword [esi + 0x4a34], 3
jne 0x417e85
subss xmm0, xmm1
divss xmm0, xmm2
comiss xmm6, xmm0
jbe 0x417d5c
xorps xmm1, xmm1
jmp 0x417d63
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [esi + 0x4bc8]
xor edx, edx
maxss xmm7, xmm1
mov ecx, 0x282
push 1
movss dword [esi + 0x4bc8], xmm7
call fcn.004113f0
add esp, 4
xor edx, edx
mov ecx, 0x281
mov bl, al
push 1
call fcn.004113f0
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x417db7
call fcn.00417920
mov dword [esi + 0x4bc8], 0x3f800000
movaps xmm7, xmm5
mov ebx, dword [0x4424a0]
mov edx, 0x279
mov ecx, ebx
call fcn.00410e20
cmp byte [eax], 0
je 0x417dde
mov edx, 0x279
call fcn.00403e70
cmp byte [eax + 8], 0
je 0x417e1a
comiss xmm5, xmm7
seta al
and byte [esi + 0x4bcc], al
je 0x417dfb
cmp dword [esi + 0x4a04], 0
je 0x417e10
mov byte [ebp - 8], 1
jmp 0x417e10
mov eax, dword [esi + 0x4bb8]
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 2]
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
mov dword [esi + 0x4bb8], 0
movss xmm2, dword [0x43fab4]
movss xmm1, dword [0x43fac4]
cmp dword [esi + 0x4bb8], 0
je 0x417edf
cmp dword [esi + 0x4a34], 2
jne 0x417edf
movss xmm0, dword [esi + 0x4bc4]
mov edx, 0xf800
mov eax, dword [esi + 0x4bb0]
subss xmm0, xmm1
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4bb4]
test eax, eax
divss xmm0, xmm2
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x417e8d
xorps xmm5, xmm5
jmp 0x417e91
mov ebx, dword [0x4424a0]
jmp 0x417e2a
minss xmm5, xmm0
movss xmm0, dword [esi + 0x4bc8]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [esi + 0x4bc8], xmm0
test al, al
jne 0x417ecd
cmp byte [ebp - 2], al
jne 0x417ecd
mov eax, dword [esi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x417edf
mov eax, dword [esi + 0x4bb8]
mov dword [ebp - 0x10], eax
jmp 0x417edf
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.00417920
cmp byte [ebp - 0x18], 0
je 0x417f0c
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.004113f0
add esp, 4
test al, al
je 0x417f0c
mov byte [esi + 0x4bcc], 1
mov dword [esi + 0x4a34], 2
cmp byte [esi + 0x4bcc], 0
mov edi, 1
je 0x418045
cmp dword [esi + 0x4a34], 2
jne 0x418045
cmp dword [esi + 0x3898], 0
jg 0x417f60
cmp byte [esi + 0xe1c], 0
jne 0x417f60
cmp byte [esi + 0xe1d], 0
jne 0x417f60
cmp byte [esi + 0xe1f], 0
jne 0x417f60
mov edx, 0x4000
mov ecx, ebx
call fcn.00403e70
cmp dword [eax], 0xffffffff
je 0x417f67
mov byte [esi + 0x4bcc], 0
mov edx, 0x4000
mov ecx, ebx
call fcn.00410e20
comiss xmm6, dword [eax + 8]
ja 0x41801d
cmp byte [eax], 0
jne 0x41801d
mov edx, 0x4000
call fcn.00403e70
cmp byte [eax + 8], 0
jne 0x41801d
cmp byte [esi + 0x4bcc], 0
je 0x41801d
cmp dword [esi + 0x3fd8], 0
je 0x417fb5
cmp byte [esi + 0x3fe5], 0
je 0x41801d
lea eax, [esi + 0x37c8]
test eax, eax
jne 0x417fc5
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
movss xmm1, dword [0x43fbc8]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x417fe4
comiss xmm2, xmm1
jb 0x417fe4
mov cl, 1
jmp 0x417fe6
xor cl, cl
lea eax, [esi + 0xe00]
test eax, eax
jne 0x417ff6
lea eax, [ebx + 0xe00]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x41800d
comiss xmm2, xmm1
jb 0x41800d
mov al, 1
jmp 0x41800f
xor al, al
mov edx, dword [ebp - 8]
cmp al, cl
movzx edx, dl
cmove edx, edi
mov dword [ebp - 8], edx
mov edx, 0x4000
mov ecx, ebx
call fcn.00410e20
cmp byte [eax], 0
je 0x41803e
mov edx, 0x4000
call fcn.00403e70
cmp byte [eax + 8], 0
je 0x418045
mov byte [esi + 0x4bcc], 0
mov eax, dword [esi + 0x4bb8]
test eax, eax
je 0x4181dd
test byte [eax + 0xc], 4
jne 0x4181dd
mov eax, dword [esi + 0x4a34]
cmp eax, 2
jne 0x4180a0
cmp byte [esi + 0xe1d], 0
jne 0x4181dd
mov edx, 0x203
mov ecx, ebx
call fcn.00410e20
mov edx, 0x201
mov edi, eax
call fcn.00410e20
mov edx, 0x202
mov esi, eax
call fcn.00410e20
mov edx, 0x204
jmp 0x4180d2
cmp eax, 3
jne 0x4181dd
mov edx, 0x289
mov ecx, ebx
call fcn.00410e20
mov edx, 0x287
mov edi, eax
call fcn.00410e20
mov edx, 0x288
mov esi, eax
call fcn.00410e20
mov edx, 0x28a
movss xmm2, dword [eax + 0xc]
mov ecx, ebx
subss xmm2, dword [esi + 0xc]
call fcn.00410e20
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x418103
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x4181d5
mov esi, dword [ebp - 0xc]
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x43fb98]
mov byte [esi + 0x4a4b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4bd0]
addss xmm3, dword [esi + 0x4bd4]
cvttss2si eax, xmm2
movss dword [esi + 0x4bd0], xmm2
movss dword [esi + 0x4bd4], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x418178
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x4181d8
mov eax, dword [esi + 0x4bb8]
lea edx, [ebp - 0x1c]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.00410b10
movss xmm0, dword [esi + 0x4bd0]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x4bd0], xmm0
movss xmm0, dword [esi + 0x4bd4]
subss xmm0, xmm4
movss dword [esi + 0x4bd4], xmm0
jmp 0x4181d8
mov esi, dword [ebp - 0xc]
mov edi, 1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41825c
mov eax, dword [esi + 0x4a04]
test eax, eax
je 0x4181f6
cmp ebx, dword [eax + 0x308]
je 0x418252
xor edx, edx
xor ecx, ecx
call fcn.004078d0
mov eax, dword [0x4424a0]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4a49], 1
mov byte [eax + 0x4a4b], 1
call fcn.00414000
mov edx, edi
mov ecx, ebx
call fcn.00410540
mov edi, dword [esi + 0x4a04]
cmp dword [edi + 0x31c], 0
jne 0x41823e
xor dl, dl
mov ecx, edi
call fcn.004155e0
cmp word [edi + 0x156], 2
jne 0x418252
mov dword [esi + 0x4a38], 1
mov dword [esi + 0x4bb8], 0
cmp byte [ebp - 8], 0
je 0x418320
cmp dword [esi + 0x4a04], 0
je 0x418320
xor edx, edx
xor ecx, ecx
call fcn.004078d0
mov edi, dword [esi + 0x4a04]
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
je 0x4182ba
test byte [edi + 0x154], 2
jne 0x4182ba
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x4182ba
mov edi, dword [ecx]
cmp dword [edi + 0x300], 0
lea ecx, [edi + 0x300]
jne 0x418291
mov ebx, dword [esi + 0x4a04]
cmp edi, ebx
je 0x4182d3
xor edx, edx
mov ecx, edi
call fcn.00410540
mov dword [edi + 0x318], ebx
mov eax, dword [esi + 0x4a04]
test byte [eax + 0x154], 2
je 0x4182ed
mov ecx, dword [esi + 0x4a38]
xor ecx, 1
jmp 0x4182ef
xor ecx, ecx
cmp ecx, dword [esi + 0x4a38]
je 0x418320
cmp ecx, 1
jne 0x418306
mov dword [eax + 0x320], 0
call fcn.00415530
mov eax, dword [0x4424a0]
mov word [eax + 0x4a49], 1
mov byte [eax + 0x4a4b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret