Function at 0x4f0a50
Capabilities:
Create process on windows
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x52d5b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
push ebp
push esi
push edi
push 0x568d68
xor ebp, ebp
mov dword [esp + 0x18], 0x104
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, eax
push esi
call dword [sym.imp.MSVCRT.dll__mbslwr]
mov edi, dword [sym.imp.MSVCRT.dll__mbsstr]
push 0x55b518
push esi
call edi
add esp, 0x10
test eax, eax
jne 0x4f0ab4
push 0x55b620
push esi
call edi
add esp, 8
test eax, eax
jne 0x4f0ab4
xor edi, edi
jmp 0x4f0ab9
mov edi, 1
push esi
call dword [sym.imp.MSVCRT.dll_free]
xor esi, esi
add esp, 4
cmp edi, esi
je 0x4f0b2e
push 0x3c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov dword [esp + 0x344], esi
je 0x4f0af0
push 0x568d68
mov ecx, eax
call fcn.004f2f60
jmp 0x4f0af2
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x344], 0xffffffff
push ecx
mov ecx, eax
call fcn.004f3170
cmp dword [esp + 0x20], 1
jl 0x4f0b2e
cmp dword [esp + 0x24], 1
jl 0x4f0b2e
lea edx, [esp + 0x30]
mov ebp, 1
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x4f0b74
lea eax, [esp + 0xc]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
push str.Desktop
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
call fcn.004fdecc
push 0xfc7
lea ecx, [esp + 0x14]
mov dword [esp + 0x348], 1
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x138]
push ecx
push edx
call fcn.00472190
push 1
lea eax, [esp + 0x144]
push esi
lea ecx, [esp + 0x148]
push eax
push ecx
call fcn.004758d0
lea edx, [esp + 0x4c]
lea eax, [esp + 0x150]
push edx
push eax
call fcn.004722e0
lea ecx, [esp + 0x158]
push ecx
call fcn.00473720
mov edi, eax
mov eax, dword [esp + 0x374]
lea edx, [esp + 0x15c]
push edx
push eax
call fcn.004f0d30
mov eax, dword [0x568d48]
add esp, 0x30
test eax, eax
jle 0x4f0c2d
cmp esi, eax
jge 0x4f0c1a
test esi, esi
jl 0x4f0c1a
mov ecx, dword [0x568d44]
mov ecx, dword [ecx + esi*4]
jmp 0x4f0c1c
xor ecx, ecx
push 9
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [0x568d48]
inc esi
cmp esi, eax
jl 0x4f0c0b
mov al, byte [0x568d68]
test al, al
je 0x4f0cfd
test ebp, ebp
je 0x4f0ca8
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x2f], 0x5c
jne 0x4f0c5e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x30]
push edi
push eax
jmp 0x4f0c76
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x30]
push 0x550aa4
push ecx
call esi
lea edx, [esp + 0x30]
push edi
push edx
call esi
lea eax, [esp + 0x238]
push str.__TEMP_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push edx
call esi
push 5
lea eax, [esp + 0x23c]
push 0
push eax
jmp 0x4f0ceb
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x2f], 0x5c
jne 0x4f0cc8
lea edx, [esp + 0x30]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4f0ce2
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x30]
push 0x550aa4
push eax
call esi
lea ecx, [esp + 0x30]
push edi
push ecx
call esi
push 5
lea edx, [esp + 0x34]
push 0
push edx
push 0x568d68
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x344], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x33c
ret