Pilate asked Jesus only whether he was a son of God. Jesus didn't deny and said as he said so. Virtually he admitted that he was a son of God. At that time a title son of God was only used for Caesar or more specifically for Epiphanes. Pilate must have known Jesus was guilty for high treason judging from the way he replied.