Function at 0x10020d90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x40], edx
mov edx, ecx
push esi
push edi
mov edi, dword [0x1011eb84]
test byte [edx + 0xc], 0x42
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edi
jne 0x10021c6c
cmp byte [edx + 0xc4], 0
jg 0x10021c6c
cmp byte [edx + 0xc5], 0
jg 0x10021c6c
cmp byte [edx + 0xab], 0
je 0x10021c6c
movss xmm2, dword [edi + 0x3bb8]
xor eax, eax
movss xmm0, dword [edx + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x1005f8e0]
mulss xmm2, dword [0x1005f894]
mov esi, 4
mov cl, byte [edi + 0x66]
mulss xmm1, dword [0x1005f8e8]
test cl, cl
mov byte [ebp - 4], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x64], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1005f8c4]
cvttss2si esi, xmm0
mov dword [ebp - 0x58], esi
je 0x10020e5c
movss xmm2, dword [0x1005f944]
jmp 0x10020e5f
xorps xmm2, xmm2
cmp byte [edi + 0x67], 0
mov eax, dword [ebx + 0x14]
movss dword [ebp - 0x2c], xmm2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
je 0x10020ec2
test byte [edx + 0xc], 1
jne 0x10020ec2
mov ecx, dword [edx]
mov eax, dword [edx + 0x300]
mov byte [ebp - 3], 1
movss xmm1, dword [ecx + 0x3bbc]
mulss xmm1, dword [edx + 0x264]
test eax, eax
je 0x10020ea2
mulss xmm1, dword [eax + 0x264]
movss xmm0, dword [ecx + 0x37c8]
movss xmm2, dword [ebp - 0x70]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, xmm0
movss dword [ebp - 0x44], xmm2
jmp 0x10020ed0
movss xmm0, dword [ebp - 0x70]
mov byte [ebp - 3], 0
movss dword [ebp - 0x44], xmm0
movss xmm1, dword [0x1005fa48]
mov dword [edx + 0x150], 1
movaps xmm0, xmm1
mov edi, dword [edi + 0x3e48]
xor edx, edx
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x20], xmm0
mov ecx, dword [edi + 0xe4]
mov eax, dword [edi + 0xec]
movss dword [ebp - 0x18], xmm1
push dword [eax + ecx*4 - 4]
mov ecx, str.RESIZE
call fcn.1001a260
mov ecx, eax
add esp, 4
mov eax, dword [edi]
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x3e7c], ecx
jne 0x10020f43
push ecx
push str.RESIZE
mov edx, 0xb
call fcn.10030ad0
mov ecx, dword [ebp - 0x10]
add esp, 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [edi + 0xe4]
call fcn.10031500
xor edx, edx
mov dword [ebp - 0xc], edx
cmp dword [ebx + 0xc], edx
jle 0x10021488
mov edi, dword [ebp - 8]
nop word [eax + eax]
movss xmm0, dword [edi + 0x14]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x18]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [ebp - 0x10], ecx
addss xmm2, dword [edi + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x1005a358]
mulss xmm2, dword [ecx*8 + 0x1005a35c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x1005a360]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x2c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1005a364]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x2c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x34], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x30], xmm4
jbe 0x10021016
movss dword [ebp - 0x3c], xmm5
movss dword [ebp - 0x34], xmm3
comiss xmm2, xmm4
jbe 0x10021025
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x30], xmm2
mov ecx, dword [edi + 0xe4]
lea esi, [ebp - 0x14]
mov eax, dword [edi + 0xec]
mov edi, 4
mov dword [ebp - 0x14], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005a3b8]
sub edi, 1
jne 0x10021042
mov edi, dword [ebp - 8]
not edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
mov eax, dword [edi]
cmp dword [eax + 0x3e7c], edx
jne 0x10021088
push ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, 4
call fcn.10030ad0
mov edx, dword [ebp - 0x14]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x3c]
call fcn.100297b0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10044b80
mov cl, byte [ebp - 2]
add esp, 0x14
test cl, cl
jne 0x100210c1
mov al, byte [ebp - 1]
test al, al
je 0x10021371
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4960], eax
mov al, byte [ebp - 1]
test al, al
je 0x10021379
cmp word [ecx + 0x370a], 2
jne 0x10021137
test edx, edx
jne 0x10021137
push dword [ebp - 0x40]
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.10020860
add esp, 4
mov byte [ebp - 4], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x18], xmm0
call fcn.1001cc70
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
je 0x10021398
mov eax, 0x20
jmp 0x100213a5
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss xmm3, dword [0x1005f8e0]
movss xmm1, dword [edx*8 + 0x1005a35c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10021173
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10021166
cmp byte [ebp - 3], 0
jne 0x10021173
movss xmm4, dword [0x1005fa78]
movaps xmm7, xmm4
jmp 0x10021180
movss xmm7, dword [ebp - 0x44]
movss xmm4, dword [0x1005fa78]
movss xmm2, dword [edx*8 + 0x1005a358]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x10021199
movss xmm5, dword [ebp - 0x74]
jmp 0x1002119c
movaps xmm5, xmm4
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100211b9
movss xmm1, dword [ebp - 0x68]
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [0x1005fa48]
jmp 0x100211c6
movss xmm1, dword [0x1005fa48]
movss dword [ebp - 0x14], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x100211db
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x20], xmm0
jmp 0x100211e0
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [edx*8 + 0x1005a360]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x1005a364]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x2c]
movaps xmm2, xmm3
mulss xmm2, dword [ebp - 0x2c]
cvtsi2ss xmm4, esi
xorps xmm4, xmmword [0x10060360]
movaps xmm6, xmm4
mulss xmm4, xmm3
movss xmm3, dword [edx*8 + 0x1005a35c]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x1005a358]
subss xmm4, xmm2
subss xmm6, xmm0
mulss xmm4, xmm3
mulss xmm6, xmm1
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x1002127b
movss xmm7, dword [ebp - 0x14]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x10021289
movss xmm5, dword [ebp - 0x20]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x14]
lea eax, [ebp - 0x4c]
movaps xmm2, xmm0
lea ecx, [ebp - 0x54]
addss xmm0, dword [edi + 0x1c]
subss xmm2, xmm5
push eax
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x18]
movaps xmm4, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm4, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm4, xmm3
mulss xmm5, dword [edx*8 + 0x1005a358]
mov edx, edi
addss xmm4, xmm7
movss dword [ebp - 0x24], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x28], xmm4
mulss xmm7, xmm3
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x4c], xmm5
subss xmm7, xmm4
movss dword [ebp - 0x48], xmm7
call fcn.10020860
mov ecx, dword [ebp - 0x10]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x1005a358]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x1002133a
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x1005a35c]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x18], xmm0
lahf
test ah, 0x44
jp 0x10021369
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x28]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 1]
jmp 0x1002137c
mov edx, dword [ebp - 0xc]
xorps xmm2, xmm2
jmp 0x1002137f
xorps xmm2, xmm2
mov cl, byte [ebp - 2]
test edx, edx
je 0x10021123
test al, al
jne 0x1002112d
test cl, cl
jne 0x1002139b
jmp 0x10021479
mov cl, byte [ebp - 2]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov ecx, dword [0x1011eb84]
add eax, eax
movss xmm4, dword [0x1005f8e0]
xorps xmm2, xmm2
movups xmm1, xmmword [ecx + eax*8 + 0x3864]
comiss xmm2, xmm1
movaps xmm3, xmm1
shufps xmm3, xmm1, 0xff
mulss xmm3, dword [ecx + 0x3788]
movups xmmword [ebp - 0x84], xmm1
jbe 0x100213e0
xorps xmm0, xmm0
jmp 0x100213e7
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm5, dword [0x1005f9e4]
movss xmm6, dword [0x1005f8ac]
movss xmm1, dword [ebp - 0x80]
comiss xmm2, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10021412
xorps xmm0, xmm0
jmp 0x10021419
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x7c]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10021439
xorps xmm0, xmm0
jmp 0x10021440
movaps xmm0, xmm4
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm3
jbe 0x1002145b
xorps xmm0, xmm0
jmp 0x10021462
movaps xmm0, xmm4
minss xmm0, xmm3
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebx + 0xc]
jl 0x10020f70
jmp 0x1002148b
xorps xmm2, xmm2
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x64], edi
jbe 0x100218cc
nop dword [eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10021520
cmp edi, 1
je 0x10021520
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], 1
movss xmm4, dword [eax + 0x14]
movss xmm3, dword [eax + 0x18]
movaps xmm1, xmm4
addss xmm1, dword [eax + 0x1c]
movaps xmm2, xmm3
addss xmm2, dword [eax + 0x20]
cmp edi, 2
jne 0x100215c7
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1005f944]
addss xmm3, dword [0x1005f944]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x38], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x30], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm1
jmp 0x1002160b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
movss xmm4, dword [eax + 0x14]
movss xmm3, dword [eax + 0x18]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [eax + 0x1c]
addss xmm2, dword [eax + 0x20]
test edi, edi
jne 0x10021581
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x1005f944]
addss xmm4, dword [0x1005f944]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x3c], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x34], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x30], xmm2
jmp 0x1002160b
cmp edi, 1
jne 0x100214dc
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1005f944]
addss xmm1, dword [0x1005f944]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0xc], ecx
movss dword [ebp - 0x3c], xmm0
addss xmm3, xmm5
movss dword [ebp - 0x34], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x30], xmm2
jmp 0x1002160b
cmp edi, 3
jne 0x10021604
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1005f944]
addss xmm2, dword [0x1005f944]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x38], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x30], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm1
jmp 0x1002160b
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
lea ecx, [edi + 4]
mov edi, 4
mov dword [ebp - 0x40], ecx
lea esi, [ebp - 0x40]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005a3b8]
sub edi, 1
jne 0x10021630
mov eax, dword [ebp - 8]
not edx
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], edx
jne 0x1002167a
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.10030ad0
mov edx, dword [ebp - 0x2c]
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x3c]
call fcn.100297b0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 1]
push 0x40800
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10044b80
mov dl, byte [ebp - 1]
add esp, 0x14
cmp byte [ebp - 2], 0
je 0x100216be
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x3e8c]
comiss xmm0, dword [0x1005f884]
ja 0x100216c6
test dl, dl
je 0x100218bc
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov esi, dword [ebp - 0x1c]
xor eax, 1
add eax, 3
mov dword [esi + 0x4960], eax
mov esi, dword [ebp - 0x58]
test dl, dl
je 0x100218bc
mov eax, dword [ebx + 8]
mov dword [eax], edi
cmp edi, 3
je 0x10021707
cmp edi, 2
jne 0x100216fa
cmp byte [ebp - 3], 0
jne 0x10021707
movss xmm0, dword [0x1005fa78]
movaps xmm4, xmm0
jmp 0x10021714
movss xmm4, dword [ebp - 0x44]
movss xmm0, dword [0x1005fa78]
cmp edi, 1
jne 0x1002188d
movss xmm3, dword [ebp - 0x74]
movss xmm1, dword [0x1005fa48]
movss xmm2, dword [0x1005fa48]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edx + ecx*4 + 0xdc0]
subss xmm0, dword [edx + ecx*4 + 0x3ea8]
addss xmm0, dword [0x1005f944]
movss dword [ebp + ecx*4 - 0x4c], xmm0
movss xmm0, dword [ebp - 0x48]
comiss xmm4, xmm0
ja 0x1002177d
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [ebp - 0x4c]
comiss xmm3, xmm0
ja 0x1002178e
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [ebp - 0x14]
mov edx, eax
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
movaps xmm6, xmm0
addss xmm0, dword [eax + 0x1c]
movss xmm5, dword [ecx + 0x1005a19c]
subss xmm6, xmm3
minss xmm5, dword [ecx + 0x1005a1a4]
movss xmm2, dword [ecx + 0x1005a198]
movaps xmm7, xmm1
minss xmm2, dword [ecx + 0x1005a1a0]
addss xmm1, dword [eax + 0x20]
subss xmm7, xmm4
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x10], xmm5
push ecx
mulss xmm6, xmm2
lea ecx, [ebp - 0x60]
mulss xmm7, xmm5
addss xmm6, xmm3
movss dword [ebp - 0x40], xmm2
subss xmm3, xmm0
addss xmm7, xmm4
subss xmm4, xmm1
movss dword [ebp - 0x24], xmm6
mulss xmm3, xmm2
mulss xmm4, xmm5
addss xmm3, xmm0
movss dword [ebp - 0x28], xmm7
addss xmm4, xmm1
subss xmm3, xmm6
subss xmm4, xmm7
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 0x50], xmm4
call fcn.10020860
movss xmm0, dword [ebp - 0x40]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x10021860
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x18], xmm0
lahf
test ah, 0x44
jp 0x100218bf
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x28]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
jmp 0x100218bf
movaps xmm3, xmm0
cmp edi, 2
jne 0x1002189f
movss xmm1, dword [ebp - 0x68]
jmp 0x1002172a
movss xmm1, dword [0x1005fa48]
movaps xmm3, xmm0
test edi, edi
jne 0x1002172a
movss xmm2, dword [ebp - 0x6c]
jmp 0x10021732
xorps xmm2, xmm2
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x64]
jl 0x100214a0
mov edi, dword [0x1011eb84]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x3e48]
dec dword [eax + 0xe4]
mov dword [edx + 0x150], 0
mov eax, dword [ecx + 0x4934]
test eax, eax
je 0x10021ba8
cmp dword [eax + 0x308], edx
jne 0x10021ba8
mov eax, dword [ecx + 0x47f8]
cmp eax, 2
jne 0x10021951
cmp byte [ecx + 0xddd], 0
je 0x10021ba8
mov edx, 0x202
mov ecx, edi
call fcn.10026330
mov edx, 0x201
movss xmm3, dword [eax + 0xc]
call fcn.10026330
mov edx, 0x204
subss xmm3, dword [eax + 0xc]
call fcn.10026330
mov edx, 0x203
jmp 0x10021989
cmp eax, 3
jne 0x10021ba8
mov edx, 0x270
mov ecx, edi
call fcn.10026330
mov edx, 0x26f
movss xmm3, dword [eax + 0xc]
call fcn.10026330
mov edx, 0x272
subss xmm3, dword [eax + 0xc]
call fcn.10026330
mov edx, 0x271
movss xmm4, dword [eax + 0xc]
call fcn.10026330
ucomiss xmm3, xmm2
subss xmm4, dword [eax + 0xc]
lahf
test ah, 0x44
jp 0x100219ae
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x10021baf
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
movss xmm1, dword [esi + 0x58]
minss xmm1, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1005fa14]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x74]
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [esi + 0x4954]
addss xmm4, dword [esi + 0x4958]
movss dword [esi + 0x4954], xmm3
movss dword [esi + 0x4958], xmm4
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
maxss xmm3, xmm0
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [edx + 0x18]
subss xmm0, dword [edx + 0x20]
movss dword [esi + 0x4954], xmm3
mov byte [esi + 0x4948], 0
mov byte [esi + 0x4803], 1
maxss xmm4, xmm0
movss dword [esi + 0x4958], xmm4
movups xmm3, xmmword [edi + 0x3a64]
movss xmm4, dword [0x1005f8e0]
comiss xmm2, xmm3
movaps xmm1, xmm3
shufps xmm1, xmm3, 0xff
mulss xmm1, dword [edi + 0x3788]
movups xmmword [ebp - 0x84], xmm3
jbe 0x10021a6a
xorps xmm0, xmm0
jmp 0x10021a71
movaps xmm0, xmm4
minss xmm0, xmm3
movss xmm5, dword [0x1005f9e4]
movss xmm6, dword [0x1005f8ac]
movss xmm3, dword [ebp - 0x80]
comiss xmm2, xmm3
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10021a9c
xorps xmm0, xmm0
jmp 0x10021aa3
movaps xmm0, xmm4
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x7c]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm3
jbe 0x10021ac3
xorps xmm0, xmm0
jmp 0x10021aca
movaps xmm0, xmm4
minss xmm0, xmm3
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm1
jbe 0x10021ae5
xorps xmm4, xmm4
jmp 0x10021ae9
minss xmm4, xmm1
mulss xmm4, xmm5
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4954]
mov eax, dword [ebp - 0x1c]
cvttss2si edi, dword [eax + 0x4958]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm2
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10021b36
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10021bb9
addss xmm0, dword [edx + 0x24]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [ebp - 0x5c], xmm0
call fcn.10020860
mov edx, dword [ebp - 8]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x4954]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4954], xmm0
movss xmm0, dword [eax + 0x4958]
subss xmm0, xmm1
movss dword [eax + 0x4958], xmm0
jmp 0x10021bbe
movss xmm2, dword [ebp - 0x18]
jmp 0x10021bc4
movss xmm2, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
jmp 0x10021bc4
movss xmm2, dword [ebp - 0x18]
mov edi, dword [0x1011eb84]
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [0x1005fa48]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10021c04
test dword [edx + 0xc], 0x100
movss dword [edx + 0x28], xmm2
xorps xmm2, xmm2
movss dword [edx + 0x24], xmm0
jne 0x10021c07
comiss xmm2, dword [edi + 0x5a44]
jb 0x10021c07
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5a44], eax
jmp 0x10021c07
xorps xmm2, xmm2
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10021c51
test dword [edx + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x14], xmm1
movss dword [edx + 0x18], xmm0
jne 0x10021c51
comiss xmm2, dword [edi + 0x5a44]
jb 0x10021c51
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x5a44], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov al, byte [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret