Complex sentence: It's revealed afterwards that Sora is actually an agent of EVE sent to infiltrate the Leo Corporation with his memories restored as he is no longer to maintain the charade.
Split into simpler sentences: It's revealed afterwards that Sora is actually an agent of EVE sent to infiltrate the Leo Corporation. His memories is restored as he is no longer to maintain the charade.