A dna-methyltransferase that catalyzes the transfer of a methyl group from s-adenosylmethionine to the exocyclic NH2 group at the 4 position of cytosine.