Persistence is achieved by setting the following registry key:  HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run  HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run  The name of the registry key in the above instances is derived from the basename of the supplied argument.