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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x102070c0]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x103501f8]
mov dword [esp + 0x88], eax
mov dword [esp + 0xd0], edx
push esi
mov eax, dword [ecx + 0x1bec]
push edi
mov dword [esp + 0x30], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x1bec]
mov dword [esp + 0xd4], edx
cmp byte [edx + 0xab], 0
je 0x10178956
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret 8
test byte [ecx + 0x1cd4], 1
mov eax, dword [edx + 0x2c4]
mov dword [esp + 0x28], eax
je 0x10178973
movss xmm1, dword [ecx + 0x1cd8]
jmp 0x1017897b
movss xmm1, dword [edx + 0x1f0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x101789bd
cmp dword [edx + 0x1d0], 0
movss xmm0, dword [edx + 0x288]
jne 0x1017899d
cmp dword [ecx + 0x1f2c], 0
je 0x101789a5
movss xmm0, dword [edx + 0x258]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x101f87f8]
maxss xmm1, xmm0
lea eax, [edx + 0xe0]
mov dword [ecx + 0x1cd4], 0
mov ecx, dword [eax]
xor edx, edx
mov dword [esp + 0xa0], eax
mov eax, dword [eax + 8]
cvttss2si esi, xmm1
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x44]
call fcn.101501c0
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x48], eax
cmp ecx, eax
jne 0x10178a34
inc ecx
test eax, eax
je 0x10178a1b
cdq
sub eax, edx
mov edx, dword [esp + 0xa0]
sar eax, 1
add eax, dword [esp + 0x48]
jmp 0x10178a20
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100be2b0
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], edi
inc dword [edx]
call fcn.1015c5d0
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [esp + 0xd8]
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xc8], ecx
test cl, 8
jne 0x10178a7b
mov edx, ecx
mov ecx, edi
call fcn.1017c560
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x30]
test ecx, 0x6000000
jne 0x10178aa7
mov eax, dword [edx + 0x2e88]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xc8]
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x10178ade
mov eax, dword [edx + 0x2e88]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xd8]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10178af4
mov eax, dword [edx + 0x2e88]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x15b0]
and eax, 2
movd xmm4, esi
mov dword [esp + 0xc8], eax
and ecx, 0x10002
mov eax, dword [esp + 0xd4]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xf4], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
mov eax, dword [0x103501f8]
movss dword [esp + 0x2c], 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 + 0x1988]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x70], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xc8], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x101f8734]
cvttss2si esi, xmm0
mov dword [esp + 0xf0], esi
call fcn.1019bac0
movss xmm1, dword [esp + 0x30]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x101f878c]
mulss xmm3, dword [0x101f870c]
movaps xmm0, xmm4
movss dword [esp + 0x4c], xmm4
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xa8], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x70]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101f86f4]
movaps xmm1, xmm2
mulss xmm3, dword [0x101f878c]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x50]
movss dword [esp + 0xac], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xe8], xmm3
movss dword [esp + 0xb0], xmm3
subss xmm1, xmm0
movss xmm3, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x101f8bbc]
movaps xmm2, xmm1
mov eax, dword [esp + 0x18]
mulss xmm2, dword [0x101f8bd0]
mov dword [esp + 0x6c], 0
movss xmm4, dword [edi + 4]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101f87dc]
movss dword [esp + 0xcc], xmm2
movss dword [esp + 0x7c], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [0x101f8970]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x60], xmm2
movss dword [esp + 0xd4], xmm0
test eax, 0x8000000
je 0x10178e6d
comiss xmm2, xmm4
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm4
movaps xmm7, xmm2
jbe 0x10178d92
movss xmm6, dword [0x101f8bd4]
movaps xmm5, xmm2
movaps xmm7, xmm4
comiss xmm5, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x60], xmm2
jbe 0x10178dbb
movss xmm0, dword [0x101f8bb8]
movaps xmm2, xmm5
subss xmm0, xmm6
movss dword [esp + 0x60], xmm2
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x30]
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 [0x101f8970]
addss xmm0, dword [0x101f86ac]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x101f86ac]
andps xmm3, xmmword [0x101f9200]
divss xmm4, xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x44], xmm4
cmp eax, dword [edi]
jne 0x10178ec5
mov eax, dword [ecx + 0x2e98]
cmp eax, dword [edi + 4]
jne 0x10178ec5
mov eax, dword [ecx + 0x2e9c]
cmp eax, dword [edi + 8]
jne 0x10178ec5
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x10178e54
movss xmm0, dword [ecx + 0x2e8c]
movss dword [esp + 0x20], xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10178ec5
movss xmm0, dword [ecx + 0x2e90]
movss dword [esp + 0x44], xmm0
jmp 0x10178ec5
test eax, 0x10000000
je 0x10178ec5
lea eax, [esp + 0xa4]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x90]
movaps xmm0, xmm3
lea ecx, [esp + 0x8c]
call fcn.10150870
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x5c], xmm0
mov ecx, dword [0x103501f8]
mov byte [esp + 0xe], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x1bec]
mov edx, dword [eax + 0x1ec]
or edx, 8
mov dword [eax + 0x1ec], edx
mov dword [esp + 0x48], edx
lea edx, [ecx + 0x1d18]
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], edx
cmp dword [edx], ecx
jne 0x10178f37
test ecx, ecx
je 0x10178f17
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, ecx
jmp 0x10178f1c
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100be2b0
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x1017959c
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
push 0
mov ecx, 0x101f6b18
movss dword [esp + 0x40], xmm1
addss xmm0, dword [eax + 0x15b0]
addss xmm0, dword [esp + 0x74]
movss dword [esp + 0x3c], xmm0
call fcn.1016c010
mov ecx, dword [0x103501f8]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x10179428
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x10179428
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x3d0]
subss xmm0, dword [esp + 0xf0]
movss xmm1, dword [eax + 0x3cc]
subss xmm1, dword [esp + 0xe8]
movss xmm2, dword [eax + 0x128]
movss xmm4, dword [eax + 0x12c]
subss xmm2, dword [esp + 0xe8]
subss xmm4, dword [esp + 0xf0]
movaps xmm3, xmm0
movss dword [esp + 0xec], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x48], xmm1
movss xmm1, dword [0x101f87f8]
addss xmm3, xmm0
movss dword [esp + 0xf8], xmm2
movss xmm0, dword [esp + 0xac]
subss xmm0, xmm1
movss dword [esp + 0xfc], xmm4
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x101790c2
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x101790c2
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call fcn.101c0890
movss xmm2, dword [0x101f891c]
xorps xmm0, xmm0
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x101f878c]
comiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
jbe 0x101790ba
addss xmm1, dword [0x101f87f8]
movss dword [esp + 0x20], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x101790d4
mov al, byte [esp + 0xe]
movss xmm2, dword [0x101f891c]
movss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mov byte [esp + 0x1f], al
xorps xmm0, xmmword [0x101f9230]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call fcn.101c1210
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x38]
call fcn.101c2490
movss xmm3, dword [esp + 0x48]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xec]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x10]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x68]
mulss xmm1, dword [esp + 0x10]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xdc], xmm5
movss xmm0, dword [esp + 0xcc]
subss xmm0, dword [esp + 0x94]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xd0]
movaps xmm5, xmm1
movaps xmm2, xmm4
subss xmm5, xmm1
subss xmm2, xmm1
movss dword [esp + 0xec], xmm0
subss xmm6, dword [esp + 0xd0]
movss dword [esp + 0x48], xmm5
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x34], xmm6
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xcc]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xcc]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1017941a
movss xmm0, dword [esp + 0x94]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xd0]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1017941a
movss xmm6, dword [esp + 0xf8]
movss xmm1, dword [esp + 0xfc]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xdc]
mulss xmm1, dword [esp + 0x10]
mulss xmm6, dword [esp + 0xdc]
subss xmm7, xmm0
movss xmm4, dword [esp + 0xd0]
addss xmm6, xmm1
movaps xmm2, xmm7
movss dword [esp + 0x38], xmm7
subss xmm2, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x3c], xmm6
subss xmm0, dword [esp + 0x94]
movaps xmm1, xmm2
mulss xmm2, dword [esp + 0x74]
mulss xmm1, dword [esp + 0xec]
mulss xmm0, dword [esp + 0x48]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xcc]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x34]
seta cl
subss xmm2, xmm0
comiss xmm5, xmm2
seta al
cmp al, cl
jne 0x1017931e
movss xmm0, dword [esp + 0x94]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x68]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x68]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10179359
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x104]
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x70]
call fcn.1014fee0
movss xmm4, dword [esp + 0xd0]
movaps xmm6, xmm1
movss dword [esp + 0x3c], xmm1
movaps xmm7, xmm0
movss dword [esp + 0x38], xmm0
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x94]
subss xmm6, xmm5
subss xmm7, dword [esp + 0x68]
movaps xmm3, xmm4
subss xmm1, xmm5
subss xmm3, dword [esp + 0x68]
movss xmm4, dword [esp + 0xcc]
subss xmm4, xmm5
movaps xmm2, xmm3
mulss xmm6, xmm3
movaps xmm0, xmm4
mulss xmm2, xmm1
mulss xmm0, xmm3
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x101f87f8]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm2
divss xmm6, xmm2
subss xmm5, xmm0
movss xmm0, dword [0x101f86c4]
movss dword [esp + 0x44], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x101793eb
movaps xmm2, xmm0
movss dword [esp + 0x60], xmm0
jmp 0x101793f8
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x60], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x1017940e
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x44], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xe], 1
jmp 0x10179422
mov al, byte [esp + 0xe]
mov byte [esp + 0x1f], al
mov ecx, dword [0x103501f8]
mov eax, dword [esp + 0x18]
test al, 8
jne 0x10179497
cmp byte [ecx + 0x42b], 0
mov esi, dword [ecx + 0x1bec]
je 0x10179497
mov ecx, 8
call fcn.10152d00
test al, al
je 0x10179497
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.101501c0
mov ecx, eax
mov eax, dword [0x103501f8]
cmp dword [eax + 0x1c24], ecx
jne 0x1017947e
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x1017948d
mov byte [eax + 0x1c60], 1
mov edx, 1
call fcn.1015d1c0
mov ecx, dword [0x103501f8]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0xf4], 0x10000
mov esi, dword [esp + 0xe4]
jne 0x10179812
mov eax, dword [ecx + 0x1bec]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0xa0]
push 0
movss dword [esp + 0x80], xmm4
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm3
movss xmm1, dword [eax + 0x104]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x108]
maxss xmm0, xmm3
movss dword [eax + 0x104], xmm1
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x7c], xmm0
call fcn.1016c010
mov ecx, dword [0x103501f8]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x10179812
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x10179812
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x101f87f8]
subss xmm0, xmm1
movss xmm3, dword [eax + 0x12c]
subss xmm3, dword [esp + 0x2c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x101797fa
xorps xmm4, xmm4
jmp 0x10179801
test eax, 0x2000000
je 0x10179497
movss xmm0, dword [esp + 0x24]
lea edx, [esp + 0x78]
push 0
mov ecx, 0x101f6b1c
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x80], xmm0
call fcn.1016c010
mov ecx, dword [0x103501f8]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x1017966b
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x1017966b
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x101f87f8]
subss xmm4, xmm1
movss xmm3, dword [eax + 0x128]
subss xmm3, dword [esp + 0x50]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x10179626
movss dword [esp + 0x44], xmm0
jmp 0x10179633
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x44], xmm2
movss xmm2, dword [eax + 0x12c]
subss xmm2, dword [esp + 0x2c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1017964f
xorps xmm3, xmm3
jmp 0x10179656
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xe], al
movss dword [esp + 0x60], xmm0
jmp 0x1017966f
mov al, byte [esp + 0xe]
mov byte [esp + 0x17], al
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
test al, 8
jne 0x101796ec
cmp byte [ecx + 0x42b], 0
mov esi, dword [ecx + 0x1bec]
je 0x101796ec
mov ecx, 8
call fcn.10152d00
test al, al
je 0x101796e6
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.101501c0
mov ecx, eax
mov eax, dword [0x103501f8]
cmp dword [eax + 0x1c24], ecx
jne 0x101796cd
mov dword [eax + 0x1c28], ecx
cmp dword [eax + 0x1c5c], ecx
jne 0x101796dc
mov byte [eax + 0x1c60], 1
mov edx, 1
call fcn.1015d1c0
mov ecx, dword [0x103501f8]
mov eax, dword [ecx + 0x1bec]
lea edx, [esp + 0x78]
movss xmm0, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x2c]
push 0
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, 0x101f6b48
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 + 0x74]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x80], xmm0
call fcn.1016c010
mov ecx, dword [0x103501f8]
mov edx, dword [ecx + 0x1c24]
test edx, edx
je 0x1017949d
mov al, byte [esp + 0xe]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 0x1bec]
cmp edx, dword [eax + 0x138]
jne 0x1017949d
mov eax, dword [esp + 0x30]
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x2c]
movaps xmm0, xmm4
movss xmm1, dword [0x101f87f8]
movss xmm2, dword [eax + 0x12c]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x101797dd
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xf]
movss dword [esp + 0x20], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x17], al
jmp 0x101794a9
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xe], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [ecx + 0x1bec]
dec dword [ecx + 0x1d18]
mov eax, dword [0x103501f8]
mov ecx, dword [ecx + 0x1d18]
mov eax, dword [eax + 0x1d20]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1ec], eax
mov edx, dword [esp + 0x18]
test edx, 0x100
jne 0x10179862
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.1015c330
call fcn.1015c5d0
mov edx, dword [esp + 0x18]
test dl, dl
js 0x101798c8
mov ecx, dword [esp + 0x40]
cmp ecx, 0xffffffff
jae 0x101798c8
nop
mov al, byte [ecx]
mov byte [esp + 0xf], al
test al, al
je 0x10179889
cmp al, 0x23
jne 0x10179883
cmp byte [ecx + 1], al
je 0x10179889
inc ecx
cmp ecx, 0xffffffff
jb 0x10179870
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x101798c8
test edx, 0x100
je 0x101798b9
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x15b0]
call fcn.1015c330
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1016ad00
mov edx, dword [esp + 0x18]
test edx, 0x100
jne 0x10179b11
mov ecx, dword [0x103501f8]
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x1ec]
or esi, 0x10
mov dword [eax + 0x1ec], esi
lea eax, [ecx + 0x1d18]
mov dword [esp + 0x74], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x10], esi
mov esi, dword [eax]
mov dword [esp + 0x40], eax
cmp esi, dword [eax + 4]
jne 0x10179947
mov eax, dword [esp + 0x10]
lea edx, [esi + 1]
mov dword [esp + 0x34], edx
test eax, eax
je 0x10179929
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [esp + 0x10]
jmp 0x1017992e
mov eax, 8
cmp eax, edx
lea ecx, [ecx + 0x1d18]
cmovg edx, eax
push edx
call fcn.100be2b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x40]
inc dword [eax]
test dl, 2
je 0x10179968
movss xmm1, dword [0x101f87f8]
jmp 0x1017996d
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xe4]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
test dl, dl
jns 0x101799b5
push str.Current
call fcn.1016b3b0
mov edx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x70]
and edx, 0x180e0040
movaps xmm0, xmm1
mov dword [esp + 0xdc], edx
mulss xmm0, dword [0x101f8918]
mov ecx, str.current
push edx
lea edx, [esp + 0x7c]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm1, dword [esp + 0x40]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x3c]
call fcn.1017b2f0
cmp dword [esp + 0x90], 0
je 0x10179ae1
push str.Original
call fcn.1016b3b0
mov eax, dword [esp + 0x1c]
add esp, 4
test al, 2
mov eax, dword [esp + 0x90]
je 0x10179a41
movss xmm1, dword [0x101f87f8]
jmp 0x10179a46
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x100]
push dword [esp + 0xdc]
movss dword [esp + 0x104], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x110], xmm1
movss xmm1, dword [esp + 0x40]
call fcn.1017b2f0
test al, al
je 0x10179ae1
xor eax, eax
cmp dword [esp + 0xc8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x94]
push edi
call fcn.1019bac0
add esp, 0xc
mov byte [esp + 0xe], 1
mov eax, dword [0x103501f8]
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.1015c700
mov edx, dword [esp + 0x18]
cmp byte [esp + 0x1f], 0
jne 0x10179b23
cmp byte [esp + 0x17], 0
je 0x10179be3
test edx, 0x8000000
je 0x10179bbb
movss xmm1, dword [esp + 0x60]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x10179b48
movaps xmm3, xmm1
jmp 0x10179b50
movss xmm3, dword [0x101f86bc]
movss xmm1, dword [esp + 0x44]
comiss xmm1, xmm0
movss xmm2, dword [0x101f86c0]
ja 0x10179b66
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x101f87f8]
jb 0x10179b79
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.10150870
mov ecx, dword [esp + 0x30]
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x20]
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
jmp 0x10179be3
test edx, 0x10000000
je 0x10179be3
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x10179e18
cmp dword [esp + 0xf4], 0x10000
jne 0x10179c0c
movss xmm0, dword [esp + 0xa0]
jmp 0x10179c15
movss xmm0, dword [esp + 0x9c]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x50]
call fcn.1015c3f0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x40], ecx
test eax, 0x100000
jne 0x10179c44
test eax, 0x700000
jne 0x10179c88
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10177390
test al, al
je 0x10179c80
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x1c24], 0
je 0x10179c76
cmp byte [eax + 0x1c32], 0
mov byte [esp + 0xf], 1
je 0x10179c7b
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10179c96
test eax, 0x700000
jne 0x10179cb1
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10177390
or byte [esp + 0xe], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10179cbf
test eax, 0x700000
jne 0x10179cd9
mov eax, dword [esp + 0x40]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10177390
or byte [esp + 0xe], al
cmp byte [esp + 0xf], 0
mov ecx, dword [0x103501f8]
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
mov eax, dword [esp + 0x18]
je 0x10179e18
xorps xmm2, xmm2
test eax, 0x8000000
je 0x10179e1b
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10179d55
movss xmm6, dword [0x101f8bd4]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10179d72
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x101f8bb8]
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 [0x101f86ac]
movaps xmm7, xmm1
mulss xmm1, dword [0x101f8970]
divss xmm7, xmm0
addss xmm1, dword [0x101f86ac]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x101f9200]
comiss xmm2, xmm3
jb 0x10179e1b
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x10179e1b
comiss xmm2, xmm4
jb 0x10179df0
movss xmm1, dword [esp + 0x60]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10179dec
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x44]
mulss xmm2, dword [0x101f878c]
jmp 0x10179e06
mov eax, dword [esp + 0x18]
comiss xmm2, xmm7
jb 0x10179e1b
movss xmm1, dword [esp + 0x44]
movaps xmm2, xmm4
mulss xmm1, dword [0x101f878c]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10150870
mov eax, dword [esp + 0x18]
xorps xmm2, xmm2
cmp byte [esp + 0xe], 0
je 0x10179fbe
test eax, 0x8000000
je 0x10179f4c
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 + 0x64], xmm7
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x5c], xmm3
jbe 0x10179e70
movss xmm5, dword [0x101f8bd4]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x60], xmm4
jbe 0x10179e99
movss xmm0, dword [0x101f8bb8]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x60], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x30]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2e94]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x101f8970]
addss xmm0, dword [0x101f86ac]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x101f86ac]
andps xmm1, xmmword [0x101f9200]
divss xmm3, xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x44], xmm3
cmp eax, dword [edi]
jne 0x10179fc2
mov eax, dword [ecx + 0x2e98]
cmp eax, dword [edi + 4]
jne 0x10179fc2
mov eax, dword [ecx + 0x2e9c]
cmp eax, dword [edi + 8]
jne 0x10179fc2
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x10179f2f
movss xmm0, dword [ecx + 0x2e8c]
movss dword [esp + 0x20], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x10179fc2
movss xmm0, dword [ecx + 0x2e90]
movss dword [esp + 0x44], xmm0
jmp 0x10179fc2
test eax, 0x10000000
je 0x10179fbe
movss xmm0, dword [edi]
lea eax, [esp + 0xa4]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x8c]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x88]
push eax
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x64], xmm2
call fcn.10150870
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x5c], xmm0
mov ecx, dword [esp + 0x30]
movss xmm2, dword [ecx + 0x1560]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x101f87f8]
jbe 0x10179fdf
xorps xmm1, xmm1
jmp 0x10179fe6
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x101f8b00]
mov dword [esp + 0x78], 0x3f800000
movss dword [esp + 0x84], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x7c], 0x3f800000
addss xmm1, dword [0x101f878c]
mov dword [esp + 0x80], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x20]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x48], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x40], eax
or ecx, 0xff0000
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x78]
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x10c], eax
mov eax, edx
or eax, 0xff
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x7c]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x80]
push eax
call fcn.10150870
movss xmm3, dword [esp + 0x78]
xorps xmm0, xmm0
comiss xmm0, xmm3
movss xmm2, dword [0x101f87f8]
jbe 0x1017a0d6
xorps xmm1, xmm1
jmp 0x1017a0dd
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x101f8b00]
movss xmm5, dword [0x101f878c]
movss xmm4, dword [esp + 0x7c]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1017a10c
xorps xmm1, xmm1
jmp 0x1017a113
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x80]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017a137
xorps xmm1, xmm1
jmp 0x1017a13e
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x84]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017a15f
xorps xmm1, xmm1
jmp 0x1017a166
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x64]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
comiss xmm0, xmm4
mov dword [esp + 0xa4], eax
jbe 0x1017a18e
xorps xmm1, xmm1
jmp 0x1017a195
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x98]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x1017a1b7
xorps xmm1, xmm1
jmp 0x1017a1be
movaps xmm1, xmm2
minss xmm1, xmm4
movss xmm4, dword [esp + 0x5c]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x1017a1df
xorps xmm1, xmm1
jmp 0x1017a1e6
movaps xmm1, xmm2
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
or ecx, eax
mov eax, dword [esp + 0x30]
movss xmm4, dword [eax + 0x1560]
comiss xmm0, xmm4
jbe 0x1017a20a
xorps xmm1, xmm1
jmp 0x1017a211
movaps xmm1, xmm2
minss xmm1, xmm4
mov eax, dword [esp + 0x18]
mulss xmm1, xmm3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
addss xmm1, xmm5
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x98], edx
test eax, 0x4000000
je 0x1017abbc
movss xmm0, dword [esp + 0x4c]
movaps xmm3, xmm5
movss xmm4, dword [esp + 0xac]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
mov esi, dword [esp + 0x28]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm5
imul ecx
movss dword [esp + 0xf8], xmm3
movss dword [esp + 0xfc], xmm4
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 + 0xec], ecx
mov dword [esp + 0x5c], eax
nop word [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xb0]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x101f8970]
divss xmm1, dword [0x101f8970]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x101f891c]
mulss xmm1, dword [0x101f891c]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.10165010
movss xmm0, dword [esp + 0xa8]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x48]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10163b50
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call fcn.101c1210
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x74], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c2490
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xf0]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call fcn.101c1210
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c2490
movss xmm3, dword [esp + 0x34]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x74]
movss xmm6, dword [esp + 0xdc]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x101f87f8]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0xac]
lea eax, [eax + eax*4]
mov ecx, dword [esp + ecx*4 + 0x100]
lea eax, [edx + eax*4]
mulss xmm0, xmm3
movaps xmm7, xmm2
addss xmm4, dword [esp + 0xf0]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x10], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x64], eax
movzx eax, cl
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + eax*4 + 0x104]
mov eax, ecx
shr eax, 0x10
movzx eax, al
sub eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x64]
mov dword [esp + 0x88], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x34]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x8c]
mov dword [esp + 0xdc], ecx
cmp edx, edi
jae 0x1017a584
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x88]
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, xmm7
comiss xmm0, xmm1
jbe 0x1017a4ef
xorps xmm2, xmm2
jmp 0x1017a4f3
minss xmm2, xmm1
movd xmm1, dword [esp + 0x10]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
shl ecx, 8
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x8c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0xdc]
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm0, xmm2
movss xmm2, dword [0x101f87f8]
addss xmm0, xmm1
cvttss2si eax, xmm0
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x88]
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x1017a4c1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
movss xmm4, dword [esp + 0xfc]
inc eax
movss xmm3, dword [esp + 0xf8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x5c], eax
cmp eax, 6
jl 0x1017a2b0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm0
mulss xmm0, dword [0x101f891c]
movss dword [esp + 0x20], xmm0
cvtps2pd xmm0, xmm0
call fcn.101c1210
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm1
call fcn.101c2490
cmp byte [esp + 0x1f], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0xac]
addss xmm3, dword [esp + 0x4c]
movss xmm1, dword [esp + 0xa8]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x10]
mulss xmm3, xmm2
mulss xmm0, dword [0x101f878c]
mulss xmm3, dword [0x101f878c]
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x34], xmm2
addss xmm3, dword [esp + 0xf0]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm3
je 0x1017a658
mulss xmm1, dword [0x101f87a0]
jmp 0x1017a660
mulss xmm1, dword [0x101f8794]
movaps xmm0, xmm1
movss dword [esp + 0xa8], xmm1
divss xmm0, dword [0x101f8828]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1017a684
mov esi, 9
jmp 0x1017a68e
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x50]
push esi
push dword [esp + 0xa8]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.10165dc0
movss xmm2, dword [esp + 0xa8]
lea eax, [esp + 0x50]
addss xmm2, dword [0x101f87f8]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x98]
push eax
call fcn.10165ce0
movss xmm2, dword [esp + 0xa8]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x48]
push esi
push eax
call fcn.10165ce0
movss xmm4, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x34]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x68]
movaps xmm0, xmm5
mov eax, dword [0x103501f8]
mulss xmm0, xmm1
movaps xmm3, xmm5
mulss xmm3, dword [esp + 0x68]
movss xmm7, dword [esp + 0xf0]
subss xmm2, xmm0
movss xmm6, dword [esp + 0xe8]
movaps xmm0, xmm4
mulss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x10], xmm2
addss xmm3, xmm7
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x6c], xmm3
movss xmm3, dword [esp + 0xd0]
movaps xmm2, xmm3
mulss xmm3, xmm5
mulss xmm2, xmm4
movaps xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xcc]
addss xmm0, xmm3
addss xmm1, xmm6
addss xmm0, xmm7
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x94]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm5
mulss xmm1, xmm4
subss xmm2, xmm0
movss xmm0, dword [eax + 0x1990]
movss dword [esp + 0x34], xmm0
addss xmm1, xmm3
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xdc], xmm2
movss dword [esp + 0x94], xmm1
movss dword [esp + 0xe0], xmm1
movss xmm0, dword [eax + 0x1994]
mov ecx, edi
push 6
push 6
movss dword [esp + 0x7c], xmm0
call fcn.101638e0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm3, dword [esp + 0x10]
movss xmm4, dword [esp + 0x64]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x74]
movss dword [eax], xmm3
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0xa4]
movss xmm6, dword [esp + 0x88]
movss xmm5, dword [esp + 0x8c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm2, dword [esp + 0x9c]
movss xmm7, dword [esp + 0x94]
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 + 0x48]
mov esi, dword [esp + 0xe4]
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 + 0x90], 0xff000000
je 0x1017ab2e
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov edi, dword [eax + 4]
mov dword [esp + 0x5c], eax
cmp edx, edi
jne 0x1017aa12
inc edx
mov dword [esp + 0x34], edx
test edi, edi
je 0x1017a9fc
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x5c]
sar ecx, 1
add ecx, edi
jmp 0x1017aa01
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.100c17a0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
add eax, 0x54
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x1017aa6f
lea ecx, [edx + 1]
test edi, edi
je 0x1017aa53
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1017aa58
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.100c17a0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
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 + 0x4c]
mov eax, dword [esp + 0x28]
add eax, 0x54
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x1017aac8
lea ecx, [edx + 1]
test edi, edi
je 0x1017aab0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1017aab5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.100c17a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe0]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
push dword [esp + 0x98]
inc dword [eax]
push dword [eax]
push dword [edi + 0x5c]
call fcn.10163b50
movss xmm3, dword [esp + 0x10]
movss xmm4, dword [esp + 0x64]
movss xmm5, dword [esp + 0x8c]
movss xmm6, dword [esp + 0x88]
mov dword [edi + 0x54], 0
movss xmm1, dword [0x101f87f8]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x60]
comiss xmm0, xmm2
jbe 0x1017ab4c
xorps xmm7, xmm7
jmp 0x1017ab53
movaps xmm7, xmm1
minss xmm7, xmm2
movss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x1017ab63
xorps xmm1, xmm1
jmp 0x1017ab67
minss xmm1, xmm2
subss xmm3, dword [esp + 0x9c]
subss xmm4, dword [esp + 0x94]
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, dword [esp + 0x9c]
addss xmm4, dword [esp + 0x94]
subss xmm6, xmm3
subss xmm5, xmm4
mulss xmm6, xmm7
mulss xmm5, xmm7
addss xmm6, xmm3
addss xmm5, xmm4
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x3c], xmm5
jmp 0x1017af29
test eax, 0x2000000
je 0x1017af37
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x40]
addss xmm1, xmm2
mov eax, dword [esp + 0xa4]
addss xmm0, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x1c], xmm1
lea eax, [esp + 0xbc]
movss xmm1, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
addss xmm1, xmm2
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0xc4], xmm0
push eax
movss dword [esp + 0x64], xmm1
movss dword [esp + 0xcc], xmm1
call fcn.10165a50
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xb0]
movss xmm0, dword [esp + 0x10]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0xc4], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x60]
push eax
movss dword [esp + 0xcc], xmm0
call fcn.10165a50
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x54]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x4c]
movss xmm3, dword [esp + 0x68]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x6c]
call fcn.10151fd0
movss xmm2, dword [esp + 0x44]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm1, dword [0x101f87f8]
jbe 0x1017acbc
xorps xmm3, xmm3
jmp 0x1017acc3
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x24]
movss xmm5, dword [esp + 0x50]
movss xmm4, dword [0x101f878c]
movaps xmm2, xmm5
mulss xmm3, xmm6
movss xmm7, dword [0x101f88b8]
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 0x1017ad12
movss dword [esp + 0x38], xmm2
jmp 0x1017ad25
comiss xmm3, xmm5
jbe 0x1017ad1f
movss dword [esp + 0x38], xmm5
jmp 0x1017ad25
movss dword [esp + 0x38], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x60]
comiss xmm0, xmm2
jbe 0x1017ad38
xorps xmm1, xmm1
jmp 0x1017ad3c
minss xmm1, xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x4c]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1017ad77
movss dword [esp + 0x3c], xmm1
jmp 0x1017ad8a
comiss xmm3, xmm0
jbe 0x1017ad84
movss dword [esp + 0x3c], xmm0
jmp 0x1017ad8a
movss dword [esp + 0x3c], xmm3
movss xmm3, dword [esp + 0x9c]
movaps xmm1, xmm6
divss xmm1, dword [0x101f8970]
mov esi, dword [esp + 0x28]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0x78], xmm3
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0xb0], xmm0
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xb8]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x94], xmm0
call fcn.10165a50
movss xmm1, dword [esp + 0x34]
mov ecx, edi
movss xmm2, dword [esp + 0x2c]
cmp ecx, 6
jl 0x1017adc2
movss xmm3, dword [esp + 0x9c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x68], xmm3
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0x6c], xmm2
movss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x54]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x68]
movss xmm3, dword [esp + 0x50]
call fcn.10151fd0
mov esi, dword [esp + 0xe4]
mov ecx, dword [esp + 0x28]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x101f87f8]
movss xmm2, dword [esp + 0x9c]
subss xmm2, dword [0x101f87f8]
movss xmm5, dword [esp + 0x54]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x24]
movss xmm4, dword [esp + 0x50]
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x68]
addss xmm0, dword [0x101f878c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [0x101f88b8]
movss xmm3, dword [esp + 0x6c]
call fcn.101786a0
xorps xmm0, xmm0
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0xd8]
cmp byte [esp + 0x17], 0
je 0x1017af51
movss xmm1, dword [0x101f898c]
movss dword [esp + 0xd4], xmm1
jmp 0x1017af59
movss xmm1, dword [0x101f8970]
test edx, 0xff000000
je 0x1017afa0
comiss xmm0, xmm1
jae 0x1017afa0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push 0xb
push 0
push eax
movaps xmm2, xmm1
call fcn.10164f90
mov eax, dword [esp + 0x28]
mov ecx, eax
push dword [esp + 0x98]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10164820
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
jmp 0x1017afa4
mov eax, dword [esp + 0x28]
test dword [esp + 0x90], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd4]
movaps xmm2, xmm1
addss xmm2, dword [0x101f87f8]
je 0x1017b01e
comiss xmm0, xmm2
jae 0x1017b01e
subss xmm2, dword [0x101f878c]
push 0xb
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.10164f90
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x98]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10163b50
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xd4]
mov dword [eax + 0x54], 0
test dword [esp + 0x40], 0xff000000
je 0x1017b072
comiss xmm0, xmm1
jae 0x1017b072
subss xmm1, dword [0x101f878c]
push 0xb
push 0
lea ecx, [esp + 0x40]
push ecx
movaps xmm2, xmm1
mov ecx, eax
call fcn.10164f90
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x48]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10163b50
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xf4], 0x10000
jne 0x1017b22a
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1017b098
movss dword [esp + 0x48], xmm1
jmp 0x1017b0aa
movss xmm0, dword [0x101f87f8]
minss xmm0, xmm2
movss dword [esp + 0x48], xmm0
movss xmm3, dword [esp + 0xa0]
lea ecx, [esp + 0xb0]
movss xmm0, dword [esp + 0x2c]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0x7c], xmm0
xor edx, edx
addss xmm0, dword [esp + 0x24]
push 0
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x84], xmm2
subss xmm2, xmm3
movss xmm3, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
movss dword [esp + 0x88], xmm0
movss xmm5, dword [esp + 0x88]
mulss xmm2, dword [0x101f878c]
push ecx
mov ecx, eax
movss dword [esp + 0xb8], xmm1
movss dword [esp + 0xbc], xmm1
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x80]
call fcn.10169210
mov ecx, dword [esp + 0x98]
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10165a50
movss xmm1, dword [esp + 0x78]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x7c]
movss xmm3, dword [esp + 0x80]
movss xmm4, dword [esp + 0x84]
call fcn.10151fd0
movss xmm1, dword [0x101f87f8]
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 + 0xa0]
subss xmm0, xmm1
movss xmm4, dword [esp + 0x50]
subss xmm1, dword [esp + 0x48]
movss dword [esp + 0x68], xmm0
mulss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [0x101f88b8]
addss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x68]
addss xmm1, dword [0x101f878c]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [eax + 0x1560]
movss xmm3, dword [esp + 0x6c]
call fcn.101786a0
call fcn.1015c700
cmp byte [esp + 0xe], 0
mov esi, dword [0x103501f8]
je 0x1017b2c0
xor ecx, ecx
lea edx, [esp + 0x11c]
cmp dword [esp + 0xc8], ecx
sete cl
lea ecx, [ecx*4 + 0xc]
sub ecx, 4
jb 0x1017b271
nop
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1017b276
add edx, 4
add edi, 4
sub ecx, 4
jae 0x1017b260
cmp ecx, 0xfffffffc
je 0x1017b2bb
mov al, byte [edx]
cmp al, byte [edi]
jne 0x1017b2a3
cmp ecx, 0xfffffffd
je 0x1017b2bb
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x1017b2a3
cmp ecx, 0xfffffffe
je 0x1017b2bb
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x1017b2a3
cmp ecx, 0xffffffff
je 0x1017b2bb
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x1017b2bb
mov eax, dword [esi + 0x1bec]
mov word [esi + 0x1c35], 0x101
or dword [eax + 0x13c], 4
jmp 0x1017b2c0
mov byte [esp + 0xe], 0
mov ecx, dword [esi + 0x1bec]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret 8