Psych (someone) out psych out (someone)

To find out the real motives or intentions of someone.

I tried to psych out the salesman to see how much he would sell the car for.