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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x1003900c]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [0x10039018]
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [edx + 0x1734]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x58], edx
mov byte [eax + 0x86], 1
mov esi, dword [edx + 0x1734]
mov edi, dword [esi + 0x258]
mov dword [esp + 0x34], edi
call fcn.1000c770
call fcn.10017210
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xa4], edx
test dl, 8
jne 0x10014b51
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0xa4]
call fcn.100138a0
mov edx, dword [esp + 0xa4]
test edx, 0xc0000
jne 0x10014b7a
mov eax, dword [esp + 0x58]
mov ecx, 0x52000
mov eax, dword [eax + 0x2754]
test eax, 0xc0000
cmovne ecx, eax
and ecx, 0xc0000
or ecx, edx
jmp 0x10014b7c
mov ecx, edx
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x10014b9a
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x2754]
and eax, 0x200
or ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [0x10039018]
mov eax, ecx
movss xmm3, dword [esi + 0xcc]
and eax, 0x202
movss xmm4, dword [esi + 0xc8]
xorps xmm5, xmm5
movss xmm6, dword [0x10035d88]
movss xmm7, dword [edx + 0x13e4]
addss xmm7, xmm7
mov dword [esp + 0xd8], eax
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm3
addss xmm7, dword [edx + 0x16f0]
mov edx, dword [edx + 0x1734]
movss xmm2, dword [edx + 0x134]
comiss xmm5, xmm2
movss dword [esp + 0x5c], xmm7
jbe 0x10014c75
cmp dword [edx + 0x194], 1
movss xmm4, dword [edx + 0xc8]
subss xmm4, dword [edx + 0x18]
movss xmm1, dword [edx + 0x48]
je 0x10014c60
mov ecx, dword [edx + 0x190]
movss xmm0, dword [edx + 0x198]
movss xmm1, dword [edx + 0x19c]
subss xmm1, xmm0
lea eax, [ecx + 1]
test eax, eax
cmovns ecx, eax
mov eax, dword [edx + 0x1c0]
lea ecx, [ecx + ecx*4]
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
addss xmm1, xmm0
subss xmm1, dword [edx + 0x50]
subss xmm1, xmm4
movss xmm4, dword [esp + 0x24]
addss xmm1, xmm2
movaps xmm2, xmm6
maxss xmm2, xmm1
mov eax, dword [esp + 0x58]
movaps xmm6, xmm7
mov dword [esp + 0x1c], 0
movss xmm0, dword [eax + 0x13f4]
cvttss2si eax, xmm2
movss dword [esp + 0x64], xmm0
addss xmm0, xmm7
movd xmm2, eax
xor eax, eax
cmp dword [esp + 0xd8], 0x200
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm2, xmm1
maxss xmm6, xmm2
addss xmm0, xmm6
movss dword [esp + 0x30], xmm6
movaps xmm2, xmm6
movaps xmm5, xmm6
mulss xmm2, dword [0x10035d5c]
mulss xmm5, dword [0x10035d3c]
movss dword [esp + 0x60], xmm0
movaps xmm1, xmm2
addss xmm0, dword [esp + 0x64]
subss xmm1, xmm5
movss dword [esp + 0xc8], xmm5
movaps xmm5, xmm6
movss dword [esp + 0x78], xmm2
addss xmm5, xmm7
movss dword [esp + 0xe0], xmm0
addss xmm0, xmm7
movss dword [esp + 0xac], xmm1
mulss xmm5, dword [0x10035d5c]
movss dword [esp + 0xc0], xmm0
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0xa4], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [0x10035d4c]
cvttss2si esi, xmm0
movaps xmm0, xmm5
addss xmm0, xmm4
mov dword [esp + 0xcc], esi
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm2
addss xmm0, xmm3
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x10035d38]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
lea edx, [eax + 4]
mov dword [esp + 0xc4], edx
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
mulss xmm0, dword [0x10035ea4]
movaps xmm2, xmm1
mulss xmm2, dword [0x10035eb0]
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10035d78]
movss xmm1, dword [edx]
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0x8c], xmm2
movss xmm2, dword [eax]
add eax, 8
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x6c], xmm2
mov dword [esp + 0x84], eax
movss xmm4, dword [eax]
xorps xmm5, xmm5
comiss xmm4, xmm1
jbe 0x10014e58
movss xmm5, dword [0x10035eb4]
movaps xmm0, xmm1
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x10014e7b
movaps xmm0, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x6c], xmm2
movss xmm0, dword [0x10035ea0]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm1
mov byte [esp + 0xf], 0
minss xmm0, xmm4
mov byte [esp + 0x16], 0
subss xmm1, xmm4
mov byte [esp + 0x17], 0
movss xmm4, dword [0x10035df0]
mov eax, ecx
movss dword [esp + 0xdc], xmm4
and eax, 0x80000
mov dword [esp + 0x38], eax
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
movss xmm4, dword [0x10035d10]
addss xmm0, xmm4
divss xmm1, xmm0
addss xmm1, xmm5
cvtps2pd xmm0, xmm1
andps xmm0, xmmword [0x10036530]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm4
movss dword [esp + 0x4c], xmm1
divss xmm2, xmm0
movss dword [esp + 0x68], xmm2
je 0x10015514
movss xmm0, dword [esp + 0x64]
lea edx, [esp + 0x40]
addss xmm0, xmm6
movss dword [esp + 0x44], xmm6
mov ecx, 0x10030794
addss xmm0, xmm7
movss dword [esp + 0x40], xmm0
call fcn.1000c400
mov eax, dword [0x10039018]
mov ecx, dword [eax + 0x1750]
test ecx, ecx
je 0x100153c3
mov eax, dword [eax + 0x1734]
cmp ecx, dword [eax + 0x100]
jne 0x100153c8
mov eax, dword [esp + 0x58]
movss xmm3, dword [esp + 0xd0]
movss xmm0, dword [eax + 0x334]
movss xmm1, dword [eax + 0x330]
subss xmm0, xmm3
subss xmm1, dword [esp + 0xa0]
movss xmm2, dword [eax + 0xd0]
movss xmm4, dword [eax + 0xcc]
subss xmm2, xmm3
subss xmm4, dword [esp + 0xa0]
movaps xmm3, xmm0
movss dword [esp + 0x54], xmm0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [0x10035d88]
addss xmm3, xmm0
movss dword [esp + 0xf0], xmm4
movss xmm0, dword [esp + 0xac]
subss xmm0, xmm1
movss dword [esp + 0xd4], xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10015058
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x10015058
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 sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm1, dword [0x10035ddc]
xorps xmm3, xmm3
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, dword [0x10035d5c]
comiss xmm3, xmm0
movss dword [esp + 0x4c], xmm0
jbe 0x10015050
addss xmm0, dword [0x10035d88]
movss dword [esp + 0x4c], xmm0
mov dl, 1
mov byte [esp + 0xf], dl
jmp 0x1001506a
mov dl, byte [esp + 0xf]
movss xmm1, dword [0x10035ddc]
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [0x10035eb8]
mov byte [esp + 0x16], dl
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movsd xmm0, qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x54]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x9c]
xorps xmm5, xmm5
cvtsd2ss xmm4, xmm0
movss xmm7, dword [esp + 0xe4]
movaps xmm0, xmm2
mulss xmm0, xmm4
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x2c]
mulss xmm2, xmm6
subss xmm3, xmm0
movss dword [esp + 0xf8], xmm4
movaps xmm0, xmm4
movaps xmm4, xmm7
mulss xmm0, dword [esp + 0x2c]
subss xmm4, xmm7
movaps xmm1, xmm3
addss xmm2, xmm0
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x74]
subss xmm1, xmm7
movss dword [esp + 0x100], xmm4
movss dword [esp + 0xe8], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x74]
mulss xmm0, xmm4
movss xmm4, dword [esp + 0x18]
subss xmm4, xmm7
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x40], xmm4
comiss xmm5, xmm1
movaps xmm1, xmm3
movss dword [esp + 0x70], xmm0
subss xmm1, xmm7
seta cl
mulss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, dword [esp + 0xa8]
mulss xmm0, xmm4
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100153b9
movss xmm4, dword [esp + 0x74]
subss xmm2, xmm5
subss xmm3, dword [esp + 0x18]
movaps xmm0, xmm7
subss xmm4, xmm5
subss xmm0, dword [esp + 0x18]
mulss xmm3, xmm4
mulss xmm2, xmm0
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x54], xmm0
subss xmm3, xmm2
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x100153b9
movss xmm7, dword [esp + 0xd4]
movss xmm1, dword [esp + 0xf8]
movaps xmm0, xmm7
mulss xmm6, dword [esp + 0xf0]
mulss xmm7, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xe4]
mulss xmm0, xmm1
mulss xmm1, dword [esp + 0xf0]
subss xmm6, xmm0
addss xmm7, xmm1
movaps xmm1, xmm6
movss dword [esp + 0xf8], xmm6
subss xmm1, xmm2
movaps xmm0, xmm7
movss dword [esp + 0xfc], xmm7
subss xmm0, dword [esp + 0x74]
mulss xmm1, dword [esp + 0xe8]
mulss xmm0, dword [esp + 0x100]
subss xmm1, xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0xa8]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x40]
movaps xmm1, xmm6
subss xmm1, xmm2
seta cl
mulss xmm1, dword [esp + 0x70]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100152a4
movaps xmm1, xmm6
movaps xmm0, xmm7
subss xmm1, dword [esp + 0x18]
subss xmm0, xmm5
mulss xmm1, xmm4
mulss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp cl, al
je 0x100152e4
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10c]
call fcn.100027b0
movss xmm2, dword [esp + 0xf0]
add esp, 0xc
xorps xmm5, xmm5
movss xmm6, dword [eax]
movss xmm7, dword [eax + 4]
movss xmm3, dword [esp + 0xa8]
subss xmm7, xmm5
subss xmm6, dword [esp + 0x18]
movaps xmm4, xmm2
subss xmm3, xmm5
subss xmm4, dword [esp + 0x18]
movaps xmm1, xmm6
movss dword [esp + 0x40], xmm6
mulss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x54]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x2c]
movss xmm6, dword [0x10035d88]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x54]
mulss xmm7, xmm4
subss xmm1, xmm0
movaps xmm0, xmm6
divss xmm1, xmm2
subss xmm0, xmm1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm3
subss xmm7, xmm0
movss xmm0, dword [0x10035d24]
movss dword [esp + 0x68], xmm0
divss xmm7, xmm2
movss xmm2, dword [esp + 0x70]
comiss xmm0, xmm2
movaps xmm1, xmm2
subss xmm1, xmm7
jbe 0x1001538a
movaps xmm3, xmm0
jmp 0x10015391
movaps xmm3, xmm6
minss xmm3, xmm2
divss xmm1, xmm3
movss dword [esp + 0x6c], xmm3
comiss xmm0, xmm1
ja 0x100153ad
movaps xmm0, xmm6
minss xmm0, xmm1
movss dword [esp + 0x68], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
jmp 0x100153cb
mov al, byte [esp + 0xf]
mov byte [esp + 0x16], al
jmp 0x100153cb
xorps xmm5, xmm5
jmp 0x100153d0
xorps xmm5, xmm5
mov eax, dword [0x10039018]
test byte [esp + 0x10], 8
jne 0x10015413
movss xmm0, dword [eax + 0x384]
mov ecx, dword [eax + 0x1734]
ucomiss xmm0, xmm5
mov dword [esp + 0x40], ecx
lahf
test ah, 0x44
jp 0x10015413
call fcn.100043e0
test al, al
je 0x10015413
push ecx
mov ecx, dword [esp + 0x44]
push str.context
call fcn.10004180
mov dl, 1
mov ecx, eax
call fcn.10007260
movss xmm3, dword [esp + 0x20]
movss xmm7, dword [esp + 0x5c]
movss xmm6, dword [esp + 0x30]
mov ecx, dword [0x10039018]
cmp dword [esp + 0xd8], 0x200
jne 0x10015740
mov eax, dword [ecx + 0x1734]
lea edx, [esp + 0x88]
movss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x8c], xmm6
mov byte [eax + 0x86], 1
mov eax, dword [ecx + 0x1734]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1000c400
mov eax, dword [0x10039018]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x1750]
test ecx, ecx
je 0x10015744
mov eax, dword [eax + 0x1734]
cmp ecx, dword [eax + 0x100]
jne 0x10015744
movss xmm3, dword [edx + 0xd0]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [0x10035d88]
subss xmm3, dword [esp + 0x20]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10015722
xorps xmm4, xmm4
jmp 0x10015729
test ecx, 0x40000
je 0x10015425
lea edx, [esp + 0x88]
movss dword [esp + 0x88], xmm6
mov ecx, 0x10030798
movss dword [esp + 0x8c], xmm6
call fcn.1000c400
mov ecx, dword [0x10039018]
mov edx, dword [ecx + 0x1750]
test edx, edx
je 0x100155da
mov eax, dword [ecx + 0x1734]
cmp edx, dword [eax + 0x100]
jne 0x100155da
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x30]
movss xmm1, dword [0x10035d88]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xcc]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1001559d
movss dword [esp + 0x68], xmm0
jmp 0x100155aa
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x68], xmm2
movss xmm2, dword [eax + 0xd0]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x100155c8
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xf], al
movss dword [esp + 0x6c], xmm1
jmp 0x100155de
mov al, byte [esp + 0xf]
test byte [esp + 0x10], 8
mov byte [esp + 0x9b], al
jne 0x100155f7
call fcn.100077c0
mov ecx, dword [0x10039018]
mov eax, dword [ecx + 0x1734]
lea edx, [esp + 0x88]
movss xmm2, dword [esp + 0xe0]
movss xmm0, dword [esp + 0x20]
mov byte [eax + 0x86], 1
mov eax, dword [ecx + 0x1734]
mov ecx, 0x1003079c
movss dword [eax + 0xcc], xmm0
movss dword [eax + 0xc8], xmm2
movss xmm0, dword [eax + 0xe4]
maxss xmm0, dword [eax + 0xcc]
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm2
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xe0], xmm1
movss dword [esp + 0x8c], xmm0
call fcn.1000c400
mov ecx, dword [0x10039018]
mov edx, dword [ecx + 0x1750]
test edx, edx
je 0x100156a5
mov eax, dword [ecx + 0x1734]
cmp edx, dword [eax + 0x100]
sete al
jmp 0x100156a7
xor al, al
mov dl, byte [esp + 0xf]
movss xmm3, dword [esp + 0x20]
mov byte [esp + 0x17], dl
test al, al
je 0x10015711
mov eax, dword [esp + 0x58]
xorps xmm5, xmm5
movss xmm0, dword [esp + 0x30]
movss xmm6, dword [0x10035d88]
subss xmm0, xmm6
movss xmm2, dword [eax + 0xd0]
subss xmm2, xmm3
divss xmm2, xmm0
comiss xmm5, xmm2
jbe 0x100156ef
movss dword [esp + 0x4c], xmm5
jmp 0x100156fc
movaps xmm1, xmm6
minss xmm1, xmm2
movss dword [esp + 0x4c], xmm1
mov al, byte [esp + 0x9b]
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x17], al
movss xmm7, dword [esp + 0x5c]
movss xmm6, dword [esp + 0x30]
jmp 0x1001542b
movaps xmm4, xmm1
minss xmm4, xmm3
mov eax, dword [esp + 0x50]
movaps xmm0, xmm1
subss xmm0, xmm4
mov byte [esp + 0xf], 1
movss dword [eax + 0xc], xmm0
jmp 0x10015744
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x54], ecx
jne 0x1001576f
movss xmm1, dword [edx + 0x13f4]
xorps xmm0, xmm0
call fcn.10017560
call fcn.10017210
mov eax, dword [esp + 0x10]
mov edx, eax
and edx, 0x80
mov dword [esp + 0x9c], edx
jne 0x100157e8
mov ecx, dword [esp + 0x7c]
cmp ecx, 0xffffffff
jae 0x100157e8
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x100157a6
cmp dl, 0x23
jne 0x100157a0
cmp byte [ecx + 1], dl
je 0x100157a6
inc ecx
cmp ecx, 0xffffffff
jb 0x10015790
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x7c], ecx
je 0x100157e1
cmp dword [esp + 0x54], 0
je 0x100157d2
mov eax, dword [esp + 0x58]
xorps xmm3, xmm3
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x13f4]
call fcn.10017560
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov ecx, dword [esp + 0x7c]
call fcn.1000b750
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x9c]
cmp dword [esp + 0x54], 0
jne 0x1001598b
mov ecx, eax
and ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x50]
je 0x1001580c
movss xmm1, dword [0x10035d88]
jmp 0x10015811
movss xmm1, dword [ecx + 0xc]
movss xmm0, dword [ecx]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [ecx + 8]
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
test edx, edx
je 0x10015858
push str.Current
call fcn.1000b730
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x5c]
lea edx, [esp + 0x88]
movaps xmm0, xmm1
and eax, 0x1c40
mulss xmm0, dword [0x10035dd4]
mov ecx, str.current
mov dword [esp + 0x100], eax
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xec], xmm0
push dword [esp + 0xec]
movss dword [esp + 0x74], xmm0
push dword [esp + 0xec]
push eax
call fcn.100130d0
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x10015986
push str.Original
call fcn.1000b730
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x100158ea
movss xmm1, dword [0x10035d88]
jmp 0x100158ef
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x88]
movss dword [esp + 0x88], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x98], xmm1
push dword [esp + 0x44]
push dword [esp + 0x108]
call fcn.100130d0
add esp, 0xc
test al, al
je 0x10015986
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x40]
push dword [esp + 0x58]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
call fcn.10017320
cmp byte [esp + 0x16], 0
jne 0x10015999
cmp byte [esp + 0x17], 0
je 0x100159fa
movss xmm1, dword [esp + 0x6c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100159ac
movaps xmm3, xmm1
jmp 0x100159b4
movss xmm3, dword [0x10035d14]
movss xmm1, dword [esp + 0x68]
comiss xmm1, xmm0
movss xmm2, dword [0x10035d18]
ja 0x100159ca
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x4c]
comiss xmm0, dword [0x10035d88]
jb 0x100159dd
subss xmm0, xmm2
push dword [esp + 0x84]
mov edx, dword [esp + 0xc8]
movaps xmm2, xmm3
mov ecx, dword [esp + 0x54]
call fcn.100033b0
add esp, 4
test byte [esp + 0x10], 0x20
jne 0x10015b34
cmp dword [esp + 0xd8], 0x200
jne 0x10015a1d
movss xmm0, dword [esp + 0xc0]
jmp 0x10015a23
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x64]
addss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x24]
call fcn.1000b1b0
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
and edx, 0x31c1a
and ecx, 0xe000
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], ecx
test eax, 0x2000
jne 0x10015a63
test ecx, ecx
jne 0x10015a93
jmp 0x10015a67
mov dword [esp + 0x3c], ecx
or edx, 0x2004
mov ecx, str.rgb
push edx
mov edx, dword [esp + 0x54]
call fcn.10013b60
mov ecx, dword [esp + 0x40]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
test eax, 0x4000
jne 0x10015a9e
test ecx, ecx
jne 0x10015ac2
or edx, 0x4004
mov ecx, str.hsv
push edx
mov edx, dword [esp + 0x54]
call fcn.10013b60
mov ecx, dword [esp + 0x40]
add esp, 4
or byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test eax, 0x8000
jne 0x10015acd
test ecx, ecx
jne 0x10015aec
mov eax, dword [esp + 0x2c]
mov ecx, str.hex
mov edx, dword [esp + 0x50]
or eax, 0x8004
push eax
call fcn.10013b60
add esp, 4
or byte [esp + 0xf], al
mov ecx, dword [0x10039018]
mov eax, dword [ecx + 0x1734]
mov byte [eax + 0x86], 1
mov ecx, dword [ecx + 0x1734]
mov edx, dword [ecx + 0x148]
sub edx, 1
mov dword [ecx + 0x148], edx
jne 0x10015b20
movss xmm0, dword [ecx + 0x1f4]
jmp 0x10015b2c
mov eax, dword [ecx + 0x150]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x134], xmm0
cmp byte [esp + 0xf], 0
je 0x10015c33
mov ecx, dword [esp + 0x50]
xorps xmm2, xmm2
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
xorps xmm6, xmm6
jbe 0x10015b73
movss xmm6, dword [0x10035eb4]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10015b90
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10035ea0]
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 [0x10035d10]
movaps xmm7, xmm1
mulss xmm1, dword [0x10035df0]
divss xmm7, xmm0
addss xmm1, dword [0x10035d10]
divss xmm3, xmm1
addss xmm3, xmm6
cvtps2pd xmm0, xmm3
andps xmm0, xmmword [0x10036530]
cvtpd2ps xmm0, xmm0
comiss xmm2, xmm0
jb 0x10015c33
movss xmm0, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x10015c33
comiss xmm2, xmm4
jb 0x10015c14
movss xmm1, dword [esp + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x10015c14
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm2, dword [0x10035d5c]
jmp 0x10015c2a
comiss xmm2, xmm7
jb 0x10015c33
movss xmm1, dword [esp + 0x68]
movaps xmm2, xmm4
mulss xmm1, dword [0x10035d5c]
push eax
call fcn.100033b0
add esp, 4
movaps xmm0, xmmword [0x100364b0]
lea eax, [esp + 0x90]
movups xmmword [esp + 0x88], xmm0
lea edx, [esp + 0x8c]
movss xmm0, dword [0x10035d88]
lea ecx, [esp + 0x88]
movaps xmm2, xmm0
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
push eax
call fcn.100033b0
movups xmm3, xmmword [esp + 0x8c]
add esp, 4
movss xmm2, dword [0x10035d88]
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x10015c91
xorps xmm0, xmm0
jmp 0x10015c98
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10035e90]
movss xmm4, dword [0x10035d5c]
movss xmm5, dword [esp + 0x8c]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10015cc7
xorps xmm0, xmm0
jmp 0x10015cce
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x90]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x10015cf2
xorps xmm0, xmm0
jmp 0x10015cf9
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x94]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x10015d1d
xorps xmm0, xmm0
jmp 0x10015d24
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0x50]
mulss xmm0, xmm3
movss xmm5, dword [eax]
mov eax, dword [esp + 0xc4]
addss xmm0, xmm4
movss xmm6, dword [eax]
mov eax, dword [esp + 0x84]
cvttss2si edx, xmm0
movss xmm7, dword [eax]
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x54], edx
jbe 0x10015d61
xorps xmm0, xmm0
jmp 0x10015d68
movaps xmm0, xmm2
minss xmm0, xmm5
comiss xmm1, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10015d7e
xorps xmm0, xmm0
jmp 0x10015d85
movaps xmm0, xmm2
minss xmm0, xmm6
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x10015da0
xorps xmm0, xmm0
jmp 0x10015da7
movaps xmm0, xmm2
minss xmm0, xmm7
mulss xmm0, xmm3
mov dword [esp + 0x110], 0xff0000ff
mov dword [esp + 0x114], 0xff00ffff
mov dword [esp + 0x118], 0xff00ff00
addss xmm0, xmm4
mov dword [esp + 0x11c], 0xffffff00
mov dword [esp + 0x120], 0xffff0000
mov dword [esp + 0x124], 0xffff00ff
mov dword [esp + 0x128], 0xff0000ff
mov dword [esp + 0x80], 0
cvttss2si eax, xmm0
mov dword [esp + 0x7c], 0
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
cmp dword [esp + 0x38], 0
mov dword [esp + 0x2c], ecx
je 0x10016821
movss xmm1, dword [esp + 0x78]
lea esi, [edi + 0x4c]
movss xmm3, dword [0x10035da0]
mov eax, 0x2aaaaaab
movss xmm0, dword [esp + 0xac]
divss xmm3, xmm1
mov dword [esp + 0xf8], esi
cvttss2si ecx, xmm1
addss xmm0, xmm1
movss dword [esp + 0xd4], xmm3
imul ecx
movss dword [esp + 0xc0], xmm0
movaps xmm5, xmm0
mov eax, 4
mulss xmm5, xmm4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xf0], xmm5
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x64], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x28]
push ecx
push ecx
mov dword [esp + 0x108], eax
mov ecx, edi
lea eax, [esp + 0xb8]
movaps xmm1, xmm0
addss xmm0, xmm2
divss xmm1, dword [0x10035df0]
divss xmm0, dword [0x10035df0]
addss xmm1, xmm1
movaps xmm2, xmm5
addss xmm0, xmm0
mulss xmm1, dword [0x10035ddc]
mulss xmm0, dword [0x10035ddc]
subss xmm1, xmm3
addss xmm0, xmm3
movaps xmm3, xmm1
movss dword [esp + 0x80], xmm1
movss dword [esp], xmm0
push eax
movss dword [esp + 0x90], xmm0
call fcn.10023550
movss xmm0, dword [esp + 0xc8]
sub esp, 8
mov ecx, edi
movss dword [esp], xmm0
push 0
push 0xffffffffffffffff
push dword [esi]
push dword [edi + 0x54]
call fcn.100223b0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10015f59
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10018da0
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
mov dword [esi], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x40], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x84]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x84]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xac]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x38], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x38]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x40]
movss xmm6, dword [esp + 0x70]
subss xmm3, xmm5
mov ecx, dword [esp + 0x64]
cvtsd2ss xmm4, xmm0
mov edx, dword [edi + 0x2c]
mov dword [esp + 0xe8], edx
mov eax, dword [esp + ecx*4 + 0x114]
mov ecx, dword [esp + ecx*4 + 0x110]
movss xmm2, dword [0x10035d88]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0xac]
movaps xmm7, xmm2
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x100]
sub eax, dword [edi + 0x28]
addss xmm4, dword [esp + 0xd0]
mulss xmm0, xmm3
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x60], eax
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
cmp eax, edx
jae 0x100161cc
movzx eax, cl
mov dword [esp + 0x84], eax
mov eax, ecx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x78]
shr eax, 0x10
shr ecx, 0x10
movzx edx, cl
movzx ecx, al
mov eax, dword [esp + 0x78]
sub ecx, edx
shr eax, 8
mov dword [esp + 0xc4], edx
movzx edx, al
mov eax, dword [esp + 0x78]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x84]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xc4]
nop word [eax + eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 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 0x1001610e
xorps xmm2, xmm2
jmp 0x10016112
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x60]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x84]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x10035d88]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0xc4]
add eax, 0x14
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0xe8]
jb 0x100160e0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0xf8]
mov eax, dword [esp + 0x64]
movss xmm3, dword [esp + 0xd4]
inc eax
movss xmm5, dword [esp + 0xf0]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x64], eax
cmp eax, 6
jl 0x10015ea3
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm0
mulss xmm0, dword [0x10035ddc]
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x16], 0
xorps xmm3, xmm3
movss xmm2, dword [esp + 0xc0]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x3c]
mulss xmm2, xmm3
mulss xmm0, dword [0x10035d5c]
mulss xmm2, dword [0x10035d5c]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x40], xmm3
addss xmm2, dword [esp + 0xd0]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm2
je 0x10016291
movss xmm1, dword [0x10035d64]
jmp 0x10016299
movss xmm1, dword [0x10035d60]
mulss xmm1, dword [esp + 0xc8]
movaps xmm0, xmm1
movss dword [esp + 0xc8], xmm1
divss xmm0, dword [0x10035d9c]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x100162c6
mov eax, 9
jmp 0x100162d0
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x54], 0xff000000
mov esi, dword [esp + 0xcc]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [esp + 0x64], eax
movss dword [esp + 0x38], xmm3
je 0x10016377
movaps xmm0, xmm3
movaps xmm2, xmm1
subss xmm0, dword [0x10035d88]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, edi
mulss xmm0, dword [0x10035df4]
divss xmm0, xmm3
xorps xmm3, xmm3
movss dword [esp], xmm0
push eax
call fcn.10023550
push ecx
push dword [esp + 0x58]
mov ecx, edi
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.10022ee0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x1001635e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10018da0
lea eax, [edi + 0x4c]
movss xmm1, dword [esp + 0xc8]
movss xmm3, dword [esp + 0x38]
mov dword [eax], 0
mov eax, dword [esp + 0x64]
movaps xmm2, xmm3
subss xmm2, dword [0x10035d88]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, edi
mulss xmm2, dword [0x10035df4]
divss xmm2, xmm3
xorps xmm3, xmm3
movss dword [esp], xmm2
movss dword [esp + 0x40], xmm2
movaps xmm2, xmm1
addss xmm2, dword [0x10035d88]
push eax
subss xmm2, dword [0x10035d5c]
call fcn.10023550
sub esp, 8
mov ecx, edi
mov dword [esp], 0x3f800000
push 1
push 0xff808080
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.100223b0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10016401
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10018da0
lea eax, [edi + 0x4c]
push dword [esp + 0x64]
movss xmm2, dword [esp + 0xcc]
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x3c]
subss xmm2, dword [0x10035d5c]
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x2c]
movss dword [esp], xmm0
push eax
call fcn.10023550
sub esp, 8
mov ecx, edi
mov dword [esp], 0x3f800000
push 1
push 0xffffffffffffffff
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.100223b0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10016478
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10018da0
lea eax, [edi + 0x4c]
movss xmm3, dword [esp + 0x3c]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x40]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x18]
movaps xmm0, xmm4
mov ecx, edi
mov dword [eax], 0
movss xmm5, dword [esp + 0xa0]
mulss xmm0, xmm1
mov eax, dword [esp + 0x58]
movss xmm6, dword [esp + 0xd0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm3
push 6
addss xmm2, xmm5
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x20]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xb0]
addss xmm2, xmm6
movss dword [esp + 0xf0], xmm2
movss dword [esp + 0x30], xmm2
movss xmm2, dword [esp + 0xec]
mulss xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm1, xmm5
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0xb0]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x7c]
mulss xmm4, xmm2
addss xmm1, xmm6
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0x24], xmm1
movaps xmm1, xmm3
mulss xmm3, dword [esp + 0x7c]
mulss xmm1, xmm2
addss xmm3, xmm4
subss xmm1, xmm0
movss xmm0, dword [eax + 0x16f8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x16fc]
addss xmm3, xmm6
movss dword [esp + 0x48], xmm0
addss xmm1, xmm5
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xfc], xmm3
movss dword [esp + 0x108], xmm1
movss dword [esp + 0xf8], xmm1
call fcn.100220f0
mov ecx, dword [edi + 0x30]
mov ax, word [edi + 0x28]
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x2c]
add dword [edi + 0x30], 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x10], edx
add dword [edi + 0x2c], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x2c]
add dword [edi + 0x30], 2
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x10], edx
add dword [edi + 0x2c], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0xf4]
mov word [eax], cx
mov eax, dword [edi + 0x2c]
add dword [edi + 0x30], 2
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0xf0]
mov dword [eax], edi
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [ecx + 0x2c]
mov dword [eax + 0x10], 0xffffffff
add dword [ecx + 0x2c], 0x14
inc dword [ecx + 0x28]
mov ecx, dword [ecx + 0x28]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x30]
mov word [eax], cx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add dword [eax + 0x30], 2
mov eax, dword [eax + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [ecx + 0x2c]
mov dword [eax + 0x10], 0
add dword [ecx + 0x2c], 0x14
inc dword [ecx + 0x28]
mov ecx, dword [ecx + 0x28]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x30]
mov word [eax], cx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add dword [eax + 0x30], 2
mov eax, dword [eax + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x2c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [ecx + 0x2c]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [esp + 0x34]
add dword [ecx + 0x2c], 0x14
inc dword [ecx + 0x28]
mov ecx, dword [ecx + 0x28]
mov eax, dword [eax + 0x30]
mov word [eax], cx
mov eax, dword [esp + 0x34]
add dword [eax + 0x30], 2
mov eax, dword [eax + 0x2c]
mov dword [eax], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x2c]
sub esp, 8
mov ecx, edi
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x2c]
mov dword [esp + 4], 0x3fc00000
mov dword [eax + 0x10], 0
lea eax, [esp + 0xf8]
add dword [edi + 0x2c], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10023f20
movss xmm0, dword [0x10035d88]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x6c]
comiss xmm1, xmm2
jbe 0x10016790
xorps xmm4, xmm4
jmp 0x10016797
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x68]
comiss xmm1, xmm2
jbe 0x100167a7
xorps xmm3, xmm3
jmp 0x100167ae
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x100]
movss xmm2, dword [esp + 0xe8]
subss xmm2, dword [esp + 0x3c]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x100]
movss xmm3, dword [esp + 0xf8]
addss xmm2, dword [esp + 0x3c]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xd4]
subss xmm0, xmm2
movss dword [esp + 0x7c], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x80], xmm0
jmp 0x10016b6d
test dword [esp + 0x10], 0x40000
je 0x10016b6d
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0xb0]
push 0xffffffffffffffff
push edx
movss dword [esp + 0xb8], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x38]
push edx
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0xcc], xmm0
call fcn.10023da0
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0xb0]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xc4], xmm0
lea eax, [esp + 0x38]
movss xmm0, dword [esp + 0x88]
mov ecx, edi
push eax
movss dword [esp + 0xcc], xmm0
call fcn.10023da0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.100068e0
movss xmm3, dword [esp + 0x78]
xorps xmm0, xmm0
movss xmm1, dword [0x10035d88]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10016907
xorps xmm2, xmm2
jmp 0x1001690e
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x30]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [0x10035d5c]
mulss xmm2, xmm4
movss xmm7, dword [0x10035dbc]
movss xmm5, dword [esp + 0x60]
addss xmm2, xmm6
addss xmm6, xmm7
subss xmm5, xmm7
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm6, xmm2
jbe 0x1001695c
movss dword [esp + 0x7c], xmm6
jmp 0x1001696f
comiss xmm2, xmm5
jbe 0x10016969
movss dword [esp + 0x7c], xmm5
jmp 0x1001696f
movss dword [esp + 0x7c], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x6c]
comiss xmm0, xmm2
jbe 0x10016982
xorps xmm1, xmm1
jmp 0x10016986
minss xmm1, xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x74]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x100169c4
movss dword [esp + 0x80], xmm1
jmp 0x100169dd
comiss xmm3, xmm0
jbe 0x100169d4
movss dword [esp + 0x80], xmm0
jmp 0x100169dd
movss dword [esp + 0x80], xmm3
movss xmm0, dword [esp + 0xc0]
movaps xmm1, xmm4
divss xmm1, dword [0x10035df0]
xor ecx, ecx
mov esi, edi
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x88], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
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 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xa4], xmm0
call fcn.10023da0
movss xmm1, dword [esp + 0x38]
mov ecx, edi
movss xmm2, dword [esp + 0x20]
cmp ecx, 6
jl 0x10016a20
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xe0]
push dword [esp + 0x1c]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm2
push dword [esp + 0x1c]
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.100068e0
mov esi, dword [esp + 0xdc]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x10035dbc]
mov edi, dword [esp + 0x44]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x10035d88]
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xf4]
subss xmm0, dword [0x10035d88]
push dword [esp + 0x2c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x10035d5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.10014910
add esp, 0x20
cmp byte [esp + 0x17], 0
je 0x10016b85
movss xmm0, dword [0x10035e04]
movss dword [esp + 0xdc], xmm0
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x7c]
push 0xc
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.10023550
push ecx
push dword [esp + 0x30]
mov ecx, edi
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.10022ee0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10016bdf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10018da0
lea eax, [edi + 0x4c]
movss xmm2, dword [esp + 0xdc]
xorps xmm3, xmm3
addss xmm2, dword [0x10035d88]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x84]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x10035d5c]
push eax
call fcn.10023550
sub esp, 8
lea eax, [edi + 0x4c]
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp], 0x3f800000
push 1
push 0xff808080
push dword [eax]
push dword [edi + 0x54]
call fcn.100223b0
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x4c]
test ecx, ecx
jns 0x10016c64
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4c]
call fcn.10018da0
lea eax, [edi + 0x4c]
movss xmm2, dword [esp + 0xdc]
xorps xmm3, xmm3
subss xmm2, dword [0x10035d5c]
push 0xc
push ecx
mov dword [eax], 0
mov ecx, edi
lea eax, [esp + 0x84]
mov dword [esp], 0x40b84e89
push eax
call fcn.10023550
sub esp, 8
mov ecx, edi
mov dword [esp], 0x3f800000
push 1
push 0xffffffffffffffff
push dword [edi + 0x4c]
push dword [edi + 0x54]
call fcn.100223b0
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10016cd5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10018da0
cmp dword [esp + 0xd8], 0x200
mov dword [edi], 0
jne 0x10016e80
mov eax, dword [esp + 0x50]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x10016d08
movss dword [esp + 0xcc], xmm2
jmp 0x10016d1d
movss xmm0, dword [0x10035d88]
minss xmm0, xmm1
movss dword [esp + 0xcc], xmm0
movss xmm3, dword [esp + 0xa4]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0xb4], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0xbc], xmm1
subss xmm1, xmm3
mov dword [esp + 0x1c], 0
push dword [esp + 0x1c]
movss dword [esp + 0xc4], xmm0
push dword [esp + 0xc4]
mulss xmm1, dword [0x10035d5c]
push dword [esp + 0xc4]
movss dword [esp + 0xc0], xmm3
push dword [esp + 0xc4]
mov edi, dword [esp + 0xc4]
push edi
call fcn.10012e40
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.10023da0
push dword [esp + 0xbc]
xorps xmm0, xmm0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push edi
call fcn.100068e0
movss xmm1, dword [0x10035d88]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x44]
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, xmm1
push dword [esp + 0x2c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xb8]
subss xmm0, xmm1
subss xmm1, dword [esp + 0xe0]
push dword [esp + 0x2c]
movss dword [esp + 0x3c], xmm0
mulss xmm1, dword [esp + 0x48]
addss xmm1, dword [esp + 0x38]
addss xmm1, dword [0x10035d5c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x10035dbc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.10014910
add esp, 0x20
call fcn.10017320
mov ecx, dword [0x10039018]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov ecx, dword [ecx + 0x1734]
dec dword [ecx + 0x1c4]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1002d3bc
mov esp, ebp
pop ebp
ret