Function at 0x1017df70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x10453c48]
mov dword [esp + 0x24], eax
mov dword [esp + 0xe0], edx
push esi
mov eax, dword [ecx + 0x1bec]
push edi
mov dword [esp + 0x24], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x1bec]
mov dword [esp + 0x34], edx
cmp byte [edx + 0xab], 0
je 0x1017dfe0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 8
test byte [ecx + 0x1cd4], 1
mov eax, dword [edx + 0x2c4]
mov dword [esp + 0x28], eax
je 0x1017dffd
movss xmm1, dword [ecx + 0x1cd8]
jmp 0x1017e005
movss xmm1, dword [edx + 0x1f0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1017e047
cmp dword [edx + 0x1d0], 0
movss xmm0, dword [edx + 0x288]
jne 0x1017e027
cmp dword [ecx + 0x1f2c], 0
je 0x1017e02f
movss xmm0, dword [edx + 0x258]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x10202060]
maxss xmm1, xmm0
lea eax, [edx + 0xe0]
mov dword [ecx + 0x1cd4], 0
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0x94], eax
mov eax, dword [eax + 8]
cvttss2si esi, xmm1
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x74]
call fcn.10155bc0
mov edx, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0xe0], eax
cmp ecx, eax
jne 0x1017e0c7
inc ecx
test eax, eax
je 0x1017e0ae
cdq
sub eax, edx
mov edx, dword [esp + 0x94]
sar eax, 1
add eax, dword [esp + 0xe0]
jmp 0x1017e0b3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100c0490
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x8c]
mov dword [eax + ecx*4], edi
inc dword [edx]
call fcn.10162120
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [esp + 0xe8]
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xd4], ecx
test cl, 8
jne 0x1017e111
mov edx, ecx
mov ecx, edi
call fcn.10181c70
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x24]
test ecx, 0x6000000
jne 0x1017e13d
mov eax, dword [edx + 0x2e88]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xd4]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1017e177
mov eax, dword [edx + 0x2e88]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0xe0], edi
mov edi, dword [esp + 0xe8]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1017e18d
mov eax, dword [edx + 0x2e88]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x15b0]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xd4], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
mov eax, dword [0x10453c48]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x38], xmm3
movss xmm4, dword [eax + 0x159c]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x1988]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x90], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x6c], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x140]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x58], xmm1
movss dword [esp + 0xb4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xf8], xmm0
addss xmm0, xmm4
movss dword [esp + 0x98], xmm0
addss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10201f9c]
cvttss2si esi, xmm0
mov dword [esp + 0x104], esi
call fcn.101a1ab0
movss xmm1, dword [esp + 0x58]
add esp, 0xc
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [0x10201ff4]
mulss xmm3, dword [0x10201f74]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0xb4], xmm3
movaps xmm4, xmm2
subss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x90]
movss dword [esp + 0xf4], xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10201f5c]
mulss xmm3, dword [0x10201ff4]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0xdc], xmm4
movd xmm0, eax
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0xc0], xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [edi]
movaps xmm1, xmm4
movss xmm4, dword [edi + 4]
subss xmm1, xmm0
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x8000000
mov dword [esp + 0x54], 0
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x30], xmm4
movaps xmm0, xmm1
movss dword [esp + 0x50], xmm1
mulss xmm0, dword [0x10202434]
movaps xmm2, xmm1
mov dword [esp + 0x74], ecx
mulss xmm2, dword [0x10202448]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10202044]
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0x60], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [0x102021e0]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x10c], xmm0
je 0x1017e523
comiss xmm2, xmm4
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm4
movaps xmm7, xmm2
jbe 0x1017e448
movss xmm6, dword [0x1020244c]
movaps xmm5, xmm2
movaps xmm7, xmm4
comiss xmm5, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x48], xmm2
jbe 0x1017e471
movss xmm0, dword [0x10202430]
movaps xmm2, xmm5
subss xmm0, xmm6
movss dword [esp + 0x48], xmm2
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x24]
minss xmm0, xmm7
movaps xmm4, xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [ecx + 0x2e94]
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x102021e0]
addss xmm0, dword [0x10201f14]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x10201f14]
andps xmm3, xmmword [0x10202ae0]
divss xmm4, xmm0
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x30], xmm4
cmp eax, dword [edi]
jne 0x1017e57e
mov eax, dword [ecx + 0x2e98]
cmp eax, dword [edi + 4]
jne 0x1017e57e
mov eax, dword [ecx + 0x2e9c]
cmp eax, dword [edi + 8]
jne 0x1017e57e
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x1017e50a
movss xmm0, dword [ecx + 0x2e8c]
movss dword [esp + 0x18], xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1017e57e
movss xmm0, dword [ecx + 0x2e90]
movss dword [esp + 0x30], xmm0
jmp 0x1017e57e
test eax, 0x10000000
je 0x1017e57e
lea eax, [esp + 0xa4]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x100]
movaps xmm0, xmm3
lea ecx, [esp + 0x104]
call fcn.10156270
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x40], xmm0
mov ecx, dword [0x10453c48]
mov byte [esp + 0xf], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
mov eax, dword [ecx + 0x1bec]
mov edx, dword [eax + 0x1ec]
or edx, 8
mov dword [eax + 0x1ec], edx
mov dword [esp + 0x1c], edx
lea edx, [ecx + 0x1d18]
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], edx
cmp dword [edx], ecx
jne 0x1017e5f0
test ecx, ecx
je 0x1017e5d0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add eax, ecx
jmp 0x1017e5d5
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100c0490
mov edi, dword [esp + 0xe8]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x10]
mov ecx, eax
inc dword [edx]
and ecx, 0x4000000
mov dword [esp + 0x58], ecx
je 0x1017ec79
movss xmm1, dword [esp + 0x4c]
lea edx, [esp + 0x80]
mov eax, dword [esp + 0x24]
movaps xmm0, xmm1
push 0
mov ecx, 0x102003c0
movss dword [esp + 0x88], xmm1
addss xmm0, dword [eax + 0x15b0]
addss xmm0, dword [esp + 0x94]
movss dword [esp + 0x84], xmm0
call fcn.101717a0
mov eax, dword [0x10453c48]
mov ecx, dword [eax + 0x1c24]
mov dword [esp + 0x80], ecx
test ecx, ecx
je 0x1017eb05
mov eax, dword [eax + 0x1bec]
cmp ecx, dword [eax + 0x138]
jne 0x1017eb00
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + 0x3d0]
subss xmm0, dword [esp + 0xf4]
movss xmm1, dword [eax + 0x3cc]
subss xmm1, dword [esp + 0xf0]
movss xmm2, dword [eax + 0x128]
movss xmm4, dword [eax + 0x12c]
subss xmm2, dword [esp + 0xf0]
subss xmm4, dword [esp + 0xf4]
movaps xmm3, xmm0
movss dword [esp + 0xe4], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x10202060]
addss xmm3, xmm0
movss dword [esp + 0x104], xmm2
movss xmm0, dword [esp + 0xdc]
subss xmm0, xmm1
movss dword [esp + 0x108], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1017e794
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1017e794
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
call fcn.101c7530
movss xmm2, dword [0x1020218c]
xorps xmm0, xmm0
fstp qword [esp + 0x78]
movsd xmm1, qword [esp + 0x78]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10201ff4]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x1017e78c
addss xmm1, dword [0x10202060]
movss dword [esp + 0x18], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x1017e7a6
mov al, byte [esp + 0xf]
movss xmm2, dword [0x1020218c]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0x16], al
xorps xmm0, xmmword [0x10202b10]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
call fcn.101c7eb0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x44], xmm0
movsd xmm0, qword [esp + 0x78]
call fcn.101c9130
movss xmm3, dword [esp + 0x1c]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xe4]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x44]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x50]
mulss xmm1, dword [esp + 0x44]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xb8], xmm5
movss xmm0, dword [esp + 0xd8]
subss xmm0, dword [esp + 0xa0]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xac]
movaps xmm5, xmm1
movaps xmm2, xmm4
subss xmm5, xmm1
subss xmm2, xmm1
movss dword [esp + 0xe4], xmm0
subss xmm6, dword [esp + 0xac]
movss dword [esp + 0x1c], xmm5
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x78], xmm6
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xd8]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xd8]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1017eaf8
movss xmm0, dword [esp + 0xa0]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1017eaf8
movss xmm6, dword [esp + 0x104]
movss xmm1, dword [esp + 0x108]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x44]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xb8]
mulss xmm6, dword [esp + 0xb8]
mulss xmm1, dword [esp + 0x44]
subss xmm7, xmm0
movss xmm4, dword [esp + 0xa0]
addss xmm6, xmm1
movaps xmm2, xmm7
movss dword [esp + 0xb8], xmm7
subss xmm2, dword [esp + 0xac]
movaps xmm0, xmm6
movss dword [esp + 0xbc], xmm6
subss xmm0, xmm4
movaps xmm1, xmm2
mulss xmm2, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0xe4]
mulss xmm0, dword [esp + 0x1c]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xd8]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x78]
seta cl
subss xmm2, xmm0
comiss xmm5, xmm2
seta al
cmp al, cl
jne 0x1017e9fc
movss xmm1, dword [esp + 0xac]
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x50]
movaps xmm2, xmm7
subss xmm0, xmm5
subss xmm2, dword [esp + 0x50]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1017ea34
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x114]
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x58]
call fcn.101558c0
movss dword [esp + 0xbc], xmm1
movaps xmm6, xmm1
movss dword [esp + 0xb8], xmm0
movaps xmm7, xmm0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0xa0]
subss xmm6, xmm5
movss xmm4, dword [esp + 0xac]
subss xmm2, xmm5
subss xmm4, dword [esp + 0x50]
movss xmm3, dword [esp + 0xd8]
subss xmm7, dword [esp + 0x50]
subss xmm3, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm4
mulss xmm1, xmm4
mulss xmm4, xmm6
mulss xmm0, xmm3
mulss xmm2, xmm7
subss xmm1, xmm0
mulss xmm7, xmm3
subss xmm2, xmm4
movss xmm0, dword [0x10202060]
movaps xmm5, xmm0
subss xmm4, xmm7
divss xmm2, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x10201f2c]
subss xmm5, xmm2
movss dword [esp + 0x30], xmm1
comiss xmm1, xmm5
movaps xmm3, xmm5
subss xmm3, xmm4
jbe 0x1017eac9
movaps xmm2, xmm1
movss dword [esp + 0x48], xmm1
jmp 0x1017ead6
movaps xmm2, xmm0
minss xmm2, xmm5
movss dword [esp + 0x48], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x1017eaec
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x30], xmm1
mov byte [esp + 0x15], 1
mov byte [esp + 0xf], 1
jmp 0x1017eb00
mov al, byte [esp + 0xf]
mov byte [esp + 0x16], al
mov eax, dword [0x10453c48]
test byte [esp + 0x10], 8
jne 0x1017eb74
cmp byte [eax + 0x42b], 0
mov esi, dword [eax + 0x1bec]
je 0x1017eb74
mov ecx, 8
call fcn.10158770
test al, al
je 0x1017eb74
mov ecx, dword [esi + 0xe0]
xor edx, edx
mov eax, dword [esi + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
mov ecx, eax
mov eax, dword [0x10453c48]
cmp dword [esp + 0x80], ecx
jne 0x1017eb5b
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x1017eb6a
mov byte [eax + 0x1c60], 1
mov edx, 1
call fcn.10162d10
mov ecx, dword [0x10453c48]
movss xmm2, dword [esp + 0x20]
cmp dword [esp + 0xd4], 0x10000
mov esi, dword [esp + 0xf8]
jne 0x1017ef06
mov eax, dword [ecx + 0x1bec]
lea edx, [esp + 0x5c]
movss xmm0, dword [esp + 0x94]
push 0
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm2
movss xmm1, dword [eax + 0x104]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x108]
maxss xmm0, xmm2
movss dword [eax + 0x104], xmm1
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x64], xmm0
call fcn.101717a0
mov ecx, dword [0x10453c48]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x1017ef06
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x1017ef06
mov eax, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [0x10202060]
subss xmm0, xmm1
movss xmm3, dword [eax + 0x12c]
subss xmm3, dword [esp + 0x20]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1017eeee
xorps xmm4, xmm4
jmp 0x1017eef5
test eax, 0x2000000
je 0x1017eb74
movss xmm0, dword [esp + 0x4c]
lea edx, [esp + 0x5c]
push 0
mov ecx, 0x102003c4
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm0
call fcn.101717a0
mov ecx, dword [0x10453c48]
mov esi, dword [ecx + 0x1c24]
test esi, esi
je 0x1017ed4f
mov eax, dword [ecx + 0x1bec]
cmp esi, dword [eax + 0x138]
jne 0x1017ed4f
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x4c]
movss xmm1, dword [0x10202060]
subss xmm3, xmm1
movss xmm4, dword [eax + 0x128]
subss xmm4, dword [esp + 0x38]
movss dword [esp + 0x44], xmm3
divss xmm4, xmm3
comiss xmm0, xmm4
jbe 0x1017ed0a
movss dword [esp + 0x30], xmm0
jmp 0x1017ed17
movaps xmm2, xmm1
minss xmm2, xmm4
movss dword [esp + 0x30], xmm2
movss xmm2, dword [eax + 0x12c]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x1017ed33
xorps xmm3, xmm3
jmp 0x1017ed3a
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xf], al
movss dword [esp + 0x48], xmm0
jmp 0x1017ed67
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [0x10202060]
mov al, byte [esp + 0xf]
movss dword [esp + 0x44], xmm0
test byte [esp + 0x10], 8
mov byte [esp + 0x15], al
mov byte [esp + 0x17], al
jne 0x1017edee
cmp byte [ecx + 0x42b], 0
mov eax, dword [ecx + 0x1bec]
mov dword [esp + 0x80], eax
je 0x1017edee
mov ecx, 8
call fcn.10158770
test al, al
je 0x1017ede8
mov eax, dword [esp + 0x80]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10155bc0
mov ecx, dword [0x10453c48]
cmp esi, eax
jne 0x1017edcd
mov dword [ecx + 0x1c28], eax
cmp dword [ecx + 0x1c5c], eax
jne 0x1017eddc
mov byte [ecx + 0x1c60], 1
mov edx, 1
mov ecx, eax
call fcn.10162d10
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
lea edx, [esp + 0x5c]
movss xmm0, dword [esp + 0xec]
movss xmm2, dword [esp + 0x20]
push 0
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, 0x102003b4
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm2
movss xmm1, dword [eax + 0x104]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x108]
maxss xmm0, xmm2
movss dword [eax + 0x104], xmm1
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x64], xmm0
call fcn.101717a0
mov ecx, dword [0x10453c48]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x1017eb7a
mov al, byte [esp + 0xf]
mov byte [esp + 0x15], al
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x1017eb7a
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x20]
movss xmm1, dword [eax + 0x12c]
subss xmm1, xmm2
divss xmm1, dword [esp + 0x44]
comiss xmm0, xmm1
ja 0x1017eed1
movss xmm0, dword [0x10202060]
minss xmm0, xmm1
mov al, byte [esp + 0x17]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x15], al
jmp 0x1017eb80
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xf], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [ecx + 0x1bec]
dec dword [ecx + 0x1d18]
mov eax, dword [0x10453c48]
mov ecx, dword [ecx + 0x1d18]
mov eax, dword [eax + 0x1d20]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ec], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x1c], ecx
jne 0x1017ef5c
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.10161e80
call fcn.10162120
mov eax, dword [esp + 0x10]
and eax, 0x80
mov dword [esp + 0x78], eax
jne 0x1017efc0
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x1017efc0
mov dl, byte [ecx]
test dl, dl
je 0x1017ef86
cmp dl, 0x23
jne 0x1017ef80
cmp byte [ecx + 1], dl
je 0x1017ef86
inc ecx
cmp ecx, 0xffffffff
jb 0x1017ef70
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
cmp eax, ecx
je 0x1017efc0
cmp dword [esp + 0x1c], 0
je 0x1017efb5
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.10161e80
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
mov edx, ecx
mov ecx, eax
push 0
call fcn.10170460
cmp dword [esp + 0x1c], 0
jne 0x1017f1f7
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
mov edx, dword [eax + 0x1ec]
or edx, 0x10
mov dword [eax + 0x1ec], edx
mov dword [esp + 0x80], edx
lea edx, [ecx + 0x1d18]
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], edx
cmp dword [edx], ecx
jne 0x1017f02a
test ecx, ecx
je 0x1017f011
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1017f016
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100c0490
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [esp + 0x6c], 0
je 0x1017f04c
movss xmm1, dword [0x10202060]
jmp 0x1017f051
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0x78], 0
movss xmm0, dword [edi]
mov esi, dword [esp + 0xf8]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm1
je 0x1017f092
push str.Current
call fcn.10170b50
add esp, 4
movss xmm1, dword [esp + 0x90]
lea edx, [esp + 0x5c]
mov eax, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [0x10202188]
and eax, 0x180e0040
push eax
mov ecx, str.current
mov dword [esp + 0xb4], eax
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xc0], xmm0
movss xmm1, dword [esp + 0xc0]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xbc]
call fcn.101809e0
cmp dword [esp + 0x2c], 0
je 0x1017f1cb
push str.Original
call fcn.10170b50
mov eax, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x1017f12c
movss xmm1, dword [0x10202060]
jmp 0x1017f131
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
push dword [esp + 0xb0]
movss dword [esp + 0x114], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x120], xmm1
movss xmm1, dword [esp + 0x88]
call fcn.101809e0
test al, al
je 0x1017f1cb
push dword [esp + 0xe0]
push dword [esp + 0x30]
push edi
call fcn.101a1ab0
add esp, 0xc
mov byte [esp + 0xf], 1
mov eax, dword [0x10453c48]
mov edx, dword [eax + 0x1bec]
dec dword [eax + 0x1d18]
mov ecx, dword [eax + 0x1d18]
mov eax, dword [eax + 0x1d20]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ec], eax
call fcn.10162250
cmp byte [esp + 0x16], 0
jne 0x1017f209
cmp byte [esp + 0x15], 0
je 0x1017f29e
cmp dword [esp + 0x74], 0
je 0x1017f2c7
movss xmm1, dword [esp + 0x48]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1017f227
movaps xmm3, xmm1
jmp 0x1017f22f
movss xmm3, dword [0x10201f24]
movss xmm1, dword [esp + 0x30]
comiss xmm1, xmm0
movss xmm2, dword [0x10201f28]
ja 0x1017f245
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10202060]
jb 0x1017f258
subss xmm0, xmm2
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
movaps xmm2, xmm3
call fcn.10156270
mov ecx, dword [esp + 0x24]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x18]
movss dword [ecx + 0x2e8c], xmm1
movss dword [ecx + 0x2e90], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2e94], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2e9c], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x17], 0
test al, 0x20
jne 0x1017f66b
cmp dword [esp + 0xd4], 0x10000
jne 0x1017f2f4
movss xmm0, dword [esp + 0x94]
jmp 0x1017f2fd
mov eax, dword [esp + 0x10]
test eax, 0x10000000
je 0x1017f2a2
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x18]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
jmp 0x1017f2a2
movss xmm0, dword [esp + 0xec]
addss xmm0, dword [esp + 0x90]
subss xmm0, dword [esp + 0x38]
call fcn.10161f40
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x6c], edx
test eax, 0x100000
jne 0x1017f33c
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x2c], ecx
jne 0x1017f397
mov dword [esp + 0x2c], ecx
jmp 0x1017f345
and eax, 0x700000
mov dword [esp + 0x2c], eax
or edx, 0x100004
mov ecx, str.rgb
push edx
mov edx, edi
call fcn.1017c9d0
test al, al
je 0x1017f38b
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x1c24], 0
je 0x1017f377
cmp byte [eax + 0x1c32], 0
mov byte [esp + 0x17], 1
je 0x1017f37c
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xf], 1
mov dword [esp + 0x2c], ecx
jmp 0x1017f38f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1017f3a2
test ecx, ecx
jne 0x1017f3c1
or edx, 0x200004
mov ecx, str.hsv
push edx
mov edx, edi
call fcn.1017c9d0
or byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
test eax, 0x400000
jne 0x1017f3cc
test ecx, ecx
jne 0x1017f3e6
mov eax, dword [esp + 0x6c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1017c9d0
or byte [esp + 0xf], al
cmp byte [esp + 0x17], 0
xorps xmm2, xmm2
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x1bec]
mov ecx, dword [edx + 0x1f8]
mov eax, dword [edx + 0x200]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1f0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1f8], eax
lea ecx, [edi + 8]
lea edx, [edi + 4]
je 0x1017f510
cmp dword [esp + 0x74], 0
je 0x1017f510
movss xmm3, dword [edx]
xorps xmm6, xmm6
movss xmm5, dword [ecx]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1017f462
movss xmm6, dword [0x1020244c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1017f47f
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10202430]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10201f14]
movaps xmm7, xmm1
mulss xmm1, dword [0x102021e0]
divss xmm7, xmm0
addss xmm1, dword [0x10201f14]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10202ae0]
comiss xmm2, xmm3
jb 0x1017f510
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x1017f510
comiss xmm2, xmm4
jb 0x1017f649
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1017f649
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x30]
mulss xmm2, dword [0x10201ff4]
push ecx
mov ecx, edi
call fcn.10156270
xorps xmm2, xmm2
lea ecx, [edi + 8]
lea edx, [edi + 4]
mov eax, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
je 0x1017f6ec
cmp dword [esp + 0x74], 0
je 0x1017f679
movss xmm0, dword [edx]
xorps xmm5, xmm5
movss xmm3, dword [ecx]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0x98], xmm7
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x40], xmm3
jbe 0x1017f56a
movss xmm5, dword [0x1020244c]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x48], xmm4
jbe 0x1017f593
movss xmm0, dword [0x10202430]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x48], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x24]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2e94]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102021e0]
addss xmm0, dword [0x10201f14]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x10201f14]
andps xmm1, xmmword [0x10202ae0]
divss xmm3, xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x30], xmm3
cmp eax, dword [edi]
jne 0x1017f6f0
mov eax, dword [ecx + 0x2e98]
cmp eax, dword [edi + 4]
jne 0x1017f6f0
mov eax, dword [ecx + 0x2e9c]
cmp eax, dword [edi + 8]
jne 0x1017f6f0
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1017f629
movss xmm0, dword [ecx + 0x2e8c]
movss dword [esp + 0x18], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1017f6f0
movss xmm0, dword [ecx + 0x2e90]
movss dword [esp + 0x30], xmm0
jmp 0x1017f6f0
comiss xmm2, xmm7
jb 0x1017f510
movss xmm1, dword [esp + 0x30]
movaps xmm2, xmm4
mulss xmm1, dword [0x10201ff4]
push ecx
mov ecx, edi
jmp 0x1017f502
xorps xmm2, xmm2
lea ecx, [edi + 8]
lea edx, [edi + 4]
jmp 0x1017f514
test eax, 0x10000000
je 0x1017f6ec
movss xmm1, dword [edx]
lea eax, [esp + 0xa4]
movss xmm2, dword [ecx]
lea edx, [esp + 0xfc]
movss xmm0, dword [edi]
lea ecx, [esp + 0x100]
push eax
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x4c], xmm2
call fcn.10156270
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x24]
movss xmm2, dword [ecx + 0x1560]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x10202060]
jbe 0x1017f70d
xorps xmm1, xmm1
jmp 0x1017f714
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10202378]
mov dword [esp + 0x5c], 0x3f800000
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x60], 0x3f800000
addss xmm1, dword [0x10201ff4]
mov dword [esp + 0x64], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x18]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xa4], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x70], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x120], ecx
or eax, 0x808080
mov dword [esp + 0x138], ecx
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x5c]
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x124], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x128], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x12c], eax
mov eax, edx
or eax, 0xff
mov dword [esp + 0x130], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x60]
mov dword [esp + 0x134], eax
lea eax, [esp + 0x64]
push eax
call fcn.10156270
movss xmm3, dword [esp + 0x5c]
xorps xmm0, xmm0
comiss xmm0, xmm3
movss xmm2, dword [0x10202060]
jbe 0x1017f7fb
xorps xmm1, xmm1
jmp 0x1017f802
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x10202378]
movss xmm5, dword [0x10201ff4]
movss xmm4, dword [esp + 0x60]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1017f831
xorps xmm1, xmm1
jmp 0x1017f838
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x64]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017f859
xorps xmm1, xmm1
jmp 0x1017f860
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x68]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017f87e
xorps xmm1, xmm1
jmp 0x1017f885
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x98]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm4
mov dword [esp + 0x44], edx
jbe 0x1017f8ad
xorps xmm1, xmm1
jmp 0x1017f8b4
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x88]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1017f8d6
xorps xmm1, xmm1
jmp 0x1017f8dd
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x40]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017f8fe
xorps xmm1, xmm1
jmp 0x1017f905
movaps xmm1, xmm2
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
mov eax, dword [esp + 0x24]
movss xmm4, dword [eax + 0x1560]
comiss xmm0, xmm4
jbe 0x1017f929
xorps xmm1, xmm1
jmp 0x1017f930
movaps xmm1, xmm2
minss xmm1, xmm4
mulss xmm1, xmm3
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0x58], 0
mov dword [esp + 0x88], eax
je 0x101802b9
movss xmm1, dword [esp + 0x34]
movaps xmm3, xmm5
movss xmm0, dword [esp + 0xdc]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x28]
addss xmm0, xmm1
divss xmm3, xmm1
cvttss2si ecx, xmm1
movaps xmm4, xmm0
movss dword [esp + 0x104], xmm3
imul ecx
mulss xmm4, xmm5
movss dword [esp + 0x8c], xmm0
mov ecx, 4
movss dword [esp + 0xe4], xmm4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovle eax, ecx
xor ecx, ecx
mov dword [esp + 0x58], eax
lea eax, [esi + 0x54]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
nop dword [eax + eax]
movd xmm1, ecx
lea eax, [esp + 0xc0]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push dword [esp + 0x58]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x102021e0]
push ecx
mov ecx, esi
movaps xmm2, xmm4
divss xmm1, dword [0x102021e0]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x1020218c]
mulss xmm1, dword [0x1020218c]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x28], xmm1
call fcn.1016a770
movss xmm0, dword [esp + 0xb4]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x78]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10169240
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.101c7eb0
movss xmm1, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xdc]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x78], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c9130
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xdc]
addss xmm0, dword [esp + 0xf4]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
call fcn.101c7eb0
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xdc]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c9130
movss xmm3, dword [esp + 0x80]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x78]
movss xmm6, dword [esp + 0xb0]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x10202060]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0xdc]
lea eax, [eax + eax*4]
mov ecx, dword [esp + ecx*4 + 0x120]
mulss xmm0, xmm3
addss xmm4, dword [esp + 0xf4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0xb8], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x80], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x74], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x34], eax
movzx eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + eax*4 + 0x124]
mov eax, ecx
shr eax, 0x10
movzx eax, al
sub eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x80]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x108], ecx
cmp edx, edi
jae 0x1017fccc
movd xmm7, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0xb0]
cvtdq2ps xmm7, xmm7
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0xb8]
comiss xmm0, xmm1
jbe 0x1017fc43
xorps xmm2, xmm2
jmp 0x1017fc47
minss xmm2, xmm1
movd xmm1, eax
movaps xmm0, xmm7
mulss xmm0, xmm2
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x108]
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x10202060]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x1017fc10
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
movss xmm3, dword [esp + 0x104]
inc ecx
movss xmm4, dword [esp + 0xe4]
mov dword [esp + 0x40], ecx
cmp ecx, 6
jl 0x1017f9e0
movss xmm0, dword [esp + 0x18]
addss xmm0, xmm0
mulss xmm0, dword [0x1020218c]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call fcn.101c7eb0
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c9130
cmp byte [esp + 0x16], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x58], xmm1
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x8c]
movss xmm1, dword [esp + 0xb4]
mulss xmm0, dword [0x10201ff4]
addss xmm0, dword [esp + 0xf4]
movss dword [esp + 0x3c], xmm0
je 0x1017fd98
mulss xmm1, dword [0x10202008]
jmp 0x1017fda0
mulss xmm1, dword [0x10201ffc]
movaps xmm0, xmm1
movss dword [esp + 0xb4], xmm1
divss xmm0, dword [0x10202090]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1017fdc4
mov esi, 9
jmp 0x1017fdce
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x38]
push esi
push dword [esp + 0x48]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1016b520
movss xmm2, dword [esp + 0xb4]
lea eax, [esp + 0x38]
addss xmm2, dword [0x10202060]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x34]
push eax
call fcn.1016b440
movss xmm2, dword [esp + 0xb4]
lea eax, [esp + 0x38]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x78]
push esi
push eax
call fcn.1016b440
movss xmm4, dword [esp + 0x34]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x58]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x50]
movaps xmm0, xmm5
mov eax, dword [0x10453c48]
mulss xmm0, xmm1
movaps xmm3, xmm5
mulss xmm3, dword [esp + 0x50]
movss xmm7, dword [esp + 0xf4]
subss xmm2, xmm0
movss xmm6, dword [esp + 0xf0]
movaps xmm0, xmm4
mulss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x34], xmm2
addss xmm3, xmm7
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x54], xmm3
movss xmm3, dword [esp + 0xac]
movaps xmm2, xmm3
mulss xmm3, xmm5
mulss xmm2, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xd8]
addss xmm0, xmm3
addss xmm1, xmm6
addss xmm0, xmm7
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x38], xmm1
movss xmm1, dword [esp + 0xa0]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm5
mulss xmm1, xmm4
subss xmm2, xmm0
movss xmm0, dword [eax + 0x1990]
movss dword [esp + 0x58], xmm0
addss xmm1, xmm3
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0x7c], xmm1
movss xmm0, dword [eax + 0x1994]
mov ecx, edi
push 6
push 6
movss dword [esp + 0x88], xmm0
call fcn.10168fd0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x1c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x80]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x44]
movss xmm6, dword [esp + 0x6c]
movss xmm5, dword [esp + 0x74]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm2, dword [esp + 0xa8]
movss xmm7, dword [esp + 0xa0]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm6
movss dword [eax + 4], xmm5
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xf8]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm7
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
test dword [esp + 0x2c], 0xff000000
je 0x10180225
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 4]
mov edx, dword [eax]
cmp edx, edi
jne 0x10180139
inc edx
mov dword [esp + 0x58], edx
test edi, edi
je 0x10180123
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x10]
sar ecx, 1
add ecx, edi
jmp 0x10180128
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100c39b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x10180180
inc edi
test eax, eax
je 0x1018016c
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10180171
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.100c39b0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov eax, dword [ecx + 4]
cmp edi, eax
jne 0x101801cb
inc edi
test eax, eax
je 0x101801b7
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x101801bc
mov eax, 8
cmp eax, edi
cmovg edi, eax
push edi
call fcn.100c39b0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov eax, dword [eax]
push ecx
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0x34]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ecx, eax
inc dword [edi]
push dword [edi]
push dword [eax + 0x5c]
call fcn.10169240
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x74]
movss xmm6, dword [esp + 0x6c]
mov dword [edi], 0
movss xmm1, dword [0x10202060]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x10180243
xorps xmm7, xmm7
jmp 0x1018024a
movaps xmm7, xmm1
minss xmm7, xmm2
movss xmm2, dword [esp + 0x30]
comiss xmm0, xmm2
jbe 0x1018025a
xorps xmm1, xmm1
jmp 0x1018025e
minss xmm1, xmm2
subss xmm3, dword [esp + 0xa8]
subss xmm4, dword [esp + 0xa0]
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [esp + 0xa8]
addss xmm4, dword [esp + 0xa0]
subss xmm6, xmm3
subss xmm5, xmm4
mulss xmm6, xmm7
mulss xmm5, xmm7
addss xmm6, xmm3
addss xmm5, xmm4
movss dword [esp + 0x98], xmm6
movss dword [esp + 0x9c], xmm5
jmp 0x10180634
test dword [esp + 0x10], 0x2000000
je 0x10180642
mov eax, dword [esp + 0x70]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0xa8]
mov ecx, dword [esp + 0x28]
push eax
push edx
push edx
push eax
lea eax, [esp + 0xd0]
movss dword [esp + 0x50], xmm0
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0xd4], xmm1
push eax
movss dword [esp + 0xdc], xmm0
call fcn.1016b1b0
mov ecx, dword [esp + 0xa4]
lea eax, [esp + 0xc0]
movss xmm0, dword [esp + 0xa8]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0xd4], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x54]
push eax
movss dword [esp + 0xdc], xmm0
call fcn.1016b1b0
movss xmm0, dword [esp + 0xa8]
movss xmm1, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x40]
movss xmm3, dword [esp + 0x50]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x54]
call fcn.10157a40
movss xmm2, dword [esp + 0x30]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm1, dword [0x10202060]
jbe 0x101803ac
xorps xmm3, xmm3
jmp 0x101803b3
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm7, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x38]
movss xmm4, dword [0x10201ff4]
mulss xmm3, xmm7
movss xmm5, dword [0x10202128]
addss xmm3, xmm6
addss xmm6, xmm5
addss xmm3, xmm4
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0xa8]
subss xmm3, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x10180407
movss dword [esp + 0x98], xmm6
jmp 0x10180420
comiss xmm2, xmm3
jbe 0x10180417
movss dword [esp + 0x98], xmm3
jmp 0x10180420
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x10180433
xorps xmm1, xmm1
jmp 0x10180437
minss xmm1, xmm2
movss xmm3, dword [esp + 0x20]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm5
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm5
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10180475
movss dword [esp + 0x9c], xmm1
jmp 0x1018048e
comiss xmm2, xmm0
jbe 0x10180485
movss dword [esp + 0x9c], xmm0
jmp 0x1018048e
movss dword [esp + 0x9c], xmm2
movss xmm0, dword [esp + 0x8c]
movaps xmm1, xmm7
divss xmm1, dword [0x102021e0]
mov esi, dword [esp + 0x28]
xor ecx, ecx
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x124]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc8]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xcc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x128]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x78], xmm0
call fcn.1016b1b0
movss xmm1, dword [esp + 0x58]
mov ecx, edi
movss xmm3, dword [esp + 0x20]
cmp ecx, 6
jl 0x101804d0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xec]
movss xmm4, dword [esp + 0x3c]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
movss xmm1, dword [esp + 0x50]
movss xmm3, dword [esp + 0x38]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x54]
call fcn.10157a40
mov esi, dword [esp + 0xf8]
mov ecx, dword [esp + 0x28]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [0x10202060]
movss xmm2, dword [esp + 0xec]
subss xmm2, dword [0x10202060]
movss xmm5, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x4c]
movss xmm4, dword [esp + 0x38]
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x20]
movss xmm2, dword [esp + 0x50]
addss xmm0, dword [0x10201ff4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x90]
addss xmm0, dword [0x10202128]
movss xmm3, dword [esp + 0x54]
call fcn.1017dd40
xorps xmm0, xmm0
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0xe8]
cmp byte [esp + 0x15], 0
je 0x1018065c
movss xmm1, dword [0x102021fc]
movss dword [esp + 0x10c], xmm1
jmp 0x10180664
movss xmm1, dword [0x102021e0]
test eax, 0xff000000
je 0x101806ad
comiss xmm0, xmm1
jae 0x101806ad
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x98]
push 0xb
push 0
push eax
movaps xmm2, xmm1
call fcn.1016a6f0
mov eax, dword [esp + 0x28]
mov ecx, eax
push dword [esp + 0x88]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10169f80
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
jmp 0x101806b1
mov eax, dword [esp + 0x28]
test dword [esp + 0x2c], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x10c]
movaps xmm2, xmm1
addss xmm2, dword [0x10202060]
je 0x10180728
comiss xmm0, xmm2
jae 0x10180728
subss xmm2, dword [0x10201ff4]
push 0xb
push 0
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.1016a6f0
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x34]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10169240
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x10c]
mov dword [eax + 0x54], 0
test dword [esp + 0x70], 0xff000000
je 0x1018077f
comiss xmm0, xmm1
jae 0x1018077f
subss xmm1, dword [0x10201ff4]
push 0xb
push 0
lea ecx, [esp + 0xa0]
push ecx
movaps xmm2, xmm1
mov ecx, eax
call fcn.1016a6f0
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x78]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10169240
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xd4], 0x10000
jne 0x10180928
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x101807a8
movss dword [esp + 0x8c], xmm1
jmp 0x101807bd
movss xmm0, dword [0x10202060]
minss xmm0, xmm2
movss dword [esp + 0x8c], xmm0
movss xmm3, dword [esp + 0x94]
lea ecx, [esp + 0xc0]
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x90]
movss dword [esp + 0x60], xmm0
xor edx, edx
addss xmm0, dword [esp + 0x4c]
push 0
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x68], xmm2
subss xmm2, xmm3
movss xmm3, dword [esp + 0x64]
movss xmm4, dword [esp + 0x68]
movss dword [esp + 0x6c], xmm0
movss xmm5, dword [esp + 0x6c]
mulss xmm2, dword [0x10201ff4]
push ecx
mov ecx, eax
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm1
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x64]
call fcn.1016e9a0
mov ecx, dword [esp + 0x88]
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1016b1b0
movss xmm1, dword [esp + 0x5c]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x64]
movss xmm4, dword [esp + 0x68]
call fcn.10157a40
movss xmm1, dword [0x10202060]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x28]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, xmm1
movss xmm5, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, xmm1
movss xmm4, dword [esp + 0x38]
subss xmm1, dword [esp + 0x8c]
movss dword [esp + 0x50], xmm0
mulss xmm1, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x90]
addss xmm0, dword [0x10202128]
addss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x50]
addss xmm1, dword [0x10201ff4]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x54], xmm1
movss xmm1, dword [eax + 0x1560]
movss xmm3, dword [esp + 0x54]
call fcn.1017dd40
call fcn.10162250
cmp byte [esp + 0xf], 0
mov edx, dword [0x10453c48]
je 0x101809b0
mov esi, dword [esp + 0xe0]
lea ecx, [esp + 0x13c]
sub esi, 4
jb 0x10180961
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10180966
add ecx, 4
add edi, 4
sub esi, 4
jae 0x10180950
cmp esi, 0xfffffffc
je 0x101809ab
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10180993
cmp esi, 0xfffffffd
je 0x101809ab
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10180993
cmp esi, 0xfffffffe
je 0x101809ab
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10180993
cmp esi, 0xffffffff
je 0x101809ab
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x101809ab
mov eax, dword [edx + 0x1bec]
mov word [edx + 0x1c35], 0x101
or dword [eax + 0x13c], 4
jmp 0x101809b0
mov byte [esp + 0xf], 0
mov ecx, dword [edx + 0x1bec]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret 8