Function at 0x406e65
Capabilities:
Delete file
Persist via run registry key

Disassembly:
mov eax, 0x40d20c
call fcn.00407bd0
sub esp, 0x164
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00408d5c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408d5c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00408d5c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00408d5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00408d5c
mov esi, 0x100
lea ecx, [ebp - 0x1c]
push esi
mov byte [ebp - 4], 4
call fcn.004094e0
push eax
push esi
lea ecx, [ebp - 0x6c]
call fcn.004094e0
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.004094e0
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004094e0
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.004094e0
push eax
mov ecx, ebx
call fcn.004070c3
mov ax, word [0x414794]
push 0x40
mov word [ebp - 0x170], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x16e]
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x474]
push 1
stosw word es:[edi], ax
mov eax, dword [esi]
push 0x20019
push str.softwaremicrosoftwindowscurrentversionexplorer_shell_folders
push SysReAllocString
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x170]
push 0x104
push ecx
push str.Programs
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
lea eax, [ebp - 0x170]
push 0x41138c
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea edi, [ebx + 0x6c]
pop ecx
mov ecx, edi
call fcn.00408ee3
push eax
lea eax, [ebp - 0x170]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x170]
push str..lnk
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x1c]
call fcn.00408ee3
push eax
call fcn.004082ca
lea ecx, [ebp - 0x5c]
mov dword [esp], 0x411698
call fcn.00408de4
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00408ee3
push eax
lea ecx, [ebp - 0x5c]
call fcn.00408f8b
push 0
lea ecx, [ebp - 0x5c]
call fcn.00408ee3
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408ee3
push eax
push str.__uninstall
lea ecx, [ebx + 0x4c]
call fcn.00408ee3
push eax
call fcn.0040816e
add esp, 0x14
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00408e57
push 0
mov ecx, edi
add ebx, 0x10c
call fcn.00408ee3
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408ee3
mov esi, 0x414778
push eax
push esi
mov ecx, ebx
call fcn.00408ee3
push eax
call fcn.0040816e
add esp, 0x14
mov ecx, edi
push 0
call fcn.00408ee3
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408ee3
push eax
push esi
mov ecx, ebx
call fcn.00408ee3
push eax
call fcn.0040816e
add esp, 0x14
mov ecx, edi
push 0
call fcn.00408ee3
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408ee3
push eax
push esi
mov ecx, ebx
call fcn.00408ee3
push eax
call fcn.0040816e
add esp, 0x14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00408e57
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00408e57
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00408e57
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408e57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00408e57
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret