Function at 0x10016770
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x1005b8d8]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.100125b0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100167a4
mov dword [ebx + 0x495c], 0
xor eax, eax
jmp 0x100167aa
mov eax, dword [ebx + 0x495c]
cmp dword [ebx + 0x4960], 0
je 0x100167f3
test eax, eax
jne 0x100167f3
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1004924c]
movss xmm1, dword [ebx + 0x496c]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4984]
maxss xmm1, xmm0
movss dword [ebx + 0x496c], xmm1
jb 0x100167f3
comiss xmm0, xmm1
jb 0x100167f3
mov dword [ebx + 0x4960], eax
or edx, 0xffffffff
mov esi, 0x10043fd5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x1001680e
cmp byte [esi], al
jne 0x1001680e
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 + 0x10044408]
test al, al
jne 0x10016800
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x1005b8d8]
mov dword [ebp - 0xc], edx
test al, 2
je 0x10016843
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x10016847
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x1001687d
mov ecx, dword [ebx + 0x4954]
test ecx, ecx
je 0x1001687d
push 0x1001
call fcn.10011580
mov edi, dword [0x1005b8d8]
add esp, 4
test al, al
je 0x1001687d
mov byte [ebp - 1], 1
jmp 0x10016885
mov byte [ebp - 1], 0
test esi, esi
jne 0x100168b1
mov ecx, dword [ebx + 0x4958]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x100168b4
push 0x1001
mov edx, esi
call fcn.10011580
mov edi, dword [0x1005b8d8]
add esp, 4
test al, al
je 0x100168b4
mov byte [ebp - 2], 1
jmp 0x100168be
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x100168f1
cmp byte [ebp - 3], 0
je 0x100168f1
cmp dword [ebx + 0x495c], 0
jne 0x100168f1
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.1000fa10
add esp, 4
test al, al
je 0x100168f1
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x10016914
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x10016920
cmp dword [ebx + 0x495c], 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 0x10016920
test al, al
jne 0x1001691c
test cl, cl
je 0x10016920
mov al, 1
jmp 0x10016922
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x10016931
test al, al
je 0x10016a81
mov eax, dword [ebx + 0x47f0]
test eax, eax
jne 0x1001695c
mov ecx, dword [ebx + 0x3e24]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.10016660
add esp, 4
test eax, eax
je 0x10016a81
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebx + 0x4960], eax
mov dword [ebx + 0x495c], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x496c], 0
add eax, 2
mov dword [ebx + 0x4968], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x497c], 0
mov dword [ebx + 0x4980], 0
mov dword [ebx + 0x4974], 0
mov dword [ebx + 0x4978], 0
mov byte [ebx + 0x4970], dl
mov dword [ebx + 0x4820], eax
jne 0x100169d0
cmp byte [ebp - 2], 0
je 0x10016a81
mov eax, dword [ebx + 0x4958]
or eax, dword [ebx + 0x4954]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x10016a00
mov edx, 0x1000
mov ecx, edi
call fcn.10002b10
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x10016a21
mov edx, 0x2000
mov ecx, edi
call fcn.10002b10
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x10016a42
mov edx, 0x4000
mov ecx, edi
call fcn.10002b10
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x10016a63
mov edx, 0x8000
mov ecx, edi
call fcn.10002b10
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x10016a81
mov edx, 0x800
mov ecx, edi
call fcn.10002b10
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4968]
mov esi, dword [ebx + 0x495c]
movss xmm7, dword [0x100491a8]
movss xmm1, dword [0x10049198]
movss xmm5, dword [0x100491f8]
movss dword [ebx + 0x4968], xmm0
test esi, esi
je 0x10016bf9
cmp dword [ebx + 0x4820], 3
jne 0x10016b75
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10016ae0
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x496c]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x496c], xmm6
call fcn.1000fa10
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.1000fa10
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x10016b41
mov ecx, eax
call fcn.100166d0
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x495c]
mov dword [ebx + 0x496c], 0x3f800000
jmp 0x10016b44
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, edi
call fcn.1000f490
cmp byte [eax], 0
je 0x10016bc9
mov edx, 0x26b
call fcn.10002b10
cmp byte [eax + 8], 0
jne 0x10016bc9
movss xmm1, dword [0x10049198]
test esi, esi
je 0x10016bf9
cmp dword [ebx + 0x4820], 2
xorps xmm6, xmm6
jne 0x10016bfc
movss xmm0, dword [ebx + 0x4968]
mov edx, 0xf800
mov eax, dword [ebx + 0x4954]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4958]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x10016c8b
xorps xmm5, xmm5
jmp 0x10016c8f
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4970], al
je 0x10016be6
cmp dword [ebx + 0x47f0], 0
je 0x10016bef
mov byte [ebp - 8], 1
jmp 0x10016bef
mov eax, dword [ebx + 0x495c]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x495c], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x10016c29
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.1000fa10
add esp, 4
test al, al
je 0x10016c29
mov byte [ebx + 0x4970], 1
mov dword [ebx + 0x4820], 2
cmp byte [ebx + 0x4970], 0
mov edi, 1
je 0x10016dde
cmp dword [ebx + 0x4820], 2
jne 0x10016dde
cmp dword [ebx + 0x3778], 0
jg 0x10016ce9
cmp byte [ebx + 0xdd8], 0
jne 0x10016ce9
cmp byte [ebx + 0xdd9], 0
jne 0x10016ce9
cmp byte [ebx + 0xddb], 0
mov ecx, dword [0x1005b8d8]
jne 0x10016cef
mov edx, 0x4000
call fcn.10002b10
cmp dword [eax], 0xffffffff
je 0x10016cf6
jmp 0x10016cef
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x496c]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x496c], xmm0
test al, al
jne 0x10016cd2
cmp byte [ebp - 2], al
jne 0x10016cd2
mov eax, dword [ebx + 0xddc]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x10016bfc
mov eax, dword [ebx + 0x495c]
mov dword [ebp - 0x18], eax
jmp 0x10016bfc
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.100166d0
jmp 0x10016bfc
mov ecx, dword [0x1005b8d8]
mov byte [ebx + 0x4970], 0
mov edx, 0x4000
call fcn.1000f490
comiss xmm6, dword [eax + 8]
ja 0x10016db6
cmp byte [eax], 0
jne 0x10016db6
mov edx, 0x4000
call fcn.10002b10
cmp byte [eax + 8], 0
jne 0x10016db6
cmp byte [ebx + 0x4970], 0
je 0x10016db6
cmp dword [ebx + 0x3eac], 0
je 0x10016d46
cmp byte [ebx + 0x3eb9], 0
je 0x10016db6
lea eax, [ebx + 0x36a4]
test eax, eax
jne 0x10016d56
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
movss xmm1, dword [0x100492f4]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10016d75
comiss xmm2, xmm1
jb 0x10016d75
mov dl, 1
jmp 0x10016d77
xor dl, dl
lea eax, [ebx + 0xdbc]
test eax, eax
jne 0x10016d87
lea eax, [ecx + 0xdbc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10016d9e
comiss xmm2, xmm1
jb 0x10016d9e
mov al, 1
jmp 0x10016da0
xor al, al
mov ebx, dword [ebp - 8]
cmp al, dl
movzx ebx, bl
mov eax, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
cmove eax, edi
mov dword [ebp - 8], eax
mov edx, 0x4000
call fcn.1000f490
cmp byte [eax], 0
je 0x10016dd5
mov edx, 0x4000
call fcn.10002b10
cmp byte [eax + 8], 0
je 0x10016de4
mov byte [ebx + 0x4970], 0
jmp 0x10016de4
mov ecx, dword [0x1005b8d8]
mov eax, dword [ebx + 0x495c]
test eax, eax
je 0x10016f6e
test byte [eax + 0xc], 4
jne 0x10016f6e
mov eax, dword [ebx + 0x4820]
cmp eax, 2
jne 0x10016e3d
cmp byte [ebx + 0xdd9], 0
jne 0x10016f6e
mov edx, 0x203
call fcn.1000f490
mov edx, 0x201
mov edi, eax
call fcn.1000f490
mov edx, 0x202
mov esi, eax
call fcn.1000f490
mov edx, 0x204
jmp 0x10016e6d
cmp eax, 3
jne 0x10016f6e
mov edx, 0x27b
call fcn.1000f490
mov edx, 0x279
mov edi, eax
call fcn.1000f490
mov edx, 0x27a
mov esi, eax
call fcn.1000f490
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.1000f490
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x10016e9c
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x10016f69
movss xmm1, dword [ebx + 0x3c]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x40]
mulss xmm0, dword [0x100492c4]
mov byte [ebx + 0x482b], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x4974]
addss xmm3, dword [ebx + 0x4978]
cvttss2si eax, xmm2
movss dword [ebx + 0x4974], xmm2
movss dword [ebx + 0x4978], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x10016f0e
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x10016f69
mov eax, dword [ebx + 0x495c]
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.1000f1d0
movss xmm0, dword [ebx + 0x4974]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x4974], xmm0
movss xmm0, dword [ebx + 0x4978]
subss xmm0, xmm4
movss dword [ebx + 0x4978], xmm0
mov edi, 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10016fed
mov eax, dword [ebx + 0x47f0]
test eax, eax
je 0x10016f87
cmp esi, dword [eax + 0x300]
je 0x10016fe3
xor edx, edx
xor ecx, ecx
call fcn.10006470
mov eax, dword [0x1005b8d8]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
call fcn.10012820
mov edx, edi
mov ecx, esi
call fcn.1000eba0
mov esi, dword [ebx + 0x47f0]
cmp dword [esi + 0x314], 0
jne 0x10016fcf
xor dl, dl
mov ecx, esi
call fcn.10014260
cmp word [esi + 0x14e], 2
jne 0x10016fe3
mov dword [ebx + 0x4824], 1
mov dword [ebx + 0x495c], 0
cmp byte [ebp - 8], 0
je 0x100170b1
cmp dword [ebx + 0x47f0], 0
je 0x100170b1
xor edx, edx
xor ecx, ecx
call fcn.10006470
mov esi, dword [ebx + 0x47f0]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x1001704b
test byte [esi + 0x14c], 2
jne 0x1001704b
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001704b
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x10017022
mov edi, dword [ebx + 0x47f0]
cmp esi, edi
je 0x10017064
xor edx, edx
mov ecx, esi
call fcn.1000eba0
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47f0]
test byte [eax + 0x14c], 2
je 0x1001707e
mov ecx, dword [ebx + 0x4824]
xor ecx, 1
jmp 0x10017080
xor ecx, ecx
cmp ecx, dword [ebx + 0x4824]
je 0x100170b1
cmp ecx, 1
jne 0x10017097
mov dword [eax + 0x318], 0
call fcn.10014160
mov eax, dword [0x1005b8d8]
mov word [eax + 0x4829], 1
mov byte [eax + 0x482b], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret