Function at 0x41fe60
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bd18d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x138], 0
mov dword [esp + 0x1c], eax
mov ebx, 1
mov ebp, 0x80000001
mov byte [esp + 0x138], bl
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.00418ad0
test eax, eax
je 0x41ff3d
lea eax, [esp + 0x1c]
push eax
call fcn.00418c80
add esp, 4
test eax, eax
jne 0x41ff12
push str..DEFAULT
lea ecx, [esp + 0x20]
call fcn.004a9d5c
push str.GetUserDir:_WARNING__Failed_to_find_logged_on_user_SID.__Using_paths_for_the_default_user.
lea ecx, [esp + 0x18]
call fcn.004a9c8d
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 2
push ecx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.004a9c1f
push 0x5c
lea ecx, [esp + 0x20]
call fcn.004a9fd6
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [esp + 0x20]
call fcn.004a9faf
push 0
lea ecx, [esp + 0x20]
mov ebp, 0x80000003
call fcn.004aa003
mov edi, eax
lea edx, [esp + 0x20]
push edx
push ebx
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42007d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push str.Desktop
push eax
mov dword [esp + 0x30], 0x104
call ebp
lea ecx, [esp + 0x2c]
lea edi, [esi + 0x50c]
push ecx
mov ecx, edi
call fcn.004a9d5c
mov ecx, edi
call fcn.004343e0
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.Programs
push edx
mov dword [esp + 0x30], 0x104
call ebp
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x4e4]
push eax
call fcn.004a9d5c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004a9d5c
lea ecx, [esp + 0x10]
call fcn.004aa0f5
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004a72e7
dec eax
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x13c], 3
call fcn.004a9d5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.004a9c1f
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004a72e7
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x13c], 4
call fcn.004a9d5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.004a9c1f
lea edx, [esp + 0x10]
lea ecx, [esi + 0x504]
push edx
call fcn.004a9d0c
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0x104
push ecx
push ebx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420200
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.Common_Programs
push edx
call ebp
test eax, eax
jne 0x42017e
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9d5c
lea ecx, [esp + 0x10]
call fcn.004aa0f5
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x4e0]
call fcn.004a9d0c
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004a72e7
dec eax
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x13c], 5
call fcn.004a9d5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.004a9c1f
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004a72e7
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x13c], 6
call fcn.004a9d5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.004a9c1f
lea edx, [esp + 0x10]
lea ecx, [esi + 0x500]
push edx
call fcn.004a9d0c
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push str.Common_Desktop
push eax
call ebp
test eax, eax
jne 0x4201f5
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004a9d5c
lea ecx, [esp + 0x10]
call fcn.004aa0f5
lea ecx, [esp + 0x10]
call fcn.004343e0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x508]
push edx
call fcn.004a9d0c
mov eax, dword [0x4ff2ec]
push str.3.95
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x4201f5
lea eax, [esp + 0x10]
mov ecx, 0x4ff30c
push eax
call fcn.004a9d0c
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 0
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret