The function of ZFPM2 (zinc finger protein, FOG family member 2, Ensembl gene identifier ENSG00000169946) is as follows. Transcription regulator that plays a central role in heart morphogenesis and development of coronary vessels from epicardium, by regulating genes that are essential during cardiogenesis. Essential cofactor that acts via the formation of a heterodimer with transcription factors of the GATA family GATA4, GATA5 and GATA6. Such heterodimer can both activate or repress transcriptional activity, depending on the cell and promoter context. Also required in gonadal differentiation, possibly be regulating expression of SRY. Probably acts a corepressor of NR2F2 (By similarity). {ECO:0000250, ECO:0000269|PubMed:10438528}.