What you said above is absolutely impossible. The local tax administrator needs your bank statement of equity transfer: A transfers the equity (3 million) from basic deposit account in C to his account, and then B deposits 3 million in basic deposit account to buy equity for C.. Thus, the equity transfer is completed.
Separate withdrawal of funds belongs to withdrawal of funds.