How to transfer music from iPhone 4S to iTunes?

Recently my laptop broke and although, thankfully, it was fixed, it was also restored to its factory settings so I lost all my music because I stupidly didn't back it up. All the songs that I want on my laptop and iTunes are on my iPhone but I don't know how to get them there. I tried the Cucusoft programme but the trial only transfers 3 songs at a time and I have 369. :/ Please Help?

Added (1). I think you guys are missing the point here: the music's on my IPHONE and I want to copy it onto my ITUNES. There's no songs on my iTunes at the moment because its been restored.

You go on itunes, connect your device, from the left panel you will find your device, choose it.

Then click on music and choose the songs you like, and click sync on the bottom right corner of the iTunes.

Here is a proper step by step guide:
http://support.apple.com/.../kb/ht1535

Download iTunes onto your laptop, plug your iPhone in to your laptop using the extension cord (same cord as the charger) and it should backup all your files including music onto iTunes on your laptop.