Dammit, forgot about Masquerade. Well, ignoring Masquerade and Possession, the answer is:
Hand of King's Court, King's Court, Scheme, Scheme, Moat.
Play King's Court, King's Court, Scheme, Scheme, drawing six cards.
Play King's Court, Scheme, Scheme.
You now have three "King's Courts" left to triple your three terminals.
Play Moat.
Your four King's Court-ed Schemes allow you to put 12 Actions back on your deck.
Put them back in this order: Terminal, Terminal, Terminal, Scheme, Scheme, King's Court, Moat, Scheme, Scheme, King's Court, King's Court.