Winamp doesn't have a record function so you have to output to WAV with the "Nullsoft Disk Writer".
Capture the audio from the soundcard with the URL "linein://"
If you play a file it will convert the file to WAV
Personally I wouldn't mess about with such a hack unless needed.
Get Audacity and do it properly
https://www.audacityteam.org