Welcome to Apple Support Communities.
You have adware. Use the free version of Malwarebytes for Mac to remove it.
Delete LaCie software. It is not needed.
Go through and delete the Internet Plug-Ins in /Library/Internet Plug-Ins/ and ~/Library/Internet Plug-Ins/.
Other than that, the reason your iMac is very slow is due to the 5400 rpm hard drive. If you use an external SSD and run macOS from that, it will make your Mac 10 to 30 times faster for storage. For more info, instructions, and what external SSD to buy, please read: How to Setup and Use an External SSD as y… - Apple Community.
Cheers,
Jack