Surgery

Biopsy from a mole on the foot shows cytologic atypia of melanocytes and diffuse epidermal infiltration by anaplastic cells, which are also present in the papillary and reticular dermis. The most likely diagnosis is: