Function at 0x102499f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc0
test byte [ecx + 8], 0x42
jne 0x10249a14
mov esi, ecx
cmp dword [ecx + 0x90], 0
jg 0x10249a14
cmp dword [esi + 0x94], 0
jle 0x10249a23
xor ebx, ebx
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esi + 0x7b], 0
je 0x10249a14
mov ebp, edx
mov edi, dword [0x1042dd60]
movss xmm0, dword [esi + 0x3c]
addss xmm0, dword [0x103564b8]
mov al, byte [edi + 0xb3]
movss xmm1, dword [edi + 0x18d0]
movss xmm2, dword [0x1035753c]
mulss xmm2, xmm1
addss xmm2, xmm0
mulss xmm1, dword [0x1035a698]
maxss xmm1, xmm2
cvttps2dq xmm0, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10358b38]
cvttps2dq xmm0, xmm0
cvtdq2ps xmm0, xmm0
movups xmmword [esp + 0x5c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov byte [esp + 3], al
test al, al
je 0x10249aa2
movss xmm0, dword [0x10358874]
movss dword [esp + 0x48], xmm0
mov dword [esi + 0x130], 1
mov dword [esi + 0x134], 2
push str.RESIZE
call fcn.10250de0
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xd8], 0
mov dword [esp + 8], edi
jle 0x10249fc0
mov dword [esp + 0x6c], ebp
movups xmm0, xmmword [esp + 0x5c]
xorps xmm0, xmmword [0x10357340]
shufps xmm0, xmm0, 0
movups xmmword [esp + 0xa0], xmm0
movaps xmm2, xmmword [0x1035a630]
movss xmm0, dword [0x10357548]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 4], 0x7f7fffff
mov ebp, 0x1035a0d4
mov dword [esp + 0xc], 0
jmp 0x10249c14
cmp al, 1
mov eax, 0x1f
sbb eax, 0
test cl, cl
mov ecx, 0x20
cmovne eax, ecx
mov ecx, dword [0x1042dd60]
shl eax, 4
movss xmm0, dword [ecx + 0x1518]
mulss xmm0, dword [ecx + eax + 0x15d8]
movss xmm1, dword [ecx + eax + 0x15cc]
movss xmm3, dword [0x103564b8]
minss xmm1, xmm3
xorps xmm4, xmm4
maxss xmm1, xmm4
movss xmm5, dword [0x103564b0]
mulss xmm1, xmm5
movss xmm6, dword [0x103574f4]
addss xmm1, xmm6
cvttss2si edx, xmm1
movss xmm1, dword [ecx + eax + 0x15d0]
minss xmm1, xmm3
maxss xmm1, xmm4
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si edi, xmm1
shl edi, 8
movss xmm1, dword [ecx + eax + 0x15d4]
minss xmm1, xmm3
maxss xmm1, xmm4
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
or edi, edx
shl eax, 0x10
minss xmm0, xmm3
maxss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
or eax, edi
mov edi, dword [esp + 8]
shl ecx, 0x18
or ecx, eax
mov eax, dword [esp + 0xdc]
mov dword [eax + ebx*4], ecx
add ebx, 1
add ebp, 0x18
cmp dword [esp + 0xd8], ebx
je 0x10249fe4
movups xmmword [esp + 0x38], xmm2
movsd xmm2, qword [ebp - 8]
movaps xmm1, xmm2
shufps xmm1, xmm2, 0x55
movss xmm0, dword [esi + 0x18]
movups xmmword [esp + 0x90], xmm1
mulss xmm0, xmm1
addss xmm0, dword [esi + 0x10]
movss xmm1, dword [esi + 0x14]
movups xmmword [esp + 0x4c], xmm2
mulss xmm1, xmm2
addss xmm1, dword [esi + 0xc]
movsd xmm5, qword [ebp]
movaps xmm6, xmm5
shufps xmm6, xmm5, 0x55
movaps xmm2, xmm6
movups xmm4, xmmword [esp + 0x5c]
mulss xmm2, xmm4
movaps xmm3, xmm5
mulss xmm3, xmm4
addss xmm2, xmm0
addss xmm3, xmm1
movss xmm4, dword [esp + 0x48]
mulss xmm6, xmm4
movups xmmword [esp + 0x80], xmm5
mulss xmm5, xmm4
movups xmmword [esp + 0x70], xmm6
subss xmm0, xmm6
movups xmmword [esp + 0xb0], xmm5
subss xmm1, xmm5
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm2
ucomiss xmm1, xmm3
jbe 0x10249cc9
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x18], xmm1
ucomiss xmm0, xmm2
jbe 0x10249cda
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x1c], xmm0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1cc]
mov eax, dword [ecx + eax*4 - 4]
not eax
mov ecx, ebx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10359ccc]
mov ecx, ebx
shr ecx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10359ccc]
mov ecx, ebx
shr ecx, 0x10
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10359ccc]
movzx ecx, al
shr eax, 8
mov edx, ebx
shr edx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x10359ccc]
not eax
mov ecx, dword [0x1042dd60]
cmp dword [ecx + 0x19f0], eax
jne 0x10249d4f
mov dword [ecx + 0x19f4], eax
cmp dword [ecx + 0x1a1c], eax
jne 0x10249d5e
mov byte [ecx + 0x1a20], 1
push 0x2020
lea ecx, [esp + 5]
push ecx
lea ecx, [esp + 0xa]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10274e30
add esp, 0x14
movzx eax, byte [esp + 1]
movzx ecx, byte [esp + 2]
or cl, al
je 0x10249d9b
mov ecx, ebx
and ecx, 1
mov edx, 6
sub edx, ecx
mov dword [edi + 0x1d34], edx
test al, al
movups xmm2, xmmword [esp + 0x38]
je 0x10249f99
cmp byte [edi + 0x3dd], 0
je 0x10249e60
test ebx, ebx
jne 0x10249e60
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
lea ecx, [esp + 0x30]
mov edx, esi
call fcn.10248c60
movss xmm0, dword [esp + 0x30]
mov eax, dword [0x1042dd60]
cmp dword [eax + 0x19f0], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
setne byte [eax + 0x19fc]
je 0x10249e0b
mov dword [eax + 0x19f8], 0
mov word [eax + 0x19fe], 0
movups xmmword [esp + 0x20], xmm0
mov dword [eax + 0x19f0], 0
mov dword [eax + 0x1a04], 0
mov dword [eax + 0x1a08], 0
mov byte [eax + 0x19fd], 0
mov dword [eax + 0x1a14], 0
mov byte [eax + 0x1a00], 0
mov al, 1
mov dword [esp + 0xc], eax
movups xmm2, xmmword [esp + 0x38]
jmp 0x10249f99
movups xmm0, xmmword [esp + 0xa0]
movups xmm3, xmmword [esp + 0x80]
mulps xmm3, xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmm4, xmmword [esp + 0xb0]
unpcklps xmm4, xmm0
subps xmm3, xmm4
movups xmm2, xmmword [esp + 0x4c]
mulps xmm3, xmm2
movsd xmm5, qword [edi + 0xe4]
movsd xmm1, qword [edi + 0x1a0c]
subps xmm5, xmm1
addps xmm5, xmm4
addps xmm5, xmm3
movsd xmm0, qword [esi + 0xc]
movaps xmm1, xmm0
subps xmm1, xmm5
mulps xmm1, xmm2
addps xmm1, xmm5
movaps xmm3, xmm1
movups xmmword [esp + 0x38], xmm1
movaps xmm4, xmm0
shufps xmm4, xmm0, 0x55
addss xmm4, dword [esi + 0x18]
addss xmm0, dword [esi + 0x14]
movaps xmm1, xmm5
shufps xmm1, xmm5, 0x55
subss xmm1, xmm4
mulss xmm1, dword [esp + 0x90]
subss xmm5, xmm0
mulss xmm5, xmm2
movaps xmm2, xmm3
shufps xmm2, xmm3, 0x55
subss xmm4, xmm2
addss xmm4, xmm1
movaps xmm1, xmm4
movups xmmword [esp + 0x20], xmm4
subss xmm0, xmm3
addss xmm0, xmm5
movups xmmword [esp + 0x4c], xmm0
lea ecx, [esp + 0x30]
mov edx, esi
call fcn.10248c60
lea ecx, [ebx - 1]
xor eax, eax
cmp ecx, 2
setb al
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x34]
mov edx, ebx
and edx, 0x7ffffffe
xor ecx, ecx
cmp edx, 2
sete cl
movaps xmm1, xmm3
movups xmm2, xmmword [esp + 0x20]
unpcklps xmm1, xmm2
movups xmm4, xmmword [esp + 0x38]
movaps xmm2, xmm4
movups xmmword [esp + 0x20], xmm3
subps xmm2, xmm3
addps xmm1, xmm4
movups xmm3, xmmword [esp + 0x4c]
addps xmm2, xmm3
unpcklps xmm3, xmm0
subps xmm1, xmm3
shufps xmm1, xmm2, 1
shufps xmm1, xmm2, 0xe2
movd xmm2, eax
pinsrw xmm2, ecx, 2
pslld xmm2, 0x1f
psrad xmm2, 0x1f
andps xmm1, xmm2
andnps xmm2, xmm4
orps xmm2, xmm1
movss dword [esp + 4], xmm0
movzx ecx, byte [esp + 1]
movzx eax, byte [esp + 2]
test ebx, ebx
je 0x10249b30
test cl, cl
jne 0x10249b30
test al, al
je 0x10249c01
jmp 0x10249b30
movaps xmm2, xmmword [0x1035a630]
mov dword [esp + 4], 0x7f7fffff
movss xmm0, dword [0x10357548]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0xc], 0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
cmp byte [esp + 3], 0
movups xmmword [esp + 0x4c], xmm0
je 0x1024a404
xor ebp, ebp
lea ebx, [esp + 0x10]
movups xmm1, xmmword [esp + 0x20]
jmp 0x1024a149
mov ecx, dword [esp + 8]
movss xmm0, dword [ecx + 0xe4]
addss xmm0, dword [0x10358874]
subss xmm0, dword [ecx + 0x1a0c]
movd edx, xmm0
xorps xmm2, xmm2
mov ecx, edi
movups xmmword [esp + 0x38], xmm2
movd xmm4, edi
movd xmm6, eax
movd xmm0, ecx
movdqa xmm3, xmm4
subss xmm3, xmm0
mulss xmm3, xmm1
addss xmm3, xmm0
movaps xmm5, xmm3
movups xmmword [esp + 0x20], xmm3
movaps xmm3, xmm1
movups xmmword [esp + 0x4c], xmm1
movd xmm1, edx
movdqa xmm7, xmm6
subss xmm7, xmm1
mulss xmm7, xmm2
addss xmm7, xmm1
movups xmmword [esp + 0x80], xmm7
addss xmm4, dword [esi + 0x18]
addss xmm6, dword [esi + 0x14]
subss xmm0, xmm4
mulss xmm0, xmm3
subss xmm1, xmm6
mulss xmm1, xmm2
subss xmm4, xmm5
addss xmm4, xmm0
movups xmmword [esp + 0x90], xmm4
movaps xmm0, xmm6
subss xmm0, xmm7
addss xmm0, xmm1
movss dword [esp + 0x70], xmm0
lea ecx, [esp + 0x30]
mov edx, esi
movaps xmm1, xmm4
call fcn.10248c60
movups xmm2, xmmword [esp + 0x38]
movss xmm3, dword [esp + 0x30]
movups xmm5, xmmword [esp + 0x80]
movaps xmm0, xmm5
subss xmm0, xmm3
addss xmm0, dword [esp + 0x70]
xorps xmm4, xmm4
cmpeqss xmm2, xmm4
movaps xmm1, xmm2
andnps xmm1, xmm5
andps xmm2, xmm0
orps xmm2, xmm1
movups xmm5, xmmword [esp + 0x90]
movups xmm1, xmmword [esp + 0x20]
addss xmm5, xmm1
movups xmm6, xmmword [esp + 0x4c]
cmpeqss xmm6, xmm4
movaps xmm0, xmm6
andnps xmm0, xmm1
movss xmm1, dword [esp + 0x34]
subss xmm5, xmm1
andps xmm6, xmm5
orps xmm6, xmm0
movups xmmword [esp + 0x4c], xmm6
movss dword [esp + 4], xmm1
movaps xmm1, xmm3
mov edi, dword [esp + 8]
add ebp, 1
cmp ebp, 4
je 0x1024a409
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x38], xmm2
movss xmm3, dword [0x10357548]
movaps xmm1, xmm3
movss xmm0, dword [0x1035a660]
movaps xmm2, xmm0
cmp ebp, 3
ja case.default.0x1024a18e
movss xmm1, dword [esi + 0xc]
movss xmm3, dword [esi + 0x10]
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm3
movss xmm2, dword [esi + 0x14]
addss xmm2, xmm1
jmp dword [ebp*4 + 0x10359c40]
movaps xmm0, xmm3
addss xmm0, dword [0x10358874]
movups xmm4, xmmword [esp + 0x5c]
subss xmm2, xmm4
addss xmm3, dword [0x1035885c]
addss xmm1, xmm4
jmp case.default.0x1024a18e
movups xmm1, xmmword [esp + 0x5c]
subss xmm0, xmm1
movaps xmm4, xmm2
addss xmm4, dword [0x10358874]
addss xmm3, xmm1
addss xmm2, dword [0x1035885c]
movaps xmm1, xmm2
movaps xmm2, xmm4
jmp case.default.0x1024a18e
movaps xmm4, xmm0
addss xmm4, dword [0x10358874]
movups xmm3, xmmword [esp + 0x5c]
subss xmm2, xmm3
addss xmm0, dword [0x1035885c]
addss xmm1, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm4
jmp case.default.0x1024a18e
movups xmm4, xmmword [esp + 0x5c]
subss xmm0, xmm4
movaps xmm2, xmm1
addss xmm2, dword [0x10358874]
addss xmm3, xmm4
addss xmm1, dword [0x1035885c]
nop word [eax + eax]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x1c], xmm0
lea eax, [ebp + 4]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [esi + 0x1cc]
mov ecx, dword [edx + ecx*4 - 4]
not ecx
mov edx, eax
xor edx, ecx
shr ecx, 8
movzx edx, dl
xor ecx, dword [edx*4 + 0x10359ccc]
mov edx, eax
shr edx, 8
xor edx, ecx
shr ecx, 8
movzx edx, dl
xor ecx, dword [edx*4 + 0x10359ccc]
mov edx, eax
shr edx, 0x10
xor edx, ecx
shr ecx, 8
movzx edx, dl
xor ecx, dword [edx*4 + 0x10359ccc]
movzx edx, cl
shr ecx, 8
shr eax, 0x18
xor eax, edx
xor ecx, dword [eax*4 + 0x10359ccc]
not ecx
mov eax, dword [0x1042dd60]
cmp dword [eax + 0x19f0], ecx
jne 0x1024a2bd
mov dword [eax + 0x19f4], ecx
cmp dword [eax + 0x1a1c], ecx
jne 0x1024a2cc
mov byte [eax + 0x1a20], 1
push 0x20
lea eax, [esp + 5]
push eax
lea eax, [esp + 0xa]
push eax
push ecx
push ebx
call fcn.10274e30
add esp, 0x14
cmp byte [esp + 2], 0
je 0x1024a330
movss xmm0, dword [0x10357ac4]
ucomiss xmm0, dword [edi + 0x19e8]
movzx eax, byte [esp + 1]
movups xmm2, xmmword [esp + 0x38]
movups xmm1, xmmword [esp + 0x20]
jb 0x1024a311
test al, al
je 0x1024a13d
mov ecx, ebp
and ecx, 1
add ecx, 3
mov dword [edi + 0x1d34], ecx
test al, al
jne 0x1024a353
jmp 0x1024a13d
cmp byte [esp + 1], 0
movups xmm2, xmmword [esp + 0x38]
movups xmm1, xmmword [esp + 0x20]
je 0x1024a13d
mov eax, ebp
and eax, 1
add eax, 3
mov dword [edi + 0x1d34], eax
mov eax, dword [esp + 0xd4]
mov dword [eax], ebp
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
xorps xmm1, xmm1
cmp ebp, 3
ja case.default.0x1024a36a
jmp dword [ebp*4 + 0x10359c50]
mov ecx, dword [esp + 8]
movss xmm0, dword [ecx + 0xe8]
addss xmm0, dword [0x10358874]
subss xmm0, dword [ecx + 0x1a10]
movd ecx, xmm0
xorps xmm2, xmm2
mov edx, eax
jmp 0x1024a030
xorps xmm2, xmm2
mov edx, eax
jmp 0x1024a02e
mov ecx, dword [esp + 8]
movss xmm0, dword [ecx + 0xe4]
addss xmm0, dword [0x10358874]
subss xmm0, dword [ecx + 0x1a0c]
movd edx, xmm0
movss xmm2, dword [0x103564b8]
jmp 0x1024a02e
mov ecx, dword [esp + 8]
movss xmm0, dword [ecx + 0xe8]
addss xmm0, dword [0x10358874]
subss xmm0, dword [ecx + 0x1a10]
movd ecx, xmm0
xorps xmm2, xmm2
movss xmm1, dword [0x103564b8]
mov edx, eax
jmp 0x1024a030
movups xmm1, xmmword [esp + 0x20]
mov eax, dword [0x1042dd60]
mov eax, dword [eax + 0x19b4]
add dword [eax + 0x1c4], 0xffffffff
mov eax, dword [edi + 0x1b14]
test eax, eax
je 0x1024a431
cmp dword [eax + 0x2fc], esi
je 0x1024a4e0
mov ebx, dword [esp + 0xc]
ucomiss xmm1, dword [0x10357548]
je 0x1024a46e
movss dword [esi + 0x1c], xmm1
mov eax, dword [esp + 4]
mov dword [esi + 0x20], eax
test byte [esi + 9], 1
jne 0x1024a46e
mov eax, dword [0x1042dd60]
xorps xmm0, xmm0
ucomiss xmm0, dword [eax + 0x2d18]
jb 0x1024a46e
movss xmm0, dword [eax + 0x1c]
movss dword [eax + 0x2d18], xmm0
ucomiss xmm2, dword [0x10357548]
je 0x1024a4b8
movups xmm0, xmmword [esp + 0x4c]
cvttps2dq xmm0, xmm0
cvtdq2ps xmm0, xmm0
cvttps2dq xmm1, xmm2
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
test byte [esi + 9], 1
jne 0x1024a4b8
mov eax, dword [0x1042dd60]
xorps xmm0, xmm0
ucomiss xmm0, dword [eax + 0x2d18]
jb 0x1024a4b8
movss xmm0, dword [eax + 0x1c]
movss dword [eax + 0x2d18], xmm0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
and bl, 1
jmp 0x10249a16
mov eax, dword [edi + 0x1afc]
xorps xmm3, xmm3
cmp eax, 3
mov ebx, dword [esp + 0xc]
movups xmmword [esp + 0x38], xmm2
jne 0x1024a539
cmp byte [edi + 0xfd], 0
je 0x1024a573
sub esp, 0x14
movaps xmm0, xmmword [0x1035a6a0]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x24]
mov dword [esp], eax
movups xmmword [esp + 0x34], xmm1
call fcn.10253a20
movups xmm1, xmmword [esp + 0x34]
movups xmm2, xmmword [esp + 0x4c]
add esp, 0x14
movsd xmm3, qword [esp + 0x10]
mov eax, dword [edi + 0x1afc]
cmp eax, 4
jne 0x1024a576
sub esp, 0x14
movaps xmm0, xmmword [0x1035a6b0]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x24]
mov dword [esp], eax
movups xmmword [esp + 0x34], xmm1
call fcn.10253a20
movups xmm1, xmmword [esp + 0x34]
movups xmm2, xmmword [esp + 0x4c]
add esp, 0x14
movsd xmm3, qword [esp + 0x10]
jmp 0x1024a576
xorps xmm3, xmm3
xorps xmm0, xmm0
ucomiss xmm3, xmm0
setne al
movaps xmm4, xmm3
shufps xmm4, xmm3, 0x55
ucomiss xmm4, xmm0
setne cl
or cl, al
cmp cl, 1
jne 0x1024a435
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0xa8]
mulss xmm0, dword [0x1035a6c0]
minss xmm1, dword [edi + 0xac]
mulss xmm1, xmm0
cvttps2dq xmm0, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
movups xmmword [esp + 0x20], xmm3
mulss xmm4, xmm0
movups xmmword [esp + 0x5c], xmm4
mov byte [edi + 0x1b28], 0
mov byte [edi + 0x1b37], 1
push 0x3f800000
push 0x20
call fcn.10238210
add esp, 8
mov ecx, dword [esp + 0xdc]
mov dword [ecx], eax
movups xmm1, xmmword [esp + 0x5c]
addss xmm1, dword [esi + 0x20]
movups xmm0, xmmword [esp + 0x20]
addss xmm0, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.10248c60
movups xmm2, xmmword [esp + 0x38]
movss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
jmp 0x1024a435