The function of MX2 (MX dynamin like GTPase 2, ENSG00000183486) is as follows. Interferon-induced dynamin-like GTPase with potent antiviral activity against human immunodeficiency virus type 1 (HIV-1). Acts by targeting the viral capsid and affects the nuclear uptake and/or stability of the HIV-1 replication complex and the subsequent chromosomal integration of the proviral DNA. Exhibits antiviral activity also against simian immunodeficiency virus (SIV-mnd). May play a role in regulating nucleocytoplasmic transport and cell-cycle progression. {ECO:0000269|PubMed:15184662, ECO:0000269|PubMed:24048477, ECO:0000269|PubMed:24055605, ECO:0000269|PubMed:24121441}.