While grappling with his wife’s infidelity, an NYPD detective investigates the murder of a gay man, which he discovers is linked to official corruption involving sex and drugs.