At Sundance, the brutally funny comedian tells Krista Smith how she approached her first dramatic role.