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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x103d8bec]
mov dword [esp + 0x98], eax
mov dword [esp + 0xf8], edx
push esi
mov eax, dword [ecx + 0x1bdc]
push edi
mov dword [esp + 0x38], ecx
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1bdc]
mov dword [esp + 0xec], edx
cmp byte [edx + 0x8f], 0
je 0x1016cf06
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret 8
test byte [ecx + 0x1cc4], 1
mov eax, dword [edx + 0x28c]
mov dword [esp + 0x28], eax
je 0x1016cf23
movss xmm1, dword [ecx + 0x1cc8]
jmp 0x1016cf2b
movss xmm1, dword [edx + 0x1b8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1016cf6d
cmp dword [edx + 0x198], 0
movss xmm0, dword [edx + 0x250]
jne 0x1016cf4d
cmp dword [ecx + 0x1f1c], 0
je 0x1016cf55
movss xmm0, dword [edx + 0x220]
subss xmm0, dword [edx + 0xcc]
addss xmm0, xmm1
movss xmm1, dword [0x101eb354]
maxss xmm1, xmm0
lea eax, [edx + 0xc0]
mov dword [ecx + 0x1cc4], 0
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0xac], eax
mov eax, dword [eax + 8]
cvttss2si esi, xmm1
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x4c]
call fcn.10144c10
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x5c], eax
cmp ecx, eax
jne 0x1016cfe4
inc ecx
test eax, eax
je 0x1016cfcb
cdq
sub eax, edx
mov edx, dword [esp + 0xac]
sar eax, 1
add eax, dword [esp + 0x5c]
jmp 0x1016cfd0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100b4620
mov edx, dword [esp + 0xac]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx]
call fcn.10150fd0
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [esp + 0x100]
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xdc], ecx
test cl, 8
jne 0x1016d02b
mov edx, ecx
mov ecx, edi
call fcn.10170b80
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x38]
test ecx, 0x6000000
jne 0x1016d057
mov eax, dword [edx + 0x2e78]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], ecx
test ecx, 0x18000000
jne 0x1016d08e
mov eax, dword [edx + 0x2e78]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x100]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x20], ecx
test cl, 8
jne 0x1016d0a4
mov eax, dword [edx + 0x2e78]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x20], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x15b0]
and eax, 2
movd xmm4, esi
mov dword [esp + 0xdc], eax
and ecx, 0x10002
mov eax, dword [esp + 0xec]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0x104], ecx
movss xmm0, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xcc]
mov eax, dword [0x103d8bec]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm3
movss xmm5, dword [eax + 0x159c]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x1978]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x7c], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xdc], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x140]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x101eb28c]
cvttss2si esi, xmm0
mov dword [esp + 0xf4], esi
call fcn.1018f8f0
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x101eb2e4]
mulss xmm3, dword [0x101eb264]
movaps xmm0, xmm4
movss dword [esp + 0x60], xmm4
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0xb8], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x7c]
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101eb24c]
movaps xmm1, xmm2
mulss xmm3, dword [0x101eb2e4]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x50]
movss dword [esp + 0xbc], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xf0], xmm3
movss dword [esp + 0xc0], xmm3
subss xmm1, xmm0
movss xmm3, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x101eb6ec]
movaps xmm2, xmm1
mov eax, dword [esp + 0x20]
mulss xmm2, dword [0x101eb700]
mov dword [esp + 0x74], 0
movss xmm4, dword [edi + 4]
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101eb334]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0x88], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm4
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm0
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [0x101eb4a0]
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x68], xmm2
movss dword [esp + 0xec], xmm0
test eax, 0x8000000
je 0x1016d423
comiss xmm2, xmm4
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm4
movaps xmm7, xmm2
jbe 0x1016d348
movss xmm6, dword [0x101eb704]
movaps xmm5, xmm2
movaps xmm7, xmm4
comiss xmm5, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x68], xmm2
jbe 0x1016d371
movss xmm0, dword [0x101eb6e8]
movaps xmm2, xmm5
subss xmm0, xmm6
movss dword [esp + 0x68], xmm2
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x38]
minss xmm0, xmm7
movaps xmm4, xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [ecx + 0x2e84]
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x101eb4a0]
addss xmm0, dword [0x101eb20c]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x101eb20c]
andps xmm3, xmmword [0x101ebc40]
divss xmm4, xmm0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x4c], xmm4
cmp eax, dword [edi]
jne 0x1016d47b
mov eax, dword [ecx + 0x2e88]
cmp eax, dword [edi + 4]
jne 0x1016d47b
mov eax, dword [ecx + 0x2e8c]
cmp eax, dword [edi + 8]
jne 0x1016d47b
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x1016d40a
movss xmm0, dword [ecx + 0x2e7c]
movss dword [esp + 0x2c], xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1016d47b
movss xmm0, dword [ecx + 0x2e80]
movss dword [esp + 0x4c], xmm0
jmp 0x1016d47b
test eax, 0x10000000
je 0x1016d47b
lea eax, [esp + 0xb0]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x9c]
movaps xmm0, xmm3
lea ecx, [esp + 0x98]
call fcn.101452c0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x64], xmm0
mov ecx, dword [0x103d8bec]
mov byte [esp + 0x16], 0
mov byte [esp + 0x27], 0
mov byte [esp + 0x1f], 0
mov eax, dword [ecx + 0x1bdc]
mov edx, dword [eax + 0x1b4]
or edx, 8
mov dword [eax + 0x1b4], edx
mov dword [esp + 0x5c], edx
lea edx, [ecx + 0x1d08]
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], edx
cmp dword [edx], ecx
jne 0x1016d4ed
test ecx, ecx
je 0x1016d4cd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1016d4d2
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100b4620
mov edi, dword [esp + 0x100]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x20]
test eax, 0x4000000
je 0x1016db62
movss xmm1, dword [esp + 0x30]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x38]
movaps xmm0, xmm1
push 0
mov ecx, 0x101e98e4
movss dword [esp + 0x48], xmm1
addss xmm0, dword [eax + 0x15b0]
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0x44], xmm0
call fcn.10160a70
mov ecx, dword [0x103d8bec]
mov edx, dword [ecx + 0x1c10]
test edx, edx
je 0x1016d9e5
mov eax, dword [ecx + 0x1bdc]
cmp edx, dword [eax + 0x118]
jne 0x1016d9e5
mov eax, dword [esp + 0x38]
movss xmm0, dword [eax + 0x3d0]
subss xmm0, dword [esp + 0xe4]
movss xmm1, dword [eax + 0x3cc]
subss xmm1, dword [esp + 0xf0]
movss xmm4, dword [eax + 0x128]
movss xmm2, dword [eax + 0x12c]
subss xmm4, dword [esp + 0xf0]
subss xmm2, dword [esp + 0xe4]
movaps xmm3, xmm0
movss dword [esp + 0xf4], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [0x101eb354]
addss xmm3, xmm0
movss dword [esp + 0x10c], xmm4
movss xmm0, dword [esp + 0xbc]
subss xmm0, xmm1
movss dword [esp + 0x108], xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1016d67b
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1016d67b
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call fcn.101b46b0
movss xmm2, dword [0x101eb45c]
xorps xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x101eb2e4]
comiss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
jbe 0x1016d673
addss xmm1, dword [0x101eb354]
movss dword [esp + 0x2c], xmm1
mov al, 1
mov byte [esp + 0x16], al
jmp 0x1016d68d
mov al, byte [esp + 0x16]
movss xmm2, dword [0x101eb45c]
movss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm1
mov byte [esp + 0x27], al
xorps xmm0, xmmword [0x101ebc70]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.101b5030
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.101b62b0
movss xmm3, dword [esp + 0x5c]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0xf4]
movaps xmm4, xmm3
movss xmm6, dword [esp + 0x18]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm4, xmm6
mulss xmm0, xmm2
mulss xmm1, xmm6
subss xmm4, xmm0
mulss xmm3, xmm2
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [esp + 0xa8]
addss xmm3, xmm1
movss dword [esp + 0xf8], xmm2
movss xmm1, dword [esp + 0xe0]
movaps xmm2, xmm4
subss xmm2, xmm1
movss xmm7, dword [esp + 0x70]
movaps xmm5, xmm1
subss xmm5, xmm1
movss dword [esp + 0xf4], xmm0
subss xmm7, dword [esp + 0xe0]
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x3c], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xb4]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xb4]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1016d9d7
movss xmm0, dword [esp + 0xa8]
subss xmm3, xmm5
subss xmm4, dword [esp + 0x70]
subss xmm0, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xe0]
subss xmm0, dword [esp + 0x70]
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1016d9d7
movss xmm1, dword [esp + 0x10c]
movss xmm4, dword [esp + 0xe0]
movaps xmm7, xmm1
mulss xmm1, dword [esp + 0xf8]
mulss xmm7, xmm6
movss xmm6, dword [esp + 0x108]
movaps xmm0, xmm6
mulss xmm6, dword [esp + 0x18]
mulss xmm0, dword [esp + 0xf8]
addss xmm6, xmm1
subss xmm7, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x44], xmm6
subss xmm0, dword [esp + 0xa8]
movaps xmm2, xmm7
movss dword [esp + 0x40], xmm7
subss xmm2, xmm4
mulss xmm0, dword [esp + 0x5c]
movaps xmm1, xmm2
mulss xmm2, dword [esp + 0x80]
mulss xmm1, dword [esp + 0xf4]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xb4]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x3c]
seta cl
subss xmm2, xmm0
comiss xmm5, xmm2
seta al
cmp al, cl
jne 0x1016d8de
movss xmm0, dword [esp + 0xa8]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x70]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x70]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1016d919
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x114]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x78]
call fcn.10144930
movss xmm4, dword [esp + 0xe0]
movaps xmm6, xmm1
movss dword [esp + 0x44], xmm1
movaps xmm7, xmm0
movss dword [esp + 0x40], xmm0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0xa8]
subss xmm6, xmm5
subss xmm7, dword [esp + 0x70]
movaps xmm3, xmm4
subss xmm2, xmm5
subss xmm3, dword [esp + 0x70]
movss xmm4, dword [esp + 0xb4]
subss xmm4, xmm5
movaps xmm1, xmm2
mulss xmm2, xmm7
movaps xmm0, xmm3
mulss xmm6, xmm3
mulss xmm1, xmm3
mulss xmm0, xmm4
subss xmm2, xmm6
mulss xmm7, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x101eb354]
movaps xmm5, xmm0
subss xmm6, xmm7
divss xmm2, xmm1
divss xmm6, xmm1
movss xmm1, dword [0x101eb224]
subss xmm5, xmm2
movss dword [esp + 0x4c], xmm1
comiss xmm1, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x1016d9a8
movaps xmm2, xmm1
movss dword [esp + 0x68], xmm1
jmp 0x1016d9b5
movaps xmm2, xmm0
minss xmm2, xmm5
movss dword [esp + 0x68], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x1016d9cb
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x4c], xmm1
mov byte [esp + 0x1f], 1
mov byte [esp + 0x16], 1
jmp 0x1016d9df
mov al, byte [esp + 0x16]
mov byte [esp + 0x27], al
mov ecx, dword [0x103d8bec]
mov eax, dword [esp + 0x20]
test al, 8
jne 0x1016da54
cmp byte [ecx + 0x42b], 0
mov esi, dword [ecx + 0x1bdc]
je 0x1016da54
mov ecx, 8
call fcn.10147740
test al, al
je 0x1016da54
mov ecx, dword [esi + 0xc0]
xor edx, edx
mov eax, dword [esi + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10144c10
mov ecx, eax
mov eax, dword [0x103d8bec]
cmp dword [eax + 0x1c10], ecx
jne 0x1016da3b
mov dword [eax + 0x1c14], ecx
cmp dword [eax + 0x1c4c], ecx
jne 0x1016da4a
mov byte [eax + 0x1c50], 1
mov edx, 1
call fcn.10151b80
mov ecx, dword [0x103d8bec]
movss xmm3, dword [esp + 0x34]
movss xmm4, dword [esp + 0x30]
cmp dword [esp + 0x104], 0x10000
mov esi, dword [esp + 0xe8]
jne 0x1016dde7
mov eax, dword [ecx + 0x1bdc]
lea edx, [esp + 0x84]
movss xmm0, dword [esp + 0xac]
push 0
movss dword [esp + 0x8c], xmm4
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, str.alpha
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm3
movss xmm1, dword [eax + 0xe4]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm3
movss dword [eax + 0xe4], xmm1
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x88], xmm0
call fcn.10160a70
mov ecx, dword [0x103d8bec]
mov edx, dword [ecx + 0x1c10]
test edx, edx
je 0x1016dde7
mov eax, dword [ecx + 0x1bdc]
cmp edx, dword [eax + 0x118]
jne 0x1016dde7
mov eax, dword [esp + 0x38]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [0x101eb354]
subss xmm0, xmm1
movss xmm3, dword [eax + 0x12c]
subss xmm3, dword [esp + 0x34]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1016ddcf
xorps xmm4, xmm4
jmp 0x1016ddd6
test eax, 0x2000000
je 0x1016da54
movss xmm0, dword [esp + 0x30]
lea edx, [esp + 0x84]
push 0
mov ecx, 0x101e98e8
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm0
call fcn.10160a70
mov ecx, dword [0x103d8bec]
mov edx, dword [ecx + 0x1c10]
test edx, edx
je 0x1016dc37
mov eax, dword [ecx + 0x1bdc]
cmp edx, dword [eax + 0x118]
jne 0x1016dc37
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x30]
movss xmm1, dword [0x101eb354]
subss xmm4, xmm1
movss xmm3, dword [eax + 0x128]
subss xmm3, dword [esp + 0x50]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1016dbf2
movss dword [esp + 0x4c], xmm0
jmp 0x1016dbff
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [eax + 0x12c]
subss xmm2, dword [esp + 0x34]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1016dc1b
xorps xmm3, xmm3
jmp 0x1016dc22
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0x16], al
movss dword [esp + 0x68], xmm0
jmp 0x1016dc3b
mov al, byte [esp + 0x16]
mov byte [esp + 0x1f], al
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x20]
test al, 8
jne 0x1016dcb8
cmp byte [ecx + 0x42b], 0
mov esi, dword [ecx + 0x1bdc]
je 0x1016dcb8
mov ecx, 8
call fcn.10147740
test al, al
je 0x1016dcb2
mov ecx, dword [esi + 0xc0]
xor edx, edx
mov eax, dword [esi + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10144c10
mov ecx, eax
mov eax, dword [0x103d8bec]
cmp dword [eax + 0x1c10], ecx
jne 0x1016dc99
mov dword [eax + 0x1c14], ecx
cmp dword [eax + 0x1c4c], ecx
jne 0x1016dca8
mov byte [eax + 0x1c50], 1
mov edx, 1
call fcn.10151b80
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
lea edx, [esp + 0x84]
movss xmm0, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x34]
push 0
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, 0x101e9914
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xd0], xmm2
movss xmm1, dword [eax + 0xe4]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm2
movss dword [eax + 0xe4], xmm1
movss dword [eax + 0xe8], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x8c], xmm0
call fcn.10160a70
mov ecx, dword [0x103d8bec]
mov edx, dword [ecx + 0x1c10]
test edx, edx
je 0x1016da5a
mov al, byte [esp + 0x16]
mov byte [esp + 0x1f], al
mov eax, dword [ecx + 0x1bdc]
cmp edx, dword [eax + 0x118]
jne 0x1016da5a
mov eax, dword [esp + 0x38]
movss xmm4, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
movaps xmm0, xmm4
movss xmm1, dword [0x101eb354]
movss xmm2, dword [eax + 0x12c]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1016ddb2
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x17]
movss dword [esp + 0x2c], xmm0
mov byte [esp + 0x27], 1
mov byte [esp + 0x16], 1
mov byte [esp + 0x1f], al
jmp 0x1016da66
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0x16], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [ecx + 0x1bdc]
dec dword [ecx + 0x1d08]
mov eax, dword [0x103d8bec]
mov ecx, dword [ecx + 0x1d08]
mov eax, dword [eax + 0x1d10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
mov edx, dword [esp + 0x20]
test edx, 0x100
jne 0x1016de37
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.10150d30
call fcn.10150fd0
mov edx, dword [esp + 0x20]
test dl, dl
js 0x1016de9c
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
jae 0x1016de9c
mov al, byte [ecx]
mov byte [esp + 0x17], al
test al, al
je 0x1016de5d
cmp al, 0x23
jne 0x1016de57
cmp byte [ecx + 1], al
je 0x1016de5d
inc ecx
cmp ecx, 0xffffffff
jb 0x1016de44
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
cmp eax, ecx
je 0x1016de9c
test edx, 0x100
je 0x1016de8d
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.10150d30
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1015f760
mov edx, dword [esp + 0x20]
test edx, 0x100
jne 0x1016e0fa
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
mov esi, dword [eax + 0x1b4]
or esi, 0x10
mov dword [eax + 0x1b4], esi
lea eax, [ecx + 0x1d08]
mov dword [esp + 0x80], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x18], esi
mov esi, dword [eax]
mov dword [esp + 0x48], eax
cmp esi, dword [eax + 4]
jne 0x1016df1e
mov eax, dword [esp + 0x18]
lea edx, [esi + 1]
mov dword [esp + 0x3c], edx
test eax, eax
je 0x1016df00
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, dword [esp + 0x18]
jmp 0x1016df05
mov eax, 8
cmp eax, edx
lea ecx, [ecx + 0x1d08]
cmovg edx, eax
push edx
call fcn.100b4620
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x48]
inc dword [eax]
test dl, 2
je 0x1016df42
movss xmm1, dword [0x101eb354]
jmp 0x1016df47
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xe8]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm1
test dl, dl
jns 0x1016df95
push str.Current
call fcn.1015fe10
mov edx, dword [esp + 0x24]
add esp, 4
movss xmm1, dword [esp + 0x7c]
and edx, 0x180e0040
movaps xmm0, xmm1
mov dword [esp + 0xf8], edx
mulss xmm0, dword [0x101eb458]
mov ecx, str.current
push edx
lea edx, [esp + 0x88]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss xmm1, dword [esp + 0x48]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x44]
call fcn.1016f920
cmp dword [esp + 0xa0], 0
je 0x1016e0ca
push str.Original
call fcn.1015fe10
mov eax, dword [esp + 0x24]
add esp, 4
test al, 2
mov eax, dword [esp + 0xa0]
je 0x1016e027
movss xmm1, dword [0x101eb354]
jmp 0x1016e02c
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x110]
push dword [esp + 0xf8]
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 + 0x40]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x120], xmm1
movss xmm1, dword [esp + 0x48]
call fcn.1016f920
test al, al
je 0x1016e0ca
xor eax, eax
cmp dword [esp + 0xdc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0xa4]
push edi
call fcn.1018f8f0
add esp, 0xc
mov byte [esp + 0x16], 1
mov eax, dword [0x103d8bec]
mov edx, dword [eax + 0x1bdc]
dec dword [eax + 0x1d08]
mov ecx, dword [eax + 0x1d08]
mov eax, dword [eax + 0x1d10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
call fcn.10151100
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x27], 0
jne 0x1016e10c
cmp byte [esp + 0x1f], 0
je 0x1016e1cc
test edx, 0x8000000
je 0x1016e1a4
movss xmm1, dword [esp + 0x68]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x1016e131
movaps xmm3, xmm1
jmp 0x1016e139
movss xmm3, dword [0x101eb21c]
movss xmm1, dword [esp + 0x4c]
comiss xmm1, xmm0
movss xmm2, dword [0x101eb220]
ja 0x1016e14f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [0x101eb354]
jb 0x1016e162
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.101452c0
mov ecx, dword [esp + 0x38]
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x2c]
movss dword [ecx + 0x2e7c], xmm1
movss dword [ecx + 0x2e80], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2e84], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2e8c], eax
jmp 0x1016e1cc
test edx, 0x10000000
je 0x1016e1cc
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x2c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x17], 0
test al, 0x20
jne 0x1016e401
cmp dword [esp + 0x104], 0x10000
jne 0x1016e1f5
movss xmm0, dword [esp + 0xac]
jmp 0x1016e1fe
movss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x50]
call fcn.10150df0
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x48], ecx
test eax, 0x100000
jne 0x1016e22d
test eax, 0x700000
jne 0x1016e271
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1016b950
test al, al
je 0x1016e269
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x1c10], 0
je 0x1016e25f
cmp byte [eax + 0x1c1d], 0
mov byte [esp + 0x17], 1
je 0x1016e264
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 1
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
test eax, 0x200000
jne 0x1016e27f
test eax, 0x700000
jne 0x1016e29a
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1016b950
or byte [esp + 0x16], al
mov eax, dword [esp + 0x20]
test eax, 0x400000
jne 0x1016e2a8
test eax, 0x700000
jne 0x1016e2c2
mov eax, dword [esp + 0x48]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1016b950
or byte [esp + 0x16], al
cmp byte [esp + 0x17], 0
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1bdc]
mov ecx, dword [edx + 0x1c0]
mov eax, dword [edx + 0x1c8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b8], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1c0], eax
mov eax, dword [esp + 0x20]
je 0x1016e401
xorps xmm2, xmm2
test eax, 0x8000000
je 0x1016e404
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1016e33e
movss xmm6, dword [0x101eb704]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1016e35b
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x101eb6e8]
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 [0x101eb20c]
movaps xmm7, xmm1
mulss xmm1, dword [0x101eb4a0]
divss xmm7, xmm0
addss xmm1, dword [0x101eb20c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x101ebc40]
comiss xmm2, xmm3
jb 0x1016e404
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm2
jbe 0x1016e404
comiss xmm2, xmm4
jb 0x1016e3d9
movss xmm1, dword [esp + 0x68]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1016e3d5
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm2, dword [0x101eb2e4]
jmp 0x1016e3ef
mov eax, dword [esp + 0x20]
comiss xmm2, xmm7
jb 0x1016e404
movss xmm1, dword [esp + 0x4c]
movaps xmm2, xmm4
mulss xmm1, dword [0x101eb2e4]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.101452c0
mov eax, dword [esp + 0x20]
xorps xmm2, xmm2
cmp byte [esp + 0x16], 0
je 0x1016e5a7
test eax, 0x8000000
je 0x1016e535
movss xmm0, dword [edi + 4]
xorps xmm5, xmm5
movss xmm3, dword [edi + 8]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0x6c], xmm7
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x64], xmm3
jbe 0x1016e459
movss xmm5, dword [0x101eb704]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x68], xmm4
jbe 0x1016e482
movss xmm0, dword [0x101eb6e8]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x68], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x38]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2e84]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x101eb4a0]
addss xmm0, dword [0x101eb20c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x101eb20c]
andps xmm1, xmmword [0x101ebc40]
divss xmm3, xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x4c], xmm3
cmp eax, dword [edi]
jne 0x1016e5ab
mov eax, dword [ecx + 0x2e88]
cmp eax, dword [edi + 4]
jne 0x1016e5ab
mov eax, dword [ecx + 0x2e8c]
cmp eax, dword [edi + 8]
jne 0x1016e5ab
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1016e518
movss xmm0, dword [ecx + 0x2e7c]
movss dword [esp + 0x2c], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1016e5ab
movss xmm0, dword [ecx + 0x2e80]
movss dword [esp + 0x4c], xmm0
jmp 0x1016e5ab
test eax, 0x10000000
je 0x1016e5a7
movss xmm0, dword [edi]
lea eax, [esp + 0xb0]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x98]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x94]
push eax
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x6c], xmm2
call fcn.101452c0
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x64], xmm0
mov ecx, dword [esp + 0x38]
movss xmm2, dword [ecx + 0x1560]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x101eb354]
jbe 0x1016e5c8
xorps xmm1, xmm1
jmp 0x1016e5cf
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x101eb62c]
mov dword [esp + 0x84], 0x3f800000
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x88], 0x3f800000
addss xmm1, dword [0x101eb2e4]
mov dword [esp + 0x8c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x5c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x48], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x120], ecx
or eax, 0x808080
mov dword [esp + 0x138], ecx
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x84]
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 + 0x88]
mov dword [esp + 0x134], eax
lea eax, [esp + 0x8c]
push eax
call fcn.101452c0
movss xmm2, dword [esp + 0x84]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm3, dword [0x101eb354]
jbe 0x1016e6ce
xorps xmm1, xmm1
jmp 0x1016e6d5
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [0x101eb62c]
movss xmm5, dword [0x101eb2e4]
movss xmm4, dword [esp + 0x88]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1016e707
xorps xmm1, xmm1
jmp 0x1016e70e
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm4, dword [esp + 0x8c]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1016e732
xorps xmm1, xmm1
jmp 0x1016e739
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm4, dword [esp + 0x90]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm4
jbe 0x1016e75a
xorps xmm1, xmm1
jmp 0x1016e761
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm4, dword [esp + 0x6c]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
comiss xmm0, xmm4
mov dword [esp + 0xb0], eax
jbe 0x1016e789
xorps xmm1, xmm1
jmp 0x1016e790
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm4, dword [esp + 0xa4]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1016e7b2
xorps xmm1, xmm1
jmp 0x1016e7b9
movaps xmm1, xmm3
minss xmm1, xmm4
movss xmm4, dword [esp + 0x64]
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1016e7da
xorps xmm1, xmm1
jmp 0x1016e7e1
movaps xmm1, xmm3
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
mov eax, dword [esp + 0x38]
movss xmm4, dword [eax + 0x1560]
comiss xmm0, xmm4
jbe 0x1016e805
xorps xmm1, xmm1
jmp 0x1016e80c
movaps xmm1, xmm3
minss xmm1, xmm4
mov eax, dword [esp + 0x20]
mulss xmm1, xmm2
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
mov dword [esp + 0xa4], edx
test eax, 0x4000000
je 0x1016f1d4
movss xmm0, dword [esp + 0x60]
movaps xmm4, xmm5
movss xmm2, dword [esp + 0xbc]
mov eax, 0x2aaaaaab
divss xmm4, xmm0
mov esi, dword [esp + 0x28]
addss xmm2, xmm0
cvttss2si ecx, xmm0
mulss xmm2, xmm5
imul ecx
movss dword [esp + 0xf4], xmm4
movss dword [esp + 0x10c], xmm2
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x64], eax
movd xmm1, eax
lea eax, [esp + 0xc0]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm3
divss xmm0, dword [0x101eb4a0]
divss xmm1, dword [0x101eb4a0]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x101eb45c]
mulss xmm1, dword [0x101eb45c]
subss xmm0, xmm4
addss xmm1, xmm4
movaps xmm3, xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x78], xmm1
call fcn.10159a40
movss xmm0, dword [esp + 0xb8]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x50]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10158520
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.101b5030
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x80], xmm0
cvtps2pd xmm0, xmm1
call fcn.101b62b0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x6c]
cvtps2pd xmm0, xmm0
call fcn.101b5030
movss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xbc]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm1
call fcn.101b62b0
movss xmm4, dword [esp + 0x3c]
xorps xmm5, xmm5
movss xmm7, dword [esp + 0xf8]
movss xmm6, dword [esp + 0x80]
cvtsd2ss xmm5, xmm0
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 0x20]
movss xmm3, dword [0x101eb354]
subss xmm4, xmm6
mulss xmm5, dword [esp + 0xbc]
lea eax, [eax + eax*4]
mov ecx, dword [esp + ecx*4 + 0x120]
lea eax, [edx + eax*4]
addss xmm5, dword [esp + 0xe4]
movaps xmm0, xmm4
mulss xmm0, xmm4
subss xmm5, xmm7
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [esp + 0xf8], xmm0
mov dword [esp + 0x3c], eax
lea esi, [esp + 0x124]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x6c], eax
movzx eax, cl
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + eax*4]
mov eax, ecx
mov esi, dword [esp + 0x28]
shr eax, 0x10
movzx eax, al
sub eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x3c]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x98]
mov dword [esp + 0x108], ecx
cmp edx, edi
jae 0x1016eb96
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
nop dword [eax]
movss xmm1, dword [edx]
movaps xmm0, xmm4
movss xmm2, dword [edx + 4]
subss xmm1, xmm6
subss xmm2, xmm7
mulss xmm0, xmm1
mulss xmm2, xmm5
addss xmm2, xmm0
xorps xmm0, xmm0
mulss xmm2, dword [esp + 0xf8]
comiss xmm0, xmm2
jbe 0x1016eb06
xorps xmm1, xmm1
jmp 0x1016eb0d
movaps xmm1, xmm3
minss xmm1, xmm2
movd xmm2, dword [esp + 0x18]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
mulss xmm0, xmm1
addss xmm0, xmm2
movd xmm2, dword [esp + 0x6c]
cvtdq2ps xmm2, xmm2
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x108]
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x98]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x94]
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x1016ead0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
movss xmm2, dword [esp + 0x10c]
inc eax
movss xmm4, dword [esp + 0xf4]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x64], eax
cmp eax, 6
jl 0x1016e8a2
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm0
mulss xmm0, dword [0x101eb45c]
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
call fcn.101b5030
movss xmm1, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.101b62b0
cmp byte [esp + 0x27], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0xbc]
addss xmm3, dword [esp + 0x60]
movss xmm1, dword [esp + 0xb8]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x18]
mulss xmm3, xmm2
mulss xmm0, dword [0x101eb2e4]
mulss xmm3, dword [0x101eb2e4]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x3c], xmm2
addss xmm3, dword [esp + 0xe4]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm3
je 0x1016ec6a
mulss xmm1, dword [0x101eb2f8]
jmp 0x1016ec72
mulss xmm1, dword [0x101eb2ec]
movaps xmm0, xmm1
movss dword [esp + 0xb8], xmm1
divss xmm0, dword [0x101eb380]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1016ec96
mov esi, 9
jmp 0x1016eca0
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x50]
push esi
push dword [esp + 0xb4]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1015a7f0
movss xmm2, dword [esp + 0xb8]
lea eax, [esp + 0x50]
addss xmm2, dword [0x101eb354]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0xa8]
push eax
call fcn.1015a710
movss xmm2, dword [esp + 0xb8]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x50]
push esi
push eax
call fcn.1015a710
movss xmm4, dword [esp + 0x18]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x3c]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x70]
movaps xmm0, xmm5
mov eax, dword [0x103d8bec]
mulss xmm0, xmm1
movaps xmm3, xmm5
mulss xmm3, dword [esp + 0x70]
movss xmm7, dword [esp + 0xe4]
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 + 0xb4]
movss dword [esp + 0x18], xmm2
addss xmm3, xmm7
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x74], xmm3
movss xmm3, dword [esp + 0xe0]
movaps xmm2, xmm3
mulss xmm3, xmm5
mulss xmm2, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xb4]
addss xmm0, xmm3
addss xmm1, xmm6
addss xmm0, xmm7
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm5
mulss xmm1, xmm4
subss xmm2, xmm0
movss xmm0, dword [eax + 0x1980]
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm3
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xfc], xmm1
movss xmm0, dword [eax + 0x1984]
mov ecx, edi
push 6
push 6
movss dword [esp + 0x88], xmm0
call fcn.101582b0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x6c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x80]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0xb0]
movss xmm6, dword [esp + 0x94]
movss xmm5, dword [esp + 0x98]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm7, dword [esp + 0xa8]
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 + 0x5c]
mov esi, dword [esp + 0xe8]
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 + 0xa0], 0xff000000
je 0x1016f146
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov edi, dword [eax + 4]
mov dword [esp + 0x64], eax
cmp edx, edi
jne 0x1016f02a
inc edx
mov dword [esp + 0x3c], edx
test edi, edi
je 0x1016f014
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x64]
sar ecx, 1
add ecx, edi
jmp 0x1016f019
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100b7b20
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x28]
add eax, 0x54
mov dword [esp + 0x60], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x1016f087
lea ecx, [edx + 1]
test edi, edi
je 0x1016f06b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1016f070
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.100b7b20
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
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 + 0x60]
mov eax, dword [esp + 0x28]
add eax, 0x54
mov dword [esp + 0x60], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x1016f0e0
lea ecx, [edx + 1]
test edi, edi
je 0x1016f0c8
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1016f0cd
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.100b7b20
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0xa8]
inc dword [eax]
push dword [eax]
push dword [edi + 0x5c]
call fcn.10158520
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x6c]
movss xmm5, dword [esp + 0x98]
movss xmm6, dword [esp + 0x94]
mov dword [edi + 0x54], 0
movss xmm1, dword [0x101eb354]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x68]
comiss xmm0, xmm2
jbe 0x1016f164
xorps xmm7, xmm7
jmp 0x1016f16b
movaps xmm7, xmm1
minss xmm7, xmm2
movss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1016f17b
xorps xmm1, xmm1
jmp 0x1016f17f
minss xmm1, xmm2
subss xmm3, dword [esp + 0x9c]
subss xmm4, dword [esp + 0xa8]
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [esp + 0x9c]
addss xmm4, dword [esp + 0xa8]
subss xmm6, xmm3
subss xmm5, xmm4
mulss xmm6, xmm7
mulss xmm5, xmm7
addss xmm6, xmm3
addss xmm5, xmm4
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x44], xmm5
jmp 0x1016f554
test eax, 0x2000000
je 0x1016f562
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x48]
addss xmm1, xmm2
mov eax, dword [esp + 0xb0]
addss xmm0, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x24], xmm1
lea eax, [esp + 0xcc]
movss xmm1, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
addss xmm1, xmm2
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0xd4], xmm0
push eax
movss dword [esp + 0x78], xmm1
movss dword [esp + 0xdc], xmm1
call fcn.1015a480
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xc0]
movss xmm0, dword [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0xd4], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x74]
push eax
movss dword [esp + 0xdc], xmm0
call fcn.1015a480
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x54]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x60]
movss xmm3, dword [esp + 0x70]
movss dword [esp + 0x74], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x74]
call fcn.10146a20
movss xmm2, dword [esp + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm1, dword [0x101eb354]
jbe 0x1016f2d4
xorps xmm3, xmm3
jmp 0x1016f2db
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x30]
movss xmm5, dword [esp + 0x50]
movss xmm4, dword [0x101eb2e4]
movaps xmm2, xmm5
mulss xmm3, xmm6
movss xmm7, dword [0x101eb3f8]
addss xmm2, xmm7
addss xmm3, xmm5
addss xmm5, xmm6
addss xmm3, xmm4
subss xmm5, xmm7
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
jbe 0x1016f32a
movss dword [esp + 0x40], xmm2
jmp 0x1016f33d
comiss xmm3, xmm5
jbe 0x1016f337
movss dword [esp + 0x40], xmm5
jmp 0x1016f33d
movss dword [esp + 0x40], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x68]
comiss xmm0, xmm2
jbe 0x1016f350
xorps xmm1, xmm1
jmp 0x1016f354
minss xmm1, xmm2
movss xmm3, dword [esp + 0x34]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x1016f38f
movss dword [esp + 0x44], xmm1
jmp 0x1016f3a2
comiss xmm2, xmm0
jbe 0x1016f39c
movss dword [esp + 0x44], xmm0
jmp 0x1016f3a2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x124]
movaps xmm1, xmm6
mov esi, dword [esp + 0x28]
divss xmm1, dword [0x101eb4a0]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x84], xmm2
addss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0xc0], xmm0
mov eax, dword [eax + ecx*4]
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 + 0x98]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xa0], xmm0
call fcn.1015a480
movss xmm1, dword [esp + 0x3c]
lea eax, [esp + 0x124]
movss xmm3, dword [esp + 0x34]
mov ecx, edi
cmp ecx, 6
jl 0x1016f3e4
movss xmm3, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x34]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x7c]
movaps xmm0, xmm2
movss dword [esp + 0x70], xmm3
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x74], xmm2
movss xmm2, dword [esp + 0x74]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x70]
movss xmm3, dword [esp + 0x50]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x54]
call fcn.10146a20
mov esi, dword [esp + 0xe8]
mov ecx, dword [esp + 0x28]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x101eb354]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x101eb354]
movss xmm5, dword [esp + 0x54]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x30]
movss xmm4, dword [esp + 0x50]
movss dword [esp + 0x70], xmm2
addss xmm0, dword [esp + 0x34]
movss xmm2, dword [esp + 0x70]
addss xmm0, dword [0x101eb2e4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [0x101eb3f8]
movss xmm3, dword [esp + 0x74]
call fcn.1016cc60
xorps xmm0, xmm0
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0x100]
cmp byte [esp + 0x1f], 0
je 0x1016f57c
movss xmm1, dword [0x101eb4bc]
movss dword [esp + 0xec], xmm1
jmp 0x1016f584
movss xmm1, dword [0x101eb4a0]
test edx, 0xff000000
je 0x1016f5cb
comiss xmm0, xmm1
jae 0x1016f5cb
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x40]
push 0xb
push 0
push eax
movaps xmm2, xmm1
call fcn.101599c0
mov eax, dword [esp + 0x28]
mov ecx, eax
push dword [esp + 0xa4]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10159250
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
jmp 0x1016f5cf
mov eax, dword [esp + 0x28]
test dword [esp + 0xa0], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xec]
movaps xmm2, xmm1
addss xmm2, dword [0x101eb354]
je 0x1016f649
comiss xmm0, xmm2
jae 0x1016f649
subss xmm2, dword [0x101eb2e4]
push 0xb
push 0
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.101599c0
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0xa8]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10158520
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xec]
mov dword [eax + 0x54], 0
test dword [esp + 0x48], 0xff000000
je 0x1016f69d
comiss xmm0, xmm1
jae 0x1016f69d
subss xmm1, dword [0x101eb2e4]
push 0xb
push 0
lea ecx, [esp + 0x48]
push ecx
movaps xmm2, xmm1
mov ecx, eax
call fcn.101599c0
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x50]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10158520
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
cmp dword [esp + 0x104], 0x10000
jne 0x1016f861
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1016f6c3
movss dword [esp + 0x5c], xmm1
jmp 0x1016f6d5
movss xmm0, dword [0x101eb354]
minss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss xmm3, dword [esp + 0xac]
lea ecx, [esp + 0xc0]
movss xmm0, dword [esp + 0x34]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x7c]
movss dword [esp + 0x88], xmm0
xor edx, edx
addss xmm0, dword [esp + 0x30]
push 0
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x90], xmm2
subss xmm2, xmm3
movss xmm3, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x90]
movss dword [esp + 0x94], xmm0
movss xmm5, dword [esp + 0x94]
mulss xmm2, dword [0x101eb2e4]
push ecx
mov ecx, eax
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm1
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x8c]
call fcn.1015dc70
mov ecx, dword [esp + 0xa4]
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.1015a480
movss xmm1, dword [esp + 0x84]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x88]
movss xmm3, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x90]
call fcn.10146a20
movss xmm1, dword [0x101eb354]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x28]
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, xmm1
movss xmm5, dword [esp + 0x54]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, xmm1
movss xmm4, dword [esp + 0x50]
subss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x70], xmm0
mulss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [0x101eb3f8]
addss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x70]
addss xmm1, dword [0x101eb2e4]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x74], xmm1
movss xmm1, dword [eax + 0x1560]
movss xmm3, dword [esp + 0x74]
call fcn.1016cc60
call fcn.10151100
cmp byte [esp + 0x16], 0
mov esi, dword [0x103d8bec]
je 0x1016f8f6
xor ecx, ecx
lea edx, [esp + 0x13c]
cmp dword [esp + 0xdc], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1016f8a7
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1016f8ac
add edx, 4
add edi, 4
sub ecx, 4
jae 0x1016f896
cmp ecx, 0xfffffffc
je 0x1016f8f1
mov al, byte [edx]
cmp al, byte [edi]
jne 0x1016f8d9
cmp ecx, 0xfffffffd
je 0x1016f8f1
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x1016f8d9
cmp ecx, 0xfffffffe
je 0x1016f8f1
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x1016f8d9
cmp ecx, 0xffffffff
je 0x1016f8f1
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x1016f8f1
mov eax, dword [esi + 0x1bdc]
mov word [esi + 0x1c20], 0x101
or dword [eax + 0x11c], 4
jmp 0x1016f8f6
mov byte [esp + 0x16], 0
mov ecx, dword [esi + 0x1bdc]
mov al, byte [esp + 0x16]
pop edi
pop esi
dec dword [ecx + 0xc0]
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret 8