Catalyzes diesterification of phthiocerol, phthiodiolone, and phenolphthiocerol with mycocerosic acids, the final step in the phthiocerol, phthiodiolone and phenolphthiocerol dimycocerosate esters (PDIM) synthesis. Can directly transfer the mycocerosate bound to the mycocerosic acid synthase (mas) onto the substrate alcohols. Is also able to catalyze acyl transfer using various nucleophiles as acceptors and several acyl-CoA thioesters as donors in vitro; preference is observed for saturated medium chain alcohols and long chain acyl-CoA thioesters. 2 a mycocerosyl-[mycocerosic acid synthase] + a phthiocerol = a dimycocerosyl phthiocerol + 2 holo-[mycocerosic acid synthase]. 2 a mycocerosyl-[mycocerosic acid synthase] + a phthiodiolone = a dimycocerosyl phthiodiolone + 2 holo-[mycocerosic acid synthase]. 2 a mycocerosyl-[mycocerosic acid synthase] + a phenolphthiocerol = a dimycocerosyl phenolphthiocerol + 2 holo-[mycocerosic acid synthase]. hexadecanoyl-CoA + octan-1-ol = CoA + octyl hexadecanoyl hexadecanoyl-CoA + nonan-1-ol = CoA + nonyl hexadecanoate decan-1-ol + hexadecanoyl-CoA = CoA + decanyl hexadecanoate hexadecanoyl-CoA + tetradecan-1-ol = CoA + tetradecanyl hexadecanoate hexadecan-1-ol + hexadecanoyl-CoA = CoA + hexadecanyl hexadecanoate hexadecanoyl-CoA + octadecan-1-ol = CoA + octadecanyl hexadecanoate eicosan-1-ol + hexadecanoyl-CoA = CoA + eicosanyl hexadecanoate (9E)-octadecenoyl-CoA + hexadecan-1-ol = CoA + hexadecanyl (9E)-octadecenoate (9Z)-octadecenoyl-CoA + hexadecan-1-ol = CoA + hexadecanyl (9Z)-octadecenoate dodecanoyl-CoA + hexadecan-1-ol = CoA + hexadecanyl dodecanoate hexadecan-1-ol + octadecanoyl-CoA = CoA + hexadecanyl octadecanoate Optimum pH is 6.5. Monomer. Interacts directly with the acyl carrier protein (ACP) domain of the mycocerosic acid synthase (mas) protein. Interacts with FhaB. Consists of two structural domains that are related to each other. Phosphorylated by PknB at Thr-198 (PubMed:19826007, PubMed:26271001). Dephosphorylated by PstP (PubMed:19826007). Was identified as a high-confidence drug target. Belongs to the acyltransferase PapA5 family.