Function at 0x416a87
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Delete registry value
Persist via run registry key
Self delete
Set registry value

Disassembly:
push ebp
sub esp, 0x28c
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push 0x28
mov eax, 0x4a886f
call fcn.0047276e
xor esi, esi
push esi
push esi
push str.inst_done
mov edi, ecx
call fcn.0040e642
add esp, 0xc
mov ebx, 0x80000001
cmp dword [edi + 0x584], esi
jne 0x416b74
push 3
push str.Software_fbd30ee5_8150_549e_9aed_fd9d444319
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040c0ed
cmp eax, 2
jne 0x416b01
push esi
push esi
push 0x2001f
push esi
push esi
push str.Software_fbd30ee5_8150_549e_9aed_fd9d444319
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040c093
cmp eax, esi
jne 0x416b6c
lea eax, [ebp - 0x10]
push eax
push str.inst_times
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.0040c12e
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push esi
push str.inst_times
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.00477c36
mov eax, dword [ebp - 0x28]
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0xb
push esi
push str.inst_time
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x18]
call fcn.0040c078
lea eax, [edi + 0x310]
cmp dword [eax], esi
je 0x416b8c
mov eax, dword [eax]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xd4]
mov ecx, dword [edi + 0x340]
cmp ecx, esi
je 0x416ba4
call fcn.0043f1f0
test al, al
je 0x416ba4
xor eax, eax
inc eax
jmp 0x416ba6
xor eax, eax
cmp dword [edi + 0x584], esi
jne 0x416be1
cmp eax, esi
je 0x416bd5
push dword [edi + 0x58c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416bd5
push dword [edi + 0x58c]
call fcn.0040ce59
pop ecx
call fcn.0040cdeb
jmp 0x416c16
cmp dword [edi + 0x584], esi
je 0x416dd6
cmp dword [edi + 0x594], esi
je 0x416c01
call fcn.0040cc00
test eax, eax
jne 0x416bce
call fcn.0040cfd8
call fcn.0040cf6e
jmp 0x416dd6
call fcn.0040cd9e
test eax, eax
je 0x416bf2
push dword [edi + 0x58c]
call fcn.0040ce59
pop ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push esi
push esi
push 0x2001f
push esi
push esi
push str.Folder_shellopennewwindowcommand
push 0x80000000
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0040c093
cmp eax, esi
jne 0x416ce8
push 0x4d7a78
lea ecx, [ebp - 0x10]
call fcn.0040cb1b
push dword [edi + 0x58c]
lea eax, [ebp - 0x10]
push str.__s_
push eax
mov byte [ebp - 4], 1
call fcn.0040dc83
add esp, 0xc
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push esi
call fcn.0040c1ef
xor eax, eax
push 0x80
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.00472c30
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x208]
push eax
push str.DelegateExecute
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41
call fcn.0040c166
cmp eax, esi
jne 0x416cdd
push 1
lea eax, [ebp + 0x208]
push eax
push str.DelegateExecute0
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
push str.DelegateExecute
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
lea ecx, [ebp - 0x18]
call fcn.0040c078
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push esi
push esi
push 0x2001f
push esi
push esi
push str.SoftwareClassesFolder_shell_newwindow
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.0040c093
cmp eax, esi
jne 0x416dce
push 1
push 0x4ac570
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
push esi
push esi
push 0x2001f
push esi
push esi
push str.SoftwareClassesFolder_shell_newwindowcommand
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040c093
cmp eax, esi
jne 0x416dce
push 0x4d7a78
lea ecx, [ebp - 0x10]
call fcn.0040cb1b
push dword [edi + 0x58c]
lea eax, [ebp - 0x10]
push str.__s___OpenInNewWindow____1_
push eax
mov byte [ebp - 4], 3
call fcn.0040dc83
add esp, 0xc
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push esi
call fcn.0040c1ef
cmp eax, esi
jne 0x416d8f
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
cmp dword [ebp - 0x1c], esi
je 0x416dce
push 0x2001f
push str.SoftwareClassesFolder_shellopennewwindow
push SysStringLen
lea ecx, [ebp - 0x18]
call fcn.0040c0ed
cmp eax, esi
jne 0x416dce
push 1
push 0x4ca314
push str.ProgrammaticAccessOnly
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
lea ecx, [ebp - 0x18]
call fcn.0040c078
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 1
push str.SOFTWARE360FileBrowserSetting
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
call fcn.0040c0ed
cmp eax, esi
jne 0x416e0b
lea eax, [ebp - 0x34]
push eax
push str.autorun
lea ecx, [ebp - 0x18]
call fcn.0040c12e
cmp dword [ebp - 0x34], esi
jne 0x416e6e
push 0x4d7a78
lea ecx, [ebp - 0x10]
call fcn.0040cb1b
lea eax, [ebp - 0x10]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push eax
mov byte [ebp - 4], 5
call fcn.0040dc83
pop ecx
pop ecx
push 2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0040c0ed
cmp eax, esi
jne 0x416e57
push str.fbstart
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x28]
call fcn.0040c078
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040c248
lea eax, [edi + 0x334]
cmp dword [eax], esi
je 0x416e85
mov eax, dword [eax]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xc8]
lea eax, [edi + 0x324]
cmp dword [eax], esi
je 0x416e9c
mov eax, dword [eax]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xc8]
lea eax, [edi + 0x320]
cmp dword [eax], esi
je 0x416eb3
mov eax, dword [eax]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xc8]
lea eax, [edi + 0x328]
cmp dword [eax], esi
je 0x416eca
mov eax, dword [eax]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xc8]
lea eax, [edi + 0x330]
cmp dword [eax], esi
je 0x416ee2
mov eax, dword [eax]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xc8]
cmp dword [edi + 0x590], esi
je 0x416ef5
push esi
push esi
push 0x10
mov ecx, edi
call fcn.0042b52b
push 0x4ac3c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x416fdf
lea ebx, [edi + 0x58c]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416fdf
push dword [ebx]
call fcn.00415563
pop ecx
test eax, eax
je 0x416fdf
push 0x10
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00472c30
push 0x44
lea eax, [ebp + 0x244]
push esi
push eax
call fcn.00472c30
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp + 0x244], 0x44
call fcn.00472c30
add esp, 0x24
push dword [ebx]
lea eax, [ebp]
push 0x104
push eax
call fcn.004164fc
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x244]
push eax
lea eax, [ebp]
push eax
push esi
push esi
push esi
push esi
push esi
mov ecx, ebx
call fcn.0040d502
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x30], esi
je 0x416fbd
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], esi
je 0x416fcb
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00411f96
push esi
push esi
push 0x10
mov ecx, edi
call fcn.0042b52b
lea ecx, [ebp - 0x18]
call fcn.0040c078
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x28c]
xor ecx, ebp
call fcn.00472031
add ebp, 0x290
leave
ret 0x10