KSE-100 index lost 165 points to profit-taking