© 2020 authors. Published by the American Physical Society.The observed cross sections for e+e-→μ+μ- at energies from 3.8 to 4.6 GeV are measured using data samples taken with the BESIII detector operated at the BEPCII collider. We measure the muonic widths and determine the branching fractions of the charmonium states ψ(4040), ψ(4160), and ψ(4415) decaying to μ+μ-, as well as making a first determination of the phase of the amplitudes. In addition, we observe evidence for a structure in the dimuon cross section near 4.220 GeV/c2, which we denote as S(4220). Analyzing a coherent sum of amplitudes yields eight solutions, one of which gives a mass of MS(4220)=4216.7±8.9±4.1 MeV/c2, a total width of ΓS(4220)tot=47.2±22.8±10.5 MeV, and a muonic width of ΓS(4220)μμ=1.53±1.26±0.54 keV, where the first uncertainties are statistical and the second systematic. The eight solutions give the central values of the mass, total width, muonic width to be, respectively, in the range from 4212.8 to 4219.4 MeV/c2, from 36.4 to 49.6 MeV, and from 1.09 to 1.53 keV. The statistical significance of the S(4220) signal is 3.9σ. Correcting the total dimuon cross section for radiative effects yields a statistical significance for this structure of 8.1σ.