Function at 0x1001f550
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x1006ef44]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov edx, dword [ebx + 0x47b4]
sub edx, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x10], al
js 0x1001f59f
mov eax, dword [ebx + 0x47bc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x1001f597
test dword [edi + 0xc], 0x8000000
jne 0x1001f676
sub eax, 0x28
sub edx, 1
jns 0x1001f584
lea eax, [ebx + 0x4948]
xor edi, edi
mov dword [ebp - 8], eax
mov eax, dword [eax]
cmp dword [ebx + 0x494c], 0
je 0x1001f5f8
test eax, eax
jne 0x1001f5f8
vmovss xmm0, dword [ebx + 0x18]
vmulss xmm1, xmm0, dword [0x10055a68]
vmovss xmm0, dword [ebx + 0x4958]
vsubss xmm0, xmm0, xmm1
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, dword [ebx + 0x4970]
vmaxss xmm0, xmm0, xmm1
vmovss dword [ebx + 0x4958], xmm0
jb 0x1001f5f8
vcomiss xmm1, xmm0
jb 0x1001f5f8
mov dword [ebx + 0x494c], eax
or edx, 0xffffffff
mov esi, 0x1005541d
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1001f613
cmp byte [esi], al
jne 0x1001f613
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10050408]
test al, al
jne 0x1001f605
mov ebx, dword [ebp - 0x14]
not edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 8]
test al, 2
je 0x1001f645
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1001f649
mov byte [ebp - 3], 0
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x1001f68c
mov ecx, dword [ebx + 0x4940]
test ecx, ecx
je 0x1001f68c
push 0x1001
call fcn.1001a280
add esp, 4
test al, al
je 0x1001f68c
mov byte [ebp - 1], 1
jmp 0x1001f694
lea eax, [ebx + 0x4948]
mov dword [eax], 0
mov dword [ebp - 8], eax
xor eax, eax
jmp 0x1001f5ac
mov byte [ebp - 1], 0
test edi, edi
jne 0x1001f6ba
mov ecx, dword [ebx + 0x4944]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x1001f6bd
push 0x1001
mov edx, esi
call fcn.1001a280
add esp, 4
test al, al
je 0x1001f6bd
mov byte [ebp - 2], 1
jmp 0x1001f6c5
mov esi, dword [ebp - 0xc]
mov byte [ebp - 2], 0
test edi, edi
jne 0x1001f6f8
cmp byte [ebp - 3], 0
je 0x1001f6f8
cmp dword [ebx + 0x4948], 0
jne 0x1001f6f8
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.10018690
add esp, 4
test al, al
je 0x1001f6f8
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 1]
mov byte [ebp - 3], 1
mov al, byte [ebp - 3]
jmp 0x1001f718
xor al, al
mov byte [ebp - 3], al
test edi, edi
jne 0x1001f724
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 1]
mov byte [ebp - 3], al
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
cmp dword [ebx + 0x4948], edi
jne 0x1001f724
test dl, dl
jne 0x1001f720
test cl, cl
je 0x1001f724
mov cl, 1
jmp 0x1001f726
xor cl, cl
mov byte [ebp - 4], cl
test al, al
jne 0x1001f735
test cl, cl
je 0x1001f859
mov eax, dword [ebx + 0x47dc]
test eax, eax
jne 0x1001f75d
mov ecx, dword [ebx + 0x3e1c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.1001f4e0
add esp, 4
test eax, eax
je 0x1001f859
mov eax, dword [eax + 0x300]
lea edi, [ebx + 0x4948]
mov dword [ebx + 0x494c], eax
mov dword [edi], eax
mov al, byte [ebp - 3]
mov byte [ebx + 0x495c], al
movzx eax, byte [ebp - 4]
xor eax, 1
vxorps xmm1, xmm1, xmm1
add eax, 2
cmp byte [ebp - 1], 0
vmovss dword [ebx + 0x4958], xmm1
vmovss dword [ebx + 0x4954], xmm1
vmovups xmmword [ebx + 0x4960], xmm1
mov dword [ebx + 0x480c], eax
jne 0x1001f7b6
cmp byte [ebp - 2], 0
je 0x1001f863
mov edi, dword [ebx + 0x4944]
or edi, dword [ebx + 0x4940]
mov ecx, dword [0x1006ef44]
test edi, 0x1000
je 0x1001f7e5
mov edx, 0x1000
call fcn.1000b3b0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x2000
je 0x1001f802
mov edx, 0x2000
call fcn.1000b3b0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x4000
je 0x1001f81f
mov edx, 0x4000
call fcn.1000b3b0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x8000
je 0x1001f83c
mov edx, 0x8000
call fcn.1000b3b0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
test edi, 0x800
je 0x1001f859
mov edx, 0x800
call fcn.1000b3b0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
lea edi, [ebx + 0x4948]
vxorps xmm1, xmm1, xmm1
vmovss xmm0, dword [ebx + 0x4954]
mov esi, dword [edi]
mov eax, esi
mov dword [ebp - 0xc], eax
vaddss xmm0, xmm0, dword [ebx + 0x18]
vmovss xmm2, dword [0x100558cc]
vmovss xmm3, dword [0x100558bc]
vmovss dword [ebx + 0x4954], xmm0
test esi, esi
je 0x1001fa1c
cmp dword [ebx + 0x480c], 3
mov dword [ebp - 0xc], eax
jne 0x1001fa1c
vsubss xmm0, xmm0, xmm2
vdivss xmm2, xmm0, xmm3
vcomiss xmm1, xmm2
ja 0x1001f8c1
vmovss xmm0, dword [0x10055920]
vminss xmm1, xmm0, xmm2
vmovss xmm0, dword [ebx + 0x4958]
vmaxss xmm0, xmm0, xmm1
push 1
xor edx, edx
mov ecx, 0x273
vmovss dword [ebp - 0x1c], xmm0
vmovss dword [ebx + 0x4958], xmm0
call fcn.10018690
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.10018690
movzx ecx, al
add esp, 4
movzx ebx, bl
mov dword [ebp - 0xc], esi
mov esi, dword [0x1006ef44]
sub ebx, ecx
je 0x1001f9a0
mov eax, dword [esi + 0x4948]
test dword [eax + 0xc], 0x8000000
jne 0x1001f981
movsx eax, word [eax + 0xbe]
mov edx, 0x80000001
push ebx
mov dword [ebp - 0x1c], eax
lea ecx, [eax + ebx]
call fcn.1001f4e0
add esp, 4
test eax, eax
jne 0x1001f962
test ebx, ebx
jns 0x1001f950
mov ecx, dword [esi + 0x3e1c]
dec ecx
jmp 0x1001f952
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
push ebx
call fcn.1001f4e0
add esp, 4
test eax, eax
je 0x1001f97a
vxorps xmm0, xmm0, xmm0
mov dword [esi + 0x494c], eax
mov dword [esi + 0x4948], eax
vmovups xmmword [esi + 0x4960], xmm0
mov byte [esi + 0x495c], 0
mov ebx, dword [ebp - 0x14]
vmovss xmm0, dword [0x10055920]
mov eax, dword [edi]
vmovss dword [ebp - 0x1c], xmm0
vmovss dword [ebx + 0x4958], xmm0
mov dword [ebp - 0xc], eax
jmp 0x1001f9a3
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, esi
call fcn.10018080
cmp byte [eax], 0
je 0x1001f9d9
mov edx, 0x26b
call fcn.1000b3b0
cmp byte [eax + 8], 0
jne 0x1001f9d9
vmovss xmm2, dword [0x100558cc]
vmovss xmm3, dword [0x100558bc]
mov eax, dword [ebp - 0xc]
jmp 0x1001fa22
vmovss xmm0, dword [0x10055920]
vcomiss xmm0, dword [ebp - 0x1c]
seta al
and byte [ebx + 0x495c], al
je 0x1001fa09
cmp dword [ebx + 0x47dc], 0
je 0x1001fa11
mov byte [ebp - 0x10], 1
mov dword [edi], 0
jmp 0x1001fb3f
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], edi
mov dword [edi], 0
jmp 0x1001fb3f
mov esi, dword [0x1006ef44]
test eax, eax
je 0x1001fb3f
cmp dword [ebx + 0x480c], 2
jne 0x1001fb3f
mov eax, dword [ebx + 0x4940]
mov edx, 0xf800
vmovss xmm0, dword [ebx + 0x4954]
test eax, eax
mov ecx, edx
vsubss xmm0, xmm0, xmm2
cmovne ecx, eax
mov eax, dword [ebx + 0x4944]
test eax, eax
vdivss xmm2, xmm0, xmm3
cmovne edx, eax
and edx, ecx
mov ecx, edx
vxorps xmm1, xmm1, xmm1
and ecx, 0xf800
vcomiss xmm1, xmm2
ja 0x1001fa84
vmovss xmm0, dword [0x10055920]
vminss xmm1, xmm0, xmm2
vmovss xmm0, dword [ebx + 0x4958]
mov al, byte [ebp - 1]
vmaxss xmm0, xmm0, xmm1
vmovss dword [ebx + 0x4958], xmm0
test al, al
jne 0x1001fac1
cmp byte [ebp - 2], al
jne 0x1001fac1
mov eax, dword [ebx + 0xdd8]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1001fb3f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jmp 0x1001fb3f
mov ecx, dword [esi + 0x4948]
movzx eax, al
xor eax, 1
test dword [ecx + 0xc], 0x8000000
lea eax, [eax*2 - 1]
mov dword [ebp - 0x1c], eax
jne 0x1001fb3f
movsx ecx, word [ecx + 0xbe]
mov edx, 0x80000001
mov dword [ebp - 0x14], ecx
add ecx, eax
push eax
call fcn.1001f4e0
add esp, 4
test eax, eax
jne 0x1001fb20
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x1001fb0e
mov ecx, dword [esi + 0x3e1c]
dec ecx
jmp 0x1001fb10
xor ecx, ecx
mov edx, dword [ebp - 0x14]
push eax
call fcn.1001f4e0
add esp, 4
test eax, eax
je 0x1001fb38
vxorps xmm1, xmm1, xmm1
mov dword [esi + 0x494c], eax
mov dword [esi + 0x4948], eax
vmovups xmmword [esi + 0x4960], xmm1
mov byte [esi + 0x495c], 0
cmp byte [ebp - 0x20], 0
je 0x1001fb6c
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.10018690
add esp, 4
test al, al
je 0x1001fb6c
mov byte [ebx + 0x495c], 1
mov dword [ebx + 0x480c], 2
cmp byte [ebx + 0x495c], 0
je 0x1001fcb2
cmp dword [ebx + 0x480c], 2
jne 0x1001fcb2
cmp dword [ebx + 0x3770], 0
jg 0x1001fbbb
cmp byte [ebx + 0xdd4], 0
jne 0x1001fbbb
cmp byte [ebx + 0xdd5], 0
jne 0x1001fbbb
cmp byte [ebx + 0xdd7], 0
jne 0x1001fbbb
mov edx, 0x4000
mov ecx, esi
call fcn.1000b3b0
cmp dword [eax], 0xffffffff
je 0x1001fbc2
mov byte [ebx + 0x495c], 0
mov edx, 0x4000
mov ecx, esi
call fcn.10018080
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, dword [eax + 8]
ja 0x1001fc8a
cmp byte [eax], 0
jne 0x1001fc8a
mov edx, 0x4000
call fcn.1000b3b0
cmp byte [eax + 8], 0
jne 0x1001fc8a
cmp byte [ebx + 0x495c], 0
je 0x1001fc8a
cmp dword [ebx + 0x3ea4], 0
je 0x1001fc19
cmp byte [ebx + 0x3eb1], 0
je 0x1001fc8a
lea eax, [ebx + 0x36a0]
test eax, eax
jne 0x1001fc29
lea eax, [esi + 0xdb8]
vmovss xmm0, dword [eax]
vmovss xmm1, dword [0x10055b38]
vcomiss xmm0, xmm1
vmovss xmm2, dword [eax + 4]
jb 0x1001fc4a
vcomiss xmm2, xmm1
jb 0x1001fc4a
mov cl, 1
jmp 0x1001fc4c
xor cl, cl
lea eax, [ebx + 0xdb8]
test eax, eax
jne 0x1001fc5c
lea eax, [esi + 0xdb8]
vmovss xmm0, dword [eax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [eax + 4]
jb 0x1001fc75
vcomiss xmm2, xmm1
jb 0x1001fc75
mov al, 1
jmp 0x1001fc77
xor al, al
mov edx, dword [ebp - 0x10]
cmp al, cl
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [ebp - 0x10], edx
mov edx, 0x4000
mov ecx, esi
call fcn.10018080
cmp byte [eax], 0
je 0x1001fcab
mov edx, 0x4000
call fcn.1000b3b0
cmp byte [eax + 8], 0
je 0x1001fcb2
mov byte [ebx + 0x495c], 0
mov eax, dword [edi]
test eax, eax
je 0x1001fe63
test byte [eax + 0xc], 4
jne 0x1001fe63
mov eax, dword [ebx + 0x480c]
cmp eax, 2
jne 0x1001fd0f
cmp byte [ebx + 0xdd5], 0
jne 0x1001fe63
mov edx, 0x203
mov ecx, esi
call fcn.10018080
mov edx, 0x201
mov edi, eax
call fcn.10018080
mov ecx, dword [0x1006ef44]
mov edx, 0x202
mov esi, eax
call fcn.10018080
mov edx, 0x204
jmp 0x1001fd47
cmp eax, 3
jne 0x1001fe63
mov edx, 0x27b
mov ecx, esi
call fcn.10018080
mov edx, 0x279
mov edi, eax
call fcn.10018080
mov ecx, dword [0x1006ef44]
mov edx, 0x27a
mov esi, eax
call fcn.10018080
mov edx, 0x27c
vmovss xmm0, dword [eax + 0xc]
vsubss xmm0, xmm0, dword [esi + 0xc]
vmovss dword [ebp - 0x1c], xmm0
call fcn.10018080
vmovss xmm4, dword [ebp - 0x1c]
vxorps xmm3, xmm3, xmm3
vucomiss xmm4, xmm3
vmovss xmm0, dword [eax + 0xc]
vsubss xmm5, xmm0, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1001fd86
vucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x1001fe60
vmovss xmm0, dword [ebx + 0x3c]
vminss xmm1, xmm0, dword [ebx + 0x40]
vmovss xmm0, dword [ebx + 0x18]
vmulss xmm0, xmm0, dword [0x10055ae0]
vmulss xmm2, xmm1, xmm0
vmulss xmm0, xmm4, xmm2
vaddss xmm1, xmm0, dword [ebx + 0x4960]
vmulss xmm0, xmm5, xmm2
vaddss xmm0, xmm0, dword [ebx + 0x4964]
vcvttss2si esi, xmm1
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, esi
vucomiss xmm2, xmm3
vmovss dword [ebx + 0x4960], xmm1
lahf
mov byte [ebx + 0x4817], 1
vcvttss2si edi, xmm0
vxorps xmm1, xmm1, xmm1
vmovss dword [ebx + 0x4964], xmm0
vcvtsi2ss xmm1, xmm1, edi
test ah, 0x44
jp 0x1001fdfc
vucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1001fe60
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x24]
push 1
mov eax, dword [eax]
mov ecx, dword [eax + 0x300]
vaddss xmm0, xmm2, dword [ecx + 0x14]
vmovss dword [ebp - 0x24], xmm0
vaddss xmm0, xmm1, dword [ecx + 0x18]
vmovss dword [ebp - 0x20], xmm0
call fcn.10017da0
vmovss xmm0, dword [ebx + 0x4960]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, esi
vsubss xmm0, xmm0, xmm1
vmovss dword [ebx + 0x4960], xmm0
vmovss xmm0, dword [ebx + 0x4964]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, edi
vsubss xmm0, xmm0, xmm1
add esp, 4
vmovss dword [ebx + 0x4964], xmm0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1001fee1
mov eax, dword [ebx + 0x47dc]
test eax, eax
je 0x1001fe7c
cmp esi, dword [eax + 0x300]
je 0x1001fedb
xor edx, edx
xor ecx, ecx
call fcn.1000ee40
mov eax, dword [0x1006ef44]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4815], 1
mov byte [eax + 0x4817], 1
call fcn.1001b610
mov edx, 1
mov ecx, esi
call fcn.10017790
mov esi, dword [ebx + 0x47dc]
cmp dword [esi + 0x314], 0
jne 0x1001fec7
xor dl, dl
mov ecx, esi
call fcn.1001d060
cmp word [esi + 0x14e], 2
jne 0x1001fedb
mov dword [ebx + 0x4810], 1
mov dword [edi], 0
cmp byte [ebp - 0x10], 0
je 0x1001ffa9
cmp dword [ebx + 0x47dc], 0
je 0x1001ffa9
xor edx, edx
xor ecx, ecx
call fcn.1000ee40
mov edi, dword [ebx + 0x47dc]
mov esi, edi
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
je 0x1001ff5c
nop dword [eax + eax]
test byte [esi + 0x14c], 2
jne 0x1001ff49
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001ff49
mov esi, dword [ecx]
cmp dword [esi + 0x2f8], 0
lea ecx, [esi + 0x2f8]
jne 0x1001ff20
cmp esi, edi
je 0x1001ff5c
xor edx, edx
mov ecx, esi
call fcn.10017790
mov dword [esi + 0x310], edi
mov eax, dword [ebx + 0x47dc]
test byte [eax + 0x14c], 2
je 0x1001ff76
mov ecx, dword [ebx + 0x4810]
xor ecx, 1
jmp 0x1001ff78
xor ecx, ecx
cmp ecx, dword [ebx + 0x4810]
je 0x1001ffa9
cmp ecx, 1
jne 0x1001ff8f
mov dword [eax + 0x318], 0
call fcn.1001cfc0
mov eax, dword [0x1006ef44]
mov word [eax + 0x4815], 1
mov byte [eax + 0x4817], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret