Function at 0x1002f5c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10127ba4]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], al
call fcn.1002b2f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002f5f4
mov dword [ebx + 0x4934], 0
xor eax, eax
jmp 0x1002f5fa
mov eax, dword [ebx + 0x4934]
cmp dword [ebx + 0x4938], 0
je 0x1002f643
test eax, eax
jne 0x1002f643
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10068514]
movss xmm1, dword [ebx + 0x4944]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x495c]
maxss xmm1, xmm0
movss dword [ebx + 0x4944], xmm1
jb 0x1002f643
comiss xmm0, xmm1
jb 0x1002f643
mov dword [ebx + 0x4938], eax
or edx, 0xffffffff
mov esi, 0x100663d5
mov al, 0x23
or edi, 0xffffffff
cmp al, 0x23
jne 0x1002f65e
cmp byte [esi], al
jne 0x1002f65e
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 + 0x10061408]
test al, al
jne 0x1002f650
mov eax, dword [ebx + 8]
not edx
mov edi, dword [0x10127ba4]
mov dword [ebp - 0xc], edx
test al, 2
je 0x1002f693
test byte [ebx + 0xc], 1
mov byte [ebp - 3], 1
jne 0x1002f697
mov byte [ebp - 3], 0
mov esi, dword [ebp - 0x10]
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x1002f6cd
mov ecx, dword [ebx + 0x492c]
test ecx, ecx
je 0x1002f6cd
push 0x1001
call fcn.100294a0
mov edi, dword [0x10127ba4]
add esp, 4
test al, al
je 0x1002f6cd
mov byte [ebp - 1], 1
jmp 0x1002f6d5
mov byte [ebp - 1], 0
test esi, esi
jne 0x1002f701
mov ecx, dword [ebx + 0x4930]
mov esi, dword [ebp - 0xc]
test ecx, ecx
je 0x1002f704
push 0x1001
mov edx, esi
call fcn.100294a0
mov edi, dword [0x10127ba4]
add esp, 4
test al, al
je 0x1002f704
mov byte [ebp - 2], 1
jmp 0x1002f70e
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
mov byte [ebp - 2], 0
jne 0x1002f741
cmp byte [ebp - 3], 0
je 0x1002f741
cmp dword [ebx + 0x4934], 0
jne 0x1002f741
push 0
xor edx, edx
mov ecx, 0x26b
call fcn.10027a20
add esp, 4
test al, al
je 0x1002f741
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
jmp 0x1002f764
xor dl, dl
cmp dword [ebp - 0x10], 0
mov byte [ebp - 3], dl
jne 0x1002f770
cmp dword [ebx + 0x4934], 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 0x1002f770
test al, al
jne 0x1002f76c
test cl, cl
je 0x1002f770
mov al, 1
jmp 0x1002f772
xor al, al
mov byte [ebp - 4], al
test dl, dl
jne 0x1002f781
test al, al
je 0x1002f8d1
mov eax, dword [ebx + 0x47c8]
test eax, eax
jne 0x1002f7ac
mov ecx, dword [ebx + 0x3e0c]
mov edx, 0x80000001
push 0xffffffffffffffff
dec ecx
call fcn.1002f4b0
add esp, 4
test eax, eax
je 0x1002f8d1
mov dl, byte [ebp - 3]
mov eax, dword [eax + 0x308]
mov dword [ebx + 0x4938], eax
mov dword [ebx + 0x4934], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4944], 0
add eax, 2
mov dword [ebx + 0x4940], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4954], 0
mov dword [ebx + 0x4958], 0
mov dword [ebx + 0x494c], 0
mov dword [ebx + 0x4950], 0
mov byte [ebx + 0x4948], dl
mov dword [ebx + 0x47f8], eax
jne 0x1002f820
cmp byte [ebp - 2], 0
je 0x1002f8d1
mov eax, dword [ebx + 0x4930]
or eax, dword [ebx + 0x492c]
mov dword [ebp - 0xc], eax
test eax, 0x1000
je 0x1002f850
mov edx, 0x1000
mov ecx, edi
call fcn.1001b5c0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x2000
je 0x1002f871
mov edx, 0x2000
mov ecx, edi
call fcn.1001b5c0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x4000
je 0x1002f892
mov edx, 0x4000
mov ecx, edi
call fcn.1001b5c0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x8000
je 0x1002f8b3
mov edx, 0x8000
mov ecx, edi
call fcn.1001b5c0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov eax, dword [ebp - 0xc]
test eax, 0x800
je 0x1002f8d1
mov edx, 0x800
mov ecx, edi
call fcn.1001b5c0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4940]
mov esi, dword [ebx + 0x4934]
movss xmm7, dword [0x10068430]
movss xmm1, dword [0x1006841c]
movss xmm5, dword [0x10068484]
movss dword [ebx + 0x4940], xmm0
test esi, esi
je 0x1002fa49
cmp dword [ebx + 0x47f8], 3
jne 0x1002f9c5
subss xmm0, xmm7
divss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1002f930
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [ebx + 0x4944]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x273
push 1
movss dword [ebx + 0x4944], xmm6
call fcn.10027a20
add esp, 4
xor edx, edx
mov ecx, 0x274
mov bl, al
push 1
call fcn.10027a20
movzx ecx, al
add esp, 4
movzx eax, bl
sub eax, ecx
je 0x1002f991
mov ecx, eax
call fcn.1002f520
mov ebx, dword [ebp - 0x14]
movaps xmm6, xmm5
mov esi, dword [ebx + 0x4934]
mov dword [ebx + 0x4944], 0x3f800000
jmp 0x1002f994
mov ebx, dword [ebp - 0x14]
mov edx, 0x26b
mov ecx, edi
call fcn.10027410
cmp byte [eax], 0
je 0x1002fa19
mov edx, 0x26b
call fcn.1001b5c0
cmp byte [eax + 8], 0
jne 0x1002fa19
movss xmm1, dword [0x1006841c]
test esi, esi
je 0x1002fa49
cmp dword [ebx + 0x47f8], 2
xorps xmm6, xmm6
jne 0x1002fa4c
movss xmm0, dword [ebx + 0x4940]
mov edx, 0xf800
mov eax, dword [ebx + 0x492c]
subss xmm0, xmm7
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0x4930]
test eax, eax
divss xmm0, xmm1
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x1002fadb
xorps xmm5, xmm5
jmp 0x1002fadf
comiss xmm5, xmm6
seta al
and byte [ebx + 0x4948], al
je 0x1002fa36
cmp dword [ebx + 0x47c8], 0
je 0x1002fa3f
mov byte [ebp - 8], 1
jmp 0x1002fa3f
mov eax, dword [ebx + 0x4934]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x4934], 0
xorps xmm6, xmm6
cmp byte [ebp - 0x1c], 0
je 0x1002fa79
push 0
or edx, 0xffffffff
mov ecx, 0x4000
call fcn.10027a20
add esp, 4
test al, al
je 0x1002fa79
mov byte [ebx + 0x4948], 1
mov dword [ebx + 0x47f8], 2
cmp byte [ebx + 0x4948], 0
mov edi, 1
je 0x1002fc2e
cmp dword [ebx + 0x47f8], 2
jne 0x1002fc2e
cmp dword [ebx + 0x3778], 0
jg 0x1002fb39
cmp byte [ebx + 0xddc], 0
jne 0x1002fb39
cmp byte [ebx + 0xddd], 0
jne 0x1002fb39
cmp byte [ebx + 0xddf], 0
mov ecx, dword [0x10127ba4]
jne 0x1002fb3f
mov edx, 0x4000
call fcn.1001b5c0
cmp dword [eax], 0xffffffff
je 0x1002fb46
jmp 0x1002fb3f
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x4944]
mov al, byte [ebp - 1]
maxss xmm0, xmm5
movss dword [ebx + 0x4944], xmm0
test al, al
jne 0x1002fb22
cmp byte [ebp - 2], al
jne 0x1002fb22
mov eax, dword [ebx + 0xde0]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1002fa4c
mov eax, dword [ebx + 0x4934]
mov dword [ebp - 0x18], eax
jmp 0x1002fa4c
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.1002f520
jmp 0x1002fa4c
mov ecx, dword [0x10127ba4]
mov byte [ebx + 0x4948], 0
mov edx, 0x4000
call fcn.10027410
comiss xmm6, dword [eax + 8]
ja 0x1002fc06
cmp byte [eax], 0
jne 0x1002fc06
mov edx, 0x4000
call fcn.1001b5c0
cmp byte [eax + 8], 0
jne 0x1002fc06
cmp byte [ebx + 0x4948], 0
je 0x1002fc06
cmp dword [ebx + 0x3e94], 0
je 0x1002fb96
cmp byte [ebx + 0x3ea1], 0
je 0x1002fc06
lea eax, [ebx + 0x36a8]
test eax, eax
jne 0x1002fba6
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
movss xmm1, dword [0x10068654]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1002fbc5
comiss xmm2, xmm1
jb 0x1002fbc5
mov dl, 1
jmp 0x1002fbc7
xor dl, dl
lea eax, [ebx + 0xdc0]
test eax, eax
jne 0x1002fbd7
lea eax, [ecx + 0xdc0]
movss xmm0, dword [eax]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1002fbee
comiss xmm2, xmm1
jb 0x1002fbee
mov al, 1
jmp 0x1002fbf0
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.10027410
cmp byte [eax], 0
je 0x1002fc25
mov edx, 0x4000
call fcn.1001b5c0
cmp byte [eax + 8], 0
je 0x1002fc34
mov byte [ebx + 0x4948], 0
jmp 0x1002fc34
mov ecx, dword [0x10127ba4]
mov eax, dword [ebx + 0x4934]
test eax, eax
je 0x1002fdbe
test byte [eax + 0xc], 4
jne 0x1002fdbe
mov eax, dword [ebx + 0x47f8]
cmp eax, 2
jne 0x1002fc8d
cmp byte [ebx + 0xddd], 0
jne 0x1002fdbe
mov edx, 0x203
call fcn.10027410
mov edx, 0x201
mov edi, eax
call fcn.10027410
mov edx, 0x202
mov esi, eax
call fcn.10027410
mov edx, 0x204
jmp 0x1002fcbd
cmp eax, 3
jne 0x1002fdbe
mov edx, 0x27b
call fcn.10027410
mov edx, 0x279
mov edi, eax
call fcn.10027410
mov edx, 0x27a
mov esi, eax
call fcn.10027410
mov edx, 0x27c
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [esi + 0xc]
call fcn.10027410
ucomiss xmm2, xmm6
movss xmm3, dword [eax + 0xc]
subss xmm3, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x1002fcec
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x1002fdb9
movss xmm1, dword [ebx + 0x58]
movss xmm0, dword [ebx + 0x18]
minss xmm1, dword [ebx + 0x5c]
mulss xmm0, dword [0x100685e0]
mov byte [ebx + 0x4803], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [ebx + 0x494c]
addss xmm3, dword [ebx + 0x4950]
cvttss2si eax, xmm2
movss dword [ebx + 0x494c], xmm2
movss dword [ebx + 0x4950], xmm3
movd xmm5, eax
cvtdq2ps xmm5, xmm5
cvttss2si eax, xmm3
ucomiss xmm5, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
lahf
test ah, 0x44
jp 0x1002fd5e
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x1002fdb9
mov eax, dword [ebx + 0x4934]
lea edx, [ebp - 0x20]
movaps xmm0, xmm5
push 1
mov ecx, dword [eax + 0x308]
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.10026f10
movss xmm0, dword [ebx + 0x494c]
add esp, 4
subss xmm0, xmm5
movss dword [ebx + 0x494c], xmm0
movss xmm0, dword [ebx + 0x4950]
subss xmm0, xmm4
movss dword [ebx + 0x4950], xmm0
mov edi, 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1002fe3d
mov eax, dword [ebx + 0x47c8]
test eax, eax
je 0x1002fdd7
cmp esi, dword [eax + 0x308]
je 0x1002fe33
xor edx, edx
xor ecx, ecx
call fcn.1001e810
mov eax, dword [0x10127ba4]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
call fcn.1002b610
mov edx, edi
mov ecx, esi
call fcn.10026940
mov esi, dword [ebx + 0x47c8]
cmp dword [esi + 0x31c], 0
jne 0x1002fe1f
xor dl, dl
mov ecx, esi
call fcn.1002d260
cmp word [esi + 0x156], 2
jne 0x1002fe33
mov dword [ebx + 0x47fc], 1
mov dword [ebx + 0x4934], 0
cmp byte [ebp - 8], 0
je 0x1002ff01
cmp dword [ebx + 0x47c8], 0
je 0x1002ff01
xor edx, edx
xor ecx, ecx
call fcn.1001e810
mov esi, dword [ebx + 0x47c8]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
je 0x1002fe9b
test byte [esi + 0x154], 2
jne 0x1002fe9b
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1002fe9b
mov esi, dword [ecx]
cmp dword [esi + 0x300], 0
lea ecx, [esi + 0x300]
jne 0x1002fe72
mov edi, dword [ebx + 0x47c8]
cmp esi, edi
je 0x1002feb4
xor edx, edx
mov ecx, esi
call fcn.10026940
mov dword [esi + 0x318], edi
mov eax, dword [ebx + 0x47c8]
test byte [eax + 0x154], 2
je 0x1002fece
mov ecx, dword [ebx + 0x47fc]
xor ecx, 1
jmp 0x1002fed0
xor ecx, ecx
cmp ecx, dword [ebx + 0x47fc]
je 0x1002ff01
cmp ecx, 1
jne 0x1002fee7
mov dword [eax + 0x320], 0
call fcn.1002d1c0
mov eax, dword [0x10127ba4]
mov word [eax + 0x4801], 1
mov byte [eax + 0x4803], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret