Around two years ago I washed and dried my passport by mistake at the laundry room. My ID, my old US student visa and my stamps from european countries are still readable but the pages are not "flat" anymore and the front cover is kind of erasing (some parts of the Brazil symbol is gone). 

In April I'll travel to US for a conference, I'll need to get a new US visa (B1/tourism visa) but I'm worried if my passport is not "good to go" anymore because it was "washed and dried". Apparently there is an electronic chip in it and I don't know if it is still working.

Should I get a new passport or can I save some money and time and use this one? It expires only in 2019.