Function at 0x1001b0c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [0x10270558]
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], bl
call fcn.10016fd0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1001b0ed
mov dword [esi + 0x4948], ebx
xor eax, eax
jmp 0x1001b0f3
mov eax, dword [esi + 0x4948]
cmp dword [esi + 0x494c], ebx
je 0x1001b13b
test eax, eax
jne 0x1001b13b
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10187a10]
movss xmm1, dword [esi + 0x4958]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x4970]
maxss xmm1, xmm0
movss dword [esi + 0x4958], xmm1
jb 0x1001b13b
comiss xmm0, xmm1
jb 0x1001b13b
mov dword [esi + 0x494c], ebx
or ebx, 0xffffffff
mov edx, 0x1017c4c5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x1001b156
cmp byte [edx], al
jne 0x1001b156
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x1017c928]
test al, al
jne 0x1001b148
mov eax, dword [esi + 8]
not ebx
mov edi, dword [0x10270558]
test al, 2
je 0x1001b188
test byte [esi + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1001b18c
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001b1c7
mov ecx, dword [esi + 0x4940]
test ecx, ecx
je 0x1001b1c7
push 0x1001
mov edx, ebx
call fcn.10015e60
mov edi, dword [0x10270558]
add esp, 4
test al, al
je 0x1001b1c4
mov byte [ebp - 1], 1
jmp 0x1001b1cf
mov eax, dword [ebp - 0xc]
mov byte [ebp - 1], 0
test eax, eax
jne 0x1001b1f8
mov ecx, dword [esi + 0x4944]
test ecx, ecx
je 0x1001b1f8
push 0x1001
mov edx, ebx
call fcn.10015e60
mov edi, dword [0x10270558]
add esp, 4
test al, al
je 0x1001b1f8
mov byte [ebp - 2], 1
jmp 0x1001b202
cmp dword [ebp - 0xc], 0
mov byte [ebp - 2], 0
jne 0x1001b23c
cmp byte [ebp - 3], 0
je 0x1001b23c
cmp dword [esi + 0x4948], 0
jne 0x1001b23c
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.100140d0
add esp, 4
test al, al
je 0x1001b23c
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
mov dword [ebp - 8], 0
jmp 0x1001b26b
mov eax, dword [esi + 0x4948]
xor dl, dl
cmp dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
mov byte [ebp - 3], dl
mov dword [ebp - 0x18], eax
jne 0x1001b277
cmp dword [ebp - 0x18], 0
mov cl, byte [ebp - 2]
mov dword [ebp - 8], eax
mov al, byte [ebp - 1]
mov byte [ebp - 3], dl
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
jne 0x1001b277
test al, al
jne 0x1001b273
test cl, cl
je 0x1001b277
mov al, 1
jmp 0x1001b279
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x1001b288
test al, al
je 0x1001b352
mov eax, dword [esi + 0x47dc]
test eax, eax
jne 0x1001b2b6
mov ecx, dword [esi + 0x3e1c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.1001afb0
mov ecx, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x1001b355
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x300]
mov dword [ebp - 8], eax
mov dword [esi + 0x494c], eax
mov dword [esi + 0x4948], eax
mov dword [esi + 0x4968], 0
mov eax, dword [esi + 0x4968]
mov dword [esi + 0x4960], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [esi + 0x496c], 0
mov ecx, dword [esi + 0x496c]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [esi + 0x4958], 0
mov dword [esi + 0x4954], 0
mov dword [esi + 0x4964], ecx
mov byte [esi + 0x495c], dl
mov dword [esi + 0x480c], eax
jne 0x1001b32d
cmp byte [ebp - 2], 0
je 0x1001b352
push ecx
mov ecx, dword [esi + 0x4944]
mov edx, ebx
or ecx, dword [esi + 0x4940]
and ecx, 0xf800
call fcn.10015d40
mov ecx, dword [esi + 0x4948]
add esp, 4
jmp 0x1001b355
mov ecx, dword [ebp - 8]
movss xmm0, dword [esi + 0x18]
movss xmm7, dword [0x10187848]
movss xmm1, dword [0x1018781c]
movss xmm5, dword [0x101878cc]
addss xmm0, dword [esi + 0x4954]
movss dword [esi + 0x4954], xmm0
test ecx, ecx
je 0x1001b461
cmp dword [esi + 0x480c], 3
jne 0x1001b461
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1001b3ae
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [esi + 0x4958]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [esi + 0x4958], xmm6
call fcn.100140d0
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.100140d0
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x1001b404
mov ecx, eax
call fcn.1001b020
mov dword [esi + 0x4958], 0x3f800000
movaps xmm6, xmm5
cmp byte [edi + 0x348c], 0
je 0x1001b41d
xor edx, edx
mov ecx, 0x26b
call fcn.10015c90
test al, al
jne 0x1001b459
comiss xmm5, xmm6
seta al
and byte [esi + 0x495c], al
je 0x1001b43a
cmp dword [esi + 0x47dc], 0
je 0x1001b44f
mov byte [ebp - 0x10], 1
jmp 0x1001b44f
mov al, byte [ebp - 2]
mov ebx, dword [esi + 0x4948]
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], al
mov dword [esi + 0x4948], 0
movss xmm1, dword [0x1018781c]
mov ebx, dword [esi + 0x4948]
xorps xmm6, xmm6
test ebx, ebx
je 0x1001b50c
cmp dword [esi + 0x480c], 2
jne 0x1001b50c
movss xmm0, dword [esi + 0x4954]
mov edx, 0xf800
mov eax, dword [esi + 0x4940]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [esi + 0x4944]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x1001b4c0
xorps xmm5, xmm5
jmp 0x1001b4c4
minss xmm5, xmm0
movss xmm0, dword [esi + 0x4958]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [esi + 0x4958], xmm0
test al, al
jne 0x1001b4fa
cmp byte [ebp - 2], al
jne 0x1001b4fa
mov eax, dword [esi + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1001b50c
mov dword [ebp - 0x14], ebx
jmp 0x1001b50c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.1001b020
cmp byte [ebp - 0x1c], 0
je 0x1001b539
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.100140d0
add esp, 4
test al, al
je 0x1001b539
mov byte [esi + 0x495c], 1
mov dword [esi + 0x480c], 2
mov bl, byte [esi + 0x495c]
test bl, bl
je 0x1001b66d
cmp dword [esi + 0x480c], 2
jne 0x1001b66d
cmp dword [esi + 0x3770], 0
jg 0x1001b591
cmp byte [esi + 0xdd4], 0
jne 0x1001b591
cmp byte [esi + 0xdd5], 0
jne 0x1001b591
cmp byte [esi + 0xdd7], 0
jne 0x1001b591
mov edx, 0x4000
mov ecx, edi
call fcn.100056e0
lea eax, [eax + eax*2]
cmp dword [edi + eax*4 + 0x26e0], 0xffffffff
je 0x1001b59a
mov byte [esi + 0x495c], 0
xor bl, bl
call fcn.100141c0
test al, al
je 0x1001b62a
test bl, bl
je 0x1001b62a
cmp dword [esi + 0x3ea4], 0
je 0x1001b5bd
cmp byte [esi + 0x3eb1], 0
je 0x1001b62a
lea eax, [esi + 0xdb8]
test eax, eax
jne 0x1001b5cd
lea eax, [edi + 0xdb8]
movss xmm0, dword [eax]
movss xmm1, dword [0x10187c64]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001b5ec
comiss xmm2, xmm1
jb 0x1001b5ec
mov cl, 1
jmp 0x1001b5ee
xor cl, cl
lea eax, [esi + 0x36a0]
test eax, eax
jne 0x1001b5fe
lea eax, [edi + 0xdb8]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001b615
comiss xmm2, xmm1
jb 0x1001b615
mov al, 1
jmp 0x1001b617
xor al, al
mov edx, dword [ebp - 0x10]
cmp cl, al
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0x10], edx
mov edx, 0x4000
mov ecx, edi
call fcn.100056e0
cmp eax, 0x1ff
ja 0x1001b64a
mov ecx, dword [edi + eax*4 + 0xb8]
cmp ecx, 0xffffffff
cmovne eax, ecx
add eax, eax
cmp byte [edi + eax*8 + 0xddc], 0
je 0x1001b666
xor edx, edx
mov ecx, 0x4000
call fcn.10015c90
test al, al
jne 0x1001b66d
mov byte [esi + 0x495c], 0
mov eax, dword [esi + 0x4948]
test eax, eax
je 0x1001b7cb
test byte [eax + 0xc], 4
jne 0x1001b7cb
mov eax, dword [esi + 0x480c]
cmp eax, 2
jne 0x1001b6bf
cmp byte [esi + 0xdd5], 0
jne 0x1001b7cb
movss xmm3, dword [edi + 0x2e28]
movss xmm2, dword [edi + 0x2e08]
subss xmm3, dword [edi + 0x2e18]
subss xmm2, dword [edi + 0x2df8]
jmp 0x1001b6e8
cmp eax, 3
jne 0x1001b7cb
movss xmm3, dword [edi + 0x35a8]
movss xmm2, dword [edi + 0x3588]
subss xmm3, dword [edi + 0x3598]
subss xmm2, dword [edi + 0x3578]
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x1001b6fe
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x1001b7cb
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x18]
minss xmm1, dword [esi + 0x40]
mulss xmm0, dword [0x10187bb8]
mov byte [esi + 0x4817], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esi + 0x4960]
addss xmm3, dword [esi + 0x4964]
cvttss2si eax, xmm2
movss dword [esi + 0x4960], xmm2
movss dword [esi + 0x4964], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x1001b770
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x1001b7cb
mov eax, dword [esi + 0x4948]
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.10013960
movss xmm0, dword [esi + 0x4960]
add esp, 4
subss xmm0, xmm5
movss dword [esi + 0x4960], xmm0
movss xmm0, dword [esi + 0x4964]
subss xmm0, xmm4
movss dword [esi + 0x4964], xmm0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1001b84d
mov eax, dword [esi + 0x47dc]
test eax, eax
je 0x1001b7e4
cmp ebx, dword [eax + 0x300]
je 0x1001b843
xor edx, edx
xor ecx, ecx
call fcn.10009a90
mov eax, dword [0x10270558]
xor dl, dl
mov ecx, ebx
mov word [eax + 0x4815], 1
mov byte [eax + 0x4817], 1
call fcn.10017220
mov edx, 1
mov ecx, ebx
call fcn.10013250
mov edi, dword [esi + 0x47dc]
cmp dword [edi + 0x314], 0
jne 0x1001b82f
xor dl, dl
mov ecx, edi
call fcn.10018d60
cmp word [edi + 0x14e], 2
jne 0x1001b843
mov dword [esi + 0x4810], 1
mov dword [esi + 0x4948], 0
cmp byte [ebp - 0x10], 0
je 0x1001b907
cmp dword [esi + 0x47dc], 0
je 0x1001b907
xor edx, edx
xor ecx, ecx
call fcn.10009a90
mov ebx, dword [esi + 0x47dc]
mov edi, ebx
cmp dword [edi + 0x2f8], 0
lea ecx, [edi + 0x2f8]
je 0x1001b8ad
test byte [edi + 0x14c], 2
jne 0x1001b8ad
mov eax, dword [edi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001b8ad
mov edi, dword [ecx]
cmp dword [edi + 0x2f8], 0
lea ecx, [edi + 0x2f8]
jne 0x1001b884
cmp edi, ebx
je 0x1001b8c6
xor edx, edx
mov ecx, edi
call fcn.10013250
mov dword [edi + 0x310], ebx
mov ebx, dword [esi + 0x47dc]
mov edx, dword [esi + 0x4810]
mov ecx, edx
mov al, byte [ebx + 0x14c]
xor ecx, 1
xor esi, esi
and al, 2
cmove ecx, esi
cmp ecx, edx
je 0x1001b907
cmp ecx, 1
jne 0x1001b8ed
mov dword [ebx + 0x318], esi
call fcn.10018c60
mov eax, dword [0x10270558]
mov word [eax + 0x4815], 1
mov byte [eax + 0x4817], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret