Registration procedure


I'd like to outsource the account registration of my XenForo forums.
For that I need the procedure that registers accounts at XenForo.

Sadly I did not find it neither in the database nor in the ftp files. And due to the database's complexity it's hard to manually rebuild such a procedure.

Does someone of you guys know where the default procedure is located?

Best regards