Joboshare
Xilisoft
^^^^^ There are a couple of programs you can use to rip the music and movies off of your iphone.. there are probably some free open source ones out there somewhere, but i don't know any windows ones...
I would just download one, and use it for the trial period, rip your stuff, import it all into itunes, and then when you "erase and sync" then it won't really delete anything... then you can uninstall the ripping program... it's a lot of work, but idk any other route...
i would backup your contacts and pics too, if you are worried about those...
hope that helps...