Your post is not clear in some aspects:
1. Is the institute a WLL company? If it is WLL it is not 100K but 200K
2.Is your friend going to buy whole of shares or only the share of the foreign partner?

It is true that you have to deposit a total sum of 200K in bank account when you start a new WLL company, this can be withdrawn once the registration formalities are over.