Histone acetyltransferase that plays a direct role in the specific histone acetylation associated with dosage compensation as part of the male-specific lethal (MSL) complex (PubMed:9155031, PubMed:16543150, PubMed:34133927). Dosage compensation insures that males with a single X chromosome have the same amount of most X-linked gene products as females with two X chromosomes (PubMed:9155031). May be directly involved in the acetylation of histone 4 at 'Lys-16' on the X chromosome of males where it is recruited by the MSL complex (PubMed:11258702). As part of the nonspecific lethal (NLS) complex may associate with promoters of X chromosomal as well as autosomal genes and positively regulate their transcription through chromatin modification (PubMed:20620954). acetyl-CoA + L-lysyl-[protein] = CoA + H(+) + N(6)-acetyl-L-lysyl-[protein] Component of the male-specific lethal (MSL) histone acetyltransferase complex at least composed of mof, msl-1, msl-2 and msl-3 (PubMed:20620954, PubMed:16543150). Component of the non-specific lethal (NLS) histone acetyltransferase complex at least composed of mof, nls1, dgt1/NSL2, Rcd1/NSL3, Rcd5/MCRS2, MBD-R2 and wds (PubMed:16543150, PubMed:20620954). In males, interacts with nucleoporin Mtor (PubMed:34133927). Autoacetylation at Lys-638 is required for binding histone H4 with high affinity and for proper function. RNAi-mediated knockdown in male salivary glands, decreases chromosome X gene expression (PubMed:34133927). Simultaneous RNAi-mediated knockdown of mof with RNAi-mediated knockdown of Mtor in male salivary glands rescues the decrease in chromosome X gene expression (PubMed:34133927). Belongs to the MYST (SAS/MOZ) family.