Cat 5 only uses 4 out of the 8 wires in the cable. You'd need to do a continuity and isolation test on each individual wire in the cable and hopefully you'd come up with 4 good wires out of the 8. Make sure the 4 wires you choose have continuity from one end to the other and no continuity with another wire in the bundle. If you have to mix & match colors to get 2 good pairs- you may lose some network speed, but I'd give it a try.