I can create such a program for you. I run a membership site myself. and I have my own affiliate program where members can copy my banner and paste it on their site. If some one clicks on it he is registered and if he is registered the members commission tables. This is just a small part of it besides that I know there are many things. Let me know about your system requirement.
Let me know if we can discuss this further.