Function at 0x41f7bc
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x457470
call fcn.004324bc
sub esp, 0x2c0
mov al, byte [0x4747d0]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x1c8], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x41f851
cmp dword [ebp - 0xb4], 1
jne 0x41f822
lea ecx, [ebp - 0x1c8]
push ecx
push ebx
push ebx
push 0xb
jmp 0x41f836
cmp dword [ebp - 0xb4], 2
jne 0x41f851
lea ecx, [ebp - 0x1c8]
push ecx
push ebx
push ebx
push 0x16
push ebx
call eax
test eax, eax
jne 0x41f851
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c8]
push eax
call fcn.004483c4
jmp 0x41f9b9
lea edi, [esi + 0x4c]
push edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41f9b9
cmp dword [ebp - 0xb4], 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
jne 0x41f87a
push 0xb
jmp 0x41f87c
push 0x16
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jne 0x41f8b3
lea eax, [ebp - 0x1c8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x41f9a6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c8]
push eax
call fcn.004483c4
jmp 0x41f9a6
push 0x4747d0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.004482f5
cmp dword [ebp - 0xb4], 1
mov dword [ebp - 4], ebx
jne 0x41f8db
mov edi, 0x80000001
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
jmp 0x41f8e5
mov edi, 0x80000003
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x14]
call fcn.004483c4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0xff
push eax
push 0xf003f
push ebx
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f94b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Start_Menu
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f940
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2cc]
push eax
call fcn.004483c4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f997
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Start_Menu
call fcn.004482f5
push ecx
add esi, 0x30
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
mov byte [ebp - 4], 1
call fcn.00447ffc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], bl
push eax
call fcn.0040bffd
add esp, 0x10
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.00448374
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00448287
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00448287
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4