Audacity.
Audacity: Free Audio Editor and Recorder
You can record it directly through your soundcard, aka getting exactly what you hear. Just start recording, play the song, then stop recording, and trim it down, export as MP3 after installing the lame_enc.dll file, which there should be a link to somewhere on their sourceforge site.