Those do look like legitimate open ports.
Download the attached zip file, extract it to get the Registry (REG) file and run it please. Merge it to the Registry and reboot your computer.
Let me know how it goes. You have to reboot twice. The first time, it will probably hang. The second time should reveal the problem is fixed, if it is quicker to shutdown and even boot up.
Sometimes, devices that need a driver update may hang Windows at shutdown or boot up.
If this doesn't work (the REG file), reboot to Safe Mode with Networking, wait for a little while, then shutdown. Problem the same?
If so, access the performance information, by click Start > type View
Performance Details - or
Performance Info
We need the info from View Performance Information. It'll state what problems are happening, and how to resolve them.