REGISTRATION AND PURCHASE AGREEMENT