It HAS to have a SIM, that is what gives it network access! Maybe it doesn't have a memory card you mean? The SIM card doesn't contain your pictures or contacts (for the most part). There may be a couple ways you can retrieve the data. Were you using the Google Cloud? If so you are set, your pictures should be in
http://photos.google.com, and your contacts will be saved under your Google email, and will sync with your new phone once you add the google account to it. IF you were not on the cloud, you MAY be able to use Samsung SideSync to copy your data to your PC or Mac for later copying to your new phone, PROVIDING your computer can "see" the phone still (MAYBE since you say it is still semi working). Lastly you MIGHT be able to get your cell carrier to do the job for you, they have special equipment called a cellebrite machine, which connects phones together and syncs info and it can handle just about ANY phones.