Cut your losses, leave, and make sure the deal makes sense next time BEFORE you do any work. I get offers every day from people that want me to do 90% of the work of their startup for no pay and 3%. Passssssssss.