Unscrambling entanglement through a complex medium