Using the Msinfo checking method for winsoc from the MS article mentioned by scythe994 I get the following:
Method 2: Use the Msinfo32 program
Note Use this method only if you do not have a Windows XP Setup CD and you do not have Support Tools installed.
1. Click Start, click Run, type Msinfo32, and then click OK.
2. Expand Components, expand Network, and then click Protocol.
3. You will have ten sections under Protocol. The section headings will include the following names if the Winsock2 key is undamaged:
* MSAFD Tcpip [TCP/IP] present as listed
* MSAFD Tcpip [UDP/IP] present as listed
* RSVP UDP Service Provider present as listed
* RSVP TCP Service Provider present as listed
* MSAFD NetBIOS [\Device\NetBT_Tcpip... none of the rest of these is listed "MSADF" - but I am running Windows X64
* MSAFD NetBIOS [\Device\NetBT_Tcpip...
* MSAFD NetBIOS [\Device\NetBT_Tcpip...
* MSAFD NetBIOS [\Device\NetBT_Tcpip...
* MSAFD NetBIOS [\Device\NetBT_Tcpip...
* MSAFD NetBIOS [\Device\NetBT_Tcpip...
If the names are anything different from those in this list, the Winsock2 key is corrupted, or you have a third-party add-on, such as proxy software, installed.