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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x1066bbc0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x106d663c]
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [ecx + 0x3e30]
mov edi, edx
mov dword [esp + 0xac], edi
mov dword [esp + 0x2c], ecx
mov byte [eax + 0x9c], 1
mov edx, dword [ecx + 0x3e30]
mov dword [esp + 0xbc], edx
cmp byte [edx + 0x9f], 0
je 0x10149ee3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.102c15f2
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x3ec4], 1
mov eax, dword [edx + 0x254]
mov dword [esp + 0x28], eax
je 0x10149f00
movss xmm1, dword [ecx + 0x3ec8]
jmp 0x10149f08
movss xmm1, dword [edx + 0x190]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10149f4a
cmp dword [edx + 0x180], 0
movss xmm0, dword [edx + 0x218]
jne 0x10149f2a
cmp dword [ecx + 0x41f4], 0
je 0x10149f32
movss xmm0, dword [edx + 0x1e8]
subss xmm0, dword [edx + 0xe0]
addss xmm0, xmm1
movss xmm1, dword [0x106541ec]
maxss xmm1, xmm0
mov dword [ecx + 0x3ec4], 0
mov ecx, dword [esp + 0x38]
cvttss2si esi, xmm1
call fcn.1011a830
call fcn.1011b7b0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xb0], ecx
test cl, 8
jne 0x10149f93
mov edx, ecx
mov ecx, edi
call fcn.1014d790
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x2c]
test ecx, 0x6000000
jne 0x10149fbf
mov eax, dword [edx + 0x5154]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xb0]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x10149ff6
mov eax, dword [edx + 0x5154]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0xac]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1014a00c
mov eax, dword [edx + 0x5154]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x3804]
and eax, 2
movd xmm4, esi
mov dword [esp + 0xb0], eax
and ecx, 0x10002
mov eax, dword [esp + 0xbc]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xcc], ecx
movss xmm0, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe0]
mov eax, dword [0x106d663c]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm3
movss xmm5, dword [eax + 0x37f0]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x3bcc]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x58], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xb0], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x130]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x24], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x10654190]
cvttss2si esi, xmm0
mov dword [esp + 0xd0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x24]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x106541ac]
mulss xmm3, dword [0x1065417c]
movaps xmm0, xmm4
movss dword [esp + 0x80], xmm4
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x9c], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x58]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10654168]
movaps xmm1, xmm2
mulss xmm3, dword [0x106541ac]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x48]
movss dword [esp + 0x98], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0x10c], xmm3
subss xmm1, xmm0
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x10654438]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x10654444]
mov dword [esp + 0x34], 0
movss xmm5, dword [0x106542dc]
movss xmm6, dword [0x1065413c]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x11c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x106541dc]
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x68], xmm2
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x120], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm0
movss xmm1, dword [edi + 4]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x74], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x90], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x78], xmm2
movss dword [esp + 0xbc], xmm5
test eax, 0x8000000
je 0x1014a34d
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1014a2a9
movss xmm3, dword [0x10654448]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x3c], xmm7
jbe 0x1014a2d2
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10654434]
subss xmm0, xmm3
movss dword [esp + 0x3c], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm6
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x106549d0]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
call fcn.101489b0
movss xmm0, dword [esp + 0x28]
add esp, 8
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x20], xmm0
jmp 0x1014a396
test eax, 0x10000000
je 0x1014a396
lea eax, [esp + 0x78]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0x78]
call fcn.1010eda0
movss xmm0, dword [esp + 0x78]
add esp, 4
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x54], xmm0
mov eax, dword [0x106d663c]
lea edx, [eax + 0x3fa4]
mov byte [esp + 9], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0xb], 0
mov ecx, dword [eax + 0x3ec0]
or ecx, 8
mov dword [esp + 0x1c], edx
mov dword [eax + 0x3ec0], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1014a401
test ecx, ecx
je 0x1014a3e1
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1014a3e6
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.101225e0
mov edi, dword [esp + 0xac]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], esi
mov esi, 0x20
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1014aa9f
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xf8]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
movss dword [esp + 0xfc], xmm1
push ecx
addss xmm0, dword [ecx + 0x3804]
mov ecx, 0x10652870
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xfc], xmm0
call fcn.1013d6b0
mov ecx, dword [0x106d663c]
add esp, 4
mov eax, dword [ecx + 0x3e68]
test eax, eax
je 0x1014a92b
cmp eax, dword [ecx + 0x3ed8]
jne 0x1014a92b
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x3620]
subss xmm0, dword [esp + 0xb4]
movss xmm1, dword [eax + 0x361c]
subss xmm1, dword [esp + 0xc0]
movss xmm2, dword [eax + 0xd50]
movss xmm3, dword [eax + 0xd54]
subss xmm2, dword [esp + 0xc0]
subss xmm3, dword [esp + 0xb4]
movaps xmm4, xmm0
movss dword [esp + 0xb8], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x44], xmm1
movss xmm1, dword [0x106541ec]
addss xmm4, xmm0
movss dword [esp + 0xd0], xmm2
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
movss dword [esp + 0xd4], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x1014a5af
movss xmm0, dword [esp + 0x80]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1014a5af
cvtps2pd xmm0, xmm3
movsd qword [esp + 0xf8], xmm0
fld qword [esp + 0xf8]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0xf8], xmm0
fld qword [esp + 0xf8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x106542b0]
xorps xmm0, xmm0
fstp qword [esp + 0xf8]
movsd xmm1, qword [esp + 0xf8]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x106541ac]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jbe 0x1014a5a7
addss xmm1, dword [0x106541ec]
movss dword [esp + 0x10], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x1014a5c1
mov al, byte [esp + 9]
movss xmm2, dword [0x106542b0]
movss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x10654a00]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xf8], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movsd xmm0, qword [esp + 0xf8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x44]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xb8]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x1c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x30]
mulss xmm1, dword [esp + 0x1c]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0x84], xmm5
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0xa8]
addss xmm3, xmm1
movss xmm1, dword [esp + 0xa0]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0xa0]
movss dword [esp + 0xb8], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x88], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1014a91d
movss xmm0, dword [esp + 0xa8]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x1014a91d
movss xmm6, dword [esp + 0xd0]
movss xmm1, dword [esp + 0xd4]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x84]
mulss xmm6, dword [esp + 0x84]
movss xmm4, dword [esp + 0xa0]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xf8], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xfc], xmm6
subss xmm0, dword [esp + 0xa8]
mulss xmm1, dword [esp + 0xb8]
mulss xmm0, dword [esp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x88]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x60]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1014a823
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1014a866
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x6c]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xe0]
call fcn.1010e3c0
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xa8]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa4]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x10654150]
movaps xmm0, xmm7
movss dword [esp + 0x20], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x106541ec]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x1014a8ee
movaps xmm0, xmm2
jmp 0x1014a8f5
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x3c], xmm0
comiss xmm2, xmm3
ja 0x1014a911
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
jmp 0x1014a925
mov al, byte [esp + 9]
mov byte [esp + 0x17], al
mov ecx, dword [0x106d663c]
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1014a9a1
cmp byte [ecx + 0x368f], 0
je 0x1014a9a1
mov ecx, esi
call fcn.10111040
test al, al
je 0x1014a9a1
mov eax, dword [0x106d663c]
xor edx, edx
mov eax, dword [eax + 0x3e30]
mov ecx, dword [eax + 0xd4]
mov eax, dword [eax + 0xdc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1010e6a0
mov esi, eax
add esp, 4
mov eax, dword [0x106d663c]
cmp dword [eax + 0x3e50], esi
jne 0x1014a995
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10121d60
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.1011c2c0
mov edx, dword [0x106d663c]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x18]
cmp dword [esp + 0xcc], 0x10000
mov esi, dword [esp + 0xc4]
jne 0x1014ad63
mov eax, dword [edx + 0x3e30]
movss xmm0, dword [esp + 0xc8]
push ecx
mov ecx, str.alpha
movss dword [esp + 0x6c], xmm4
mov byte [eax + 0x9c], 1
mov eax, dword [edx + 0x3e30]
lea edx, [esp + 0x68]
movss dword [eax + 0xe0], xmm0
movss dword [eax + 0xe4], xmm3
movss xmm1, dword [eax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xfc]
maxss xmm0, xmm3
movss dword [eax + 0xf8], xmm1
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
call fcn.1013d6b0
mov edx, dword [0x106d663c]
add esp, 4
mov eax, dword [edx + 0x3e68]
test eax, eax
je 0x1014ad63
cmp eax, dword [edx + 0x3ed8]
jne 0x1014ad63
mov eax, dword [esp + 0x2c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x106541ec]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xd54]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1014ad4b
xorps xmm4, xmm4
jmp 0x1014ad52
test eax, 0x2000000
je 0x1014a9a1
movss xmm0, dword [esp + 0x18]
lea edx, [esp + 0x64]
push ecx
mov ecx, 0x1065286c
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm0
call fcn.1013d6b0
mov ecx, dword [0x106d663c]
add esp, 4
mov eax, dword [ecx + 0x3e68]
test eax, eax
je 0x1014abbc
cmp eax, dword [ecx + 0x3ed8]
jne 0x1014abbc
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [0x106541ec]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xd50]
subss xmm3, dword [esp + 0x48]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1014ab26
movss dword [esp + 0x20], xmm0
jmp 0x1014ab33
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x20], xmm2
movss xmm2, dword [eax + 0xd54]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1014ab4f
xorps xmm3, xmm3
jmp 0x1014ab56
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov dword [esp + 0x70], 0
subss xmm0, xmm3
lea ecx, [esp + 0x64]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x6c], xmm0
call fcn.1010ecf0
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x5160], eax
jne 0x1014abae
movss xmm0, dword [ecx + 0x5158]
movss dword [esp + 0x10], xmm0
mov ecx, dword [0x106d663c]
mov al, 1
mov byte [esp + 9], al
jmp 0x1014abc0
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
mov byte [esp + 0xa], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1014ac3e
cmp byte [ecx + 0x368f], 0
je 0x1014ac3e
mov ecx, esi
call fcn.10111040
test al, al
je 0x1014ac3e
mov eax, dword [0x106d663c]
xor edx, edx
mov eax, dword [eax + 0x3e30]
mov ecx, dword [eax + 0xd4]
mov eax, dword [eax + 0xdc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1010e6a0
mov esi, eax
add esp, 4
mov eax, dword [0x106d663c]
cmp dword [eax + 0x3e50], esi
jne 0x1014ac32
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10121d60
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.1011c2c0
mov ecx, dword [0x106d663c]
lea edx, [esp + 0x64]
movss xmm0, dword [esp + 0x94]
movss xmm2, dword [esp + 0x24]
push ecx
mov eax, dword [ecx + 0x3e30]
mov byte [eax + 0x9c], 1
mov eax, dword [ecx + 0x3e30]
mov ecx, 0x1065287c
movss dword [eax + 0xe0], xmm0
movss dword [eax + 0xe4], xmm2
movss xmm1, dword [eax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xfc]
maxss xmm0, xmm2
movss dword [eax + 0xf8], xmm1
movss dword [eax + 0xfc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x6c], xmm0
call fcn.1013d6b0
mov edx, dword [0x106d663c]
add esp, 4
mov eax, dword [edx + 0x3e68]
test eax, eax
je 0x1014a9a7
mov cl, byte [esp + 9]
mov byte [esp + 0xb], cl
cmp eax, dword [edx + 0x3ed8]
jne 0x1014a9a7
mov ecx, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm4
movss xmm1, dword [0x106541ec]
movss xmm2, dword [ecx + 0xd54]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1014ad2e
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xa]
movss dword [esp + 0x10], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 9], 1
mov byte [esp + 0xb], al
jmp 0x1014a9b3
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
dec dword [edx + 0x3fa4]
mov eax, dword [edx + 0x3fac]
mov ecx, dword [edx + 0x3fa4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3ec0], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x1014ada8
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3804]
call fcn.1011b480
call fcn.1011b7b0
mov edx, dword [esp + 0xc]
test dl, dl
js 0x1014ae10
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
jae 0x1014ae10
mov al, byte [ecx]
mov byte [esp + 0xa], al
test al, al
je 0x1014adce
cmp al, 0x23
jne 0x1014adc8
cmp byte [ecx + 1], al
je 0x1014adce
inc ecx
cmp ecx, 0xffffffff
jb 0x1014adb5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x1014ae10
test edx, 0x100
je 0x1014adfe
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x3804]
call fcn.1011b480
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1013c2e0
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x1014b053
mov eax, dword [0x106d663c]
mov ecx, dword [eax + 0x3ec0]
or ecx, 0x10
mov dword [eax + 0x3ec0], ecx
add eax, 0x3fa4
mov dword [esp + 0x84], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
cmp dword [eax], ecx
jne 0x1014ae8d
mov edx, dword [eax]
inc edx
mov dword [esp + 0x60], edx
test ecx, ecx
je 0x1014ae73
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x38]
sar ecx, 1
add ecx, dword [esp + 0x88]
jmp 0x1014ae78
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.101225e0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x84]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x38]
inc dword [eax]
test dl, 2
je 0x1014aeb1
movss xmm1, dword [0x106541ec]
jmp 0x1014aeb6
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xc4]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x128], xmm1
test dl, dl
jns 0x1014af04
push str.Current
call fcn.1013c9b0
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
lea ecx, [esp + 0x64]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x106542ac]
push ecx
mov dword [esp + 0x88], edx
mov ecx, str.current
push edx
movss dword [esp + 0x90], xmm0
lea edx, [esp + 0x124]
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x70], xmm0
call fcn.1014c6e0
add esp, 8
cmp dword [esp + 0x5c], 0
je 0x1014b028
push str.Original
call fcn.1013c9b0
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x5c]
je 0x1014af8c
movss xmm1, dword [0x106541ec]
jmp 0x1014af91
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf8]
movss dword [esp + 0xf8], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x64]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [esp + 0x88]
push eax
push dword [esp + 0x88]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x70], xmm0
call fcn.1014c6e0
add esp, 8
test al, al
je 0x1014b028
xor eax, eax
cmp dword [esp + 0xb0], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x60]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x106d663c]
dec dword [edx + 0x3fa4]
mov eax, dword [edx + 0x3fac]
mov ecx, dword [edx + 0x3fa4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x3ec0], eax
call fcn.1011b8e0
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
jne 0x1014b065
cmp byte [esp + 0xb], 0
je 0x1014b119
test edx, 0x8000000
je 0x1014b0f1
movss xmm2, dword [esp + 0x3c]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x20]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.1010eda0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
movss xmm0, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x70], 0
movss dword [eax + 0x5158], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x515c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x6c], xmm0
call fcn.1010ecf0
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x5160], eax
jmp 0x1014b119
test edx, 0x10000000
je 0x1014b119
movss xmm0, dword [esp + 0x10]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xa], 0
test al, 0x20
jne 0x1014b35e
cmp dword [esp + 0xcc], 0x10000
jne 0x1014b142
movss xmm0, dword [esp + 0xc8]
jmp 0x1014b14b
movss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0x58]
subss xmm0, dword [esp + 0x48]
call fcn.1011b5f0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x5c], ecx
test eax, 0x100000
jne 0x1014b17a
test eax, 0x700000
jne 0x1014b1c1
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10148aa0
add esp, 4
test al, al
je 0x1014b1b9
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x3e68], 0
je 0x1014b1af
cmp byte [eax + 0x3e75], 0
mov byte [esp + 0xa], 1
je 0x1014b1b4
mov byte [esp + 0xa], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1014b1cf
test eax, 0x700000
jne 0x1014b1ed
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10148aa0
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1014b1fb
test eax, 0x700000
jne 0x1014b218
mov eax, dword [esp + 0x5c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10148aa0
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xa], 0
mov ecx, dword [0x106d663c]
mov eax, dword [ecx + 0x3e30]
mov byte [eax + 0x9c], 1
mov edx, dword [ecx + 0x3e30]
mov ecx, dword [edx + 0x198]
mov eax, dword [edx + 0x1a0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x190], eax
lea eax, [ecx - 1]
mov dword [edx + 0x198], eax
mov eax, dword [esp + 0xc]
je 0x1014b35e
test eax, 0x8000000
je 0x1014b35e
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1014b294
movss xmm6, dword [0x10654448]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1014b2b1
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10654434]
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 [0x1065413c]
movaps xmm7, xmm1
mulss xmm1, dword [0x106542dc]
divss xmm7, xmm0
addss xmm1, dword [0x1065413c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x106549d0]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1014b366
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm2
jbe 0x1014b366
comiss xmm2, xmm4
jb 0x1014b333
movss xmm1, dword [esp + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1014b32f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x106541ac]
jmp 0x1014b349
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1014b366
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm1, dword [0x106541ac]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.1010eda0
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm6, dword [0x106549d0]
cmp byte [esp + 9], 0
je 0x1014b4d0
test eax, 0x8000000
je 0x1014b464
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x54], xmm1
jbe 0x1014b3b8
movss xmm4, dword [0x10654448]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x3c], xmm3
jbe 0x1014b3e1
movss xmm0, dword [0x10654434]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x3c], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x106542dc]
addss xmm0, dword [0x1065413c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1065413c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
call fcn.101489b0
movss xmm3, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x1014b4d6
test eax, 0x10000000
je 0x1014b4d0
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x78]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x90]
movss xmm0, dword [edi]
lea ecx, [esp + 0x74]
movss dword [esp + 0x3c], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x24], xmm3
call fcn.1010eda0
movss xmm0, dword [esp + 0x78]
add esp, 4
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x54], xmm0
movss xmm3, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x37b0]
comiss xmm0, xmm2
movss xmm0, dword [0x106541ec]
jbe 0x1014b4f7
xorps xmm1, xmm1
jmp 0x1014b4fe
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x106543b0]
mov dword [esp + 0x64], 0x3f800000
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x68], 0x3f800000
addss xmm1, dword [0x106541ac]
mov dword [esp + 0x6c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x44], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x38], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xdc], ecx
or eax, 0x808080
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x64]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xe0], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xec], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x68]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0x6c]
push eax
call fcn.1010eda0
movss xmm3, dword [esp + 0x68]
xorps xmm1, xmm1
movss xmm2, dword [0x106541ec]
add esp, 4
comiss xmm1, xmm3
jbe 0x1014b5e2
xorps xmm0, xmm0
jmp 0x1014b5e9
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x106543b0]
movss xmm4, dword [0x106541ac]
movss xmm5, dword [esp + 0x68]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1014b615
xorps xmm0, xmm0
jmp 0x1014b61c
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x6c]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1014b63d
xorps xmm0, xmm0
jmp 0x1014b644
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x70]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm5
jbe 0x1014b665
xorps xmm0, xmm0
jmp 0x1014b66c
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x40]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
comiss xmm1, xmm5
mov dword [esp + 0x90], eax
jbe 0x1014b694
xorps xmm0, xmm0
jmp 0x1014b69b
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x7c]
comiss xmm1, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1014b6b7
xorps xmm0, xmm0
jmp 0x1014b6be
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x54]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1014b6df
xorps xmm0, xmm0
jmp 0x1014b6e6
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x2c]
movss xmm5, dword [eax + 0x37b0]
comiss xmm1, xmm5
jbe 0x1014b70d
xorps xmm0, xmm0
jmp 0x1014b714
movaps xmm0, xmm2
minss xmm0, xmm5
mov eax, dword [esp + 0xc]
mulss xmm0, xmm3
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
addss xmm0, xmm4
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x7c], edx
test eax, 0x4000000
je 0x1014bf93
movss xmm0, dword [esp + 0x80]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x98]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
mov esi, dword [esp + 0x28]
addss xmm5, xmm0
cvttss2si ecx, xmm0
mulss xmm5, xmm4
imul ecx
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xd4], xmm5
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 + 0xb8], ecx
mov dword [esp + 0x54], eax
movd xmm1, eax
lea eax, [esp + 0x10c]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x106542dc]
divss xmm1, dword [0x106542dc]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x106542b0]
mulss xmm1, dword [0x106542b0]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x48], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x80], xmm1
call fcn.1012ca60
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x40]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1012b540
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x40]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x60], 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 + 0x98]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x74]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x74]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x88], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x88]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x60]
movss xmm6, dword [esp + 0x84]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x106541ec]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x98]
lea eax, [eax + eax*4]
mov ecx, dword [esp + ecx*4 + 0xdc]
lea eax, [edx + eax*4]
mulss xmm0, xmm3
movaps xmm7, xmm2
addss xmm4, dword [esp + 0xb4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov dword [esp + 0x88], eax
lea esi, [esp + 0xe0]
movzx eax, cl
mov dword [esp + 0x5c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x74], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + eax*4]
mov esi, dword [esp + 0x28]
movzx eax, cl
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x74]
shr ecx, 0x10
mov dword [esp + 0x94], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x88]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x84], ecx
cmp edx, edi
jae 0x1014ba98
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x60]
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1014b9fe
xorps xmm2, xmm2
jmp 0x1014ba02
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x40]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x74]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x106541ec]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x94]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x84]
cmp edx, edi
jb 0x1014b9d0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
movss xmm5, dword [esp + 0xd4]
inc eax
movss xmm3, dword [esp + 0xd0]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x54], eax
cmp eax, 6
jl 0x1014b7b0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x10654250]
mulss xmm0, dword [0x106542b0]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x17], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x98]
addss xmm3, dword [esp + 0x80]
movss xmm1, dword [esp + 0x9c]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x1c]
mulss xmm3, xmm2
mulss xmm0, dword [0x106541ac]
mulss xmm3, dword [0x106541ac]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x88], xmm2
addss xmm3, dword [esp + 0xb4]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm3
je 0x1014bb76
mulss xmm1, dword [0x106541b8]
jmp 0x1014bb7e
mulss xmm1, dword [0x106541b0]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
divss xmm0, dword [0x10654218]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1014bba2
mov esi, 9
jmp 0x1014bbad
cmp esi, 0x20
mov eax, 0x20
cmovg esi, eax
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x48]
push esi
push dword [esp + 0x94]
movaps xmm2, xmm1
mov ecx, edi
push eax
call fcn.1012d9b0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x48]
addss xmm2, dword [0x106541ec]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x80]
push eax
call fcn.1012d8f0
movss xmm2, dword [esp + 0x9c]
lea eax, [esp + 0x48]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x40]
push esi
push eax
call fcn.1012d8f0
movss xmm3, dword [esp + 0x1c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x88]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x106d663c]
movss xmm6, dword [esp + 0xc0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xb8]
mulss xmm4, dword [esp + 0xa4]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xa8]
addss xmm2, xmm6
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x6c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xac]
mulss xmm5, dword [esp + 0xb0]
addss xmm2, xmm7
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x5c], xmm4
addss xmm3, xmm7
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3bd4]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x3bd8]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x118], xmm3
movss dword [esp + 0x68], xmm0
mov ecx, edi
call fcn.1012b2e0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x80]
movss xmm3, dword [esp + 0x40]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x60]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x90]
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x54]
movss xmm6, dword [esp + 0x1c]
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], xmm5
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], 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], xmm7
movss dword [eax + 4], xmm6
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], xmm2
movss dword [eax + 4], xmm3
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
mov ecx, dword [esp + 0x44]
movss dword [eax], xmm5
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], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
push ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x7c]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
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
lea eax, [esp + 0x114]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1012d6c0
movss xmm0, dword [0x106541ec]
xorps xmm1, xmm1
movaps xmm2, xmm0
subss xmm2, dword [esp + 0x3c]
comiss xmm1, xmm2
jbe 0x1014bf04
xorps xmm5, xmm5
jmp 0x1014bf0b
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x20]
comiss xmm1, xmm2
jbe 0x1014bf1b
xorps xmm4, xmm4
jmp 0x1014bf22
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x54]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
mov esi, dword [esp + 0xc4]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x54]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xf8], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x1c]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0xfc], xmm2
jmp 0x1014c313
test eax, 0x2000000
je 0x1014c31e
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x18]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x38]
addss xmm0, xmm2
mov eax, dword [esp + 0x90]
addss xmm1, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x94], xmm1
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1012d540
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10c]
movss xmm0, dword [esp + 0x80]
push ecx
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
movss dword [esp + 0x120], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x128], xmm0
call fcn.1012d540
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x8c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1010ffd0
movss xmm3, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x106541ec]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x1014c094
xorps xmm2, xmm2
jmp 0x1014c09b
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [esp + 0x18]
movss xmm6, dword [esp + 0x48]
movss xmm3, dword [0x106541ac]
mulss xmm2, xmm4
movss xmm7, dword [0x10654250]
addss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
movaps xmm2, xmm6
addss xmm6, xmm4
addss xmm2, xmm7
movd xmm5, eax
cvtdq2ps xmm5, xmm5
subss xmm6, xmm7
comiss xmm2, xmm5
jbe 0x1014c0ed
movss dword [esp + 0xf8], xmm2
jmp 0x1014c106
comiss xmm5, xmm6
jbe 0x1014c0fd
movss dword [esp + 0xf8], xmm6
jmp 0x1014c106
movss dword [esp + 0xf8], xmm5
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x1014c119
xorps xmm1, xmm1
jmp 0x1014c11d
minss xmm1, xmm2
movss xmm2, dword [esp + 0x24]
mulss xmm1, xmm4
movss xmm0, dword [esp + 0x34]
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 0x1014c15b
movss dword [esp + 0xfc], xmm1
jmp 0x1014c174
comiss xmm3, xmm0
jbe 0x1014c16b
movss dword [esp + 0xfc], xmm0
jmp 0x1014c174
movss dword [esp + 0xfc], xmm3
movss xmm3, dword [esp + 0x94]
lea eax, [esp + 0xe0]
movaps xmm1, xmm4
mov esi, dword [esp + 0x28]
divss xmm1, dword [0x106542dc]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0x64], xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x10c], xmm0
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x114]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x118], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe4]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x78]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x80], xmm0
call fcn.1012d540
movss xmm1, dword [esp + 0x88]
lea eax, [esp + 0xe0]
movss xmm2, dword [esp + 0x24]
mov ecx, edi
cmp ecx, 6
jl 0x1014c1b6
movss xmm3, dword [esp + 0x94]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x18]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm1
push dword [esp + 0x34]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1010ffd0
mov esi, dword [esp + 0xd4]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x10654250]
mov ecx, dword [esp + 0x38]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x106541ec]
movss xmm2, dword [esp + 0xa4]
push dword [esp + 0x44]
subss xmm2, dword [0x106541ec]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x44]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x106541ac]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x37b0]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10149c60
add esp, 0x20
xorps xmm1, xmm1
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0xac]
cmp byte [esp + 0xb], 0
je 0x1014c338
movss xmm2, dword [0x106542f0]
movss dword [esp + 0xbc], xmm2
jmp 0x1014c340
movss xmm2, dword [0x106542dc]
test edx, 0xff000000
je 0x1014c38d
comiss xmm1, xmm2
jae 0x1014c38d
push 0xb
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x100]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.1012ca60
mov eax, dword [esp + 0x28]
mov ecx, eax
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1012c220
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
jmp 0x1014c391
mov eax, dword [esp + 0x28]
test dword [esp + 0x78], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xbc]
movaps xmm2, xmm1
addss xmm2, dword [0x106541ec]
je 0x1014c414
comiss xmm0, xmm2
jae 0x1014c414
subss xmm2, dword [0x106541ac]
push 0xb
push ecx
lea ecx, [esp + 0x100]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
mov ecx, eax
call fcn.1012ca60
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x80]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1012b540
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xbc]
mov dword [eax + 0x54], 0
test dword [esp + 0x38], 0xff000000
je 0x1014c474
comiss xmm0, xmm1
jae 0x1014c474
subss xmm1, dword [0x106541ac]
push 0xb
push ecx
lea ecx, [esp + 0x100]
mov dword [esp], 0x40b84e89
push ecx
xorps xmm3, xmm3
movaps xmm2, xmm1
mov ecx, eax
call fcn.1012ca60
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x40]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1012b540
mov eax, dword [esp + 0x28]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xcc], 0x10000
jne 0x1014c61f
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1014c49a
movss dword [esp + 0x44], xmm1
jmp 0x1014c4ac
movss xmm0, dword [0x106541ec]
minss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0xc8]
xor edx, edx
movss xmm0, dword [esp + 0x24]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
movss dword [esp + 0x110], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x11c], xmm2
subss xmm2, xmm3
movss dword [esp + 0x120], xmm0
push dword [esp + 0x120]
movss dword [esp + 0x118], xmm3
xorps xmm3, xmm3
push dword [esp + 0x120]
mov edi, dword [esp + 0x11c]
push dword [esp + 0x120]
mulss xmm2, dword [0x106541ac]
push edi
push 0
call fcn.10131dd0
mov ecx, dword [esp + 0x98]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.1012d540
push dword [esp + 0x118]
xorps xmm0, xmm0
push dword [esp + 0x118]
push dword [esp + 0x118]
push edi
call fcn.1010ffd0
movss xmm1, dword [0x106541ec]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x38]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0xd8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x54]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x60], xmm2
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x106541ac]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x10654250]
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x37b0]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10149c60
add esp, 0x20
call fcn.1011b8e0
cmp byte [esp + 9], 0
mov edi, dword [0x106d663c]
je 0x1014c6ba
mov ecx, dword [esp + 0xac]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xb0], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1014c671
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1014c676
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1014c660
cmp edx, 0xfffffffc
je 0x1014c6b5
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1014c6a3
cmp edx, 0xfffffffd
je 0x1014c6b5
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1014c6a3
cmp edx, 0xfffffffe
je 0x1014c6b5
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1014c6a3
cmp edx, 0xffffffff
je 0x1014c6b5
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1014c6b5
or dword [edi + 0x3ee0], 4
mov word [edi + 0x3e78], 0x101
jmp 0x1014c6ba
mov byte [esp + 9], 0
mov ecx, dword [edi + 0x3e30]
mov al, byte [esp + 9]
pop edi
pop esi
dec dword [ecx + 0xd4]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.102c15f2
mov esp, ebp
pop ebp
ret