2 ways:
1. download .dll from server directly into the memory after successful login
2. add .dll to resources of the loader and then extract it after successful login (less secure)
in both ways I suggest you to encrypt .dll file (with AES or sth similar)