You may actually have some SHSH blobs saved for your device, since Cydia automatically tries to save any available SHSH blobs every time you open Cydia. Also, I believe Apple is still signing iOS 4.1 for iPhone 3GS (I don't know why though).
You can use TinyUmbrella (a free tool compatible with OS X and Windows) to check your saved SHSH - plug your device into your computer, click the "Advanced" tab in TinyUmbrella, check "Request SHSH from Cydia", and then click "Save SHSH".
If you find that you have suitable SHSH saved for your device, you can use this guide to stitch the SHSH blobs into custom firmware (using redsn0w) and then restore with that firmware.