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

Disassembly:
push 0xffffffffffffffff
push 0x465751
mov eax, dword fs:[0]
push eax
mov eax, 0x106c
call fcn.0044cd20
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x1068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x1080]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1090]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x18], 0
mov ebx, 1
mov dword [esp + 0x1088], ebx
call fcn.004366fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404d38
push 0x80004005
call fcn.00402280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
xor ecx, ecx
push 0x12a
push ecx
lea edx, [esp + 0x65e]
push edx
mov byte [esp + 0x1094], 2
mov word [esp + 0x660], cx
call fcn.0044c570
mov eax, dword [esp + 0x10a4]
push eax
lea ecx, [esp + 0x88]
push 0x1f4
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0x104
call fcn.0044bc9e
add esp, 0x18
cmp byte [esp + 0x78], 0x5b
je 0x404db5
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.00425330
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
jmp 0x405541
call fcn.004033a0
mov edi, eax
mov al, 0x5d
xor esi, esi
cmp byte [esp + 0x78], al
je 0x404dce
add esi, ebx
cmp byte [esp + esi + 0x78], al
jne 0x404dc6
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x274]
push eax
call fcn.0044c5f0
lea ecx, [esp + esi + 0x85]
push ecx
lea edx, [esp + 0x470]
push 0x1f4
push edx
mov byte [esp + esi + 0x285], 0
call fcn.0044bc9e
add esp, 0x18
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
call fcn.004214e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1088], 3
call fcn.004253a0
sub esp, 0xc
lea eax, [esp + 0x278]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov ebx, 4
push eax
mov byte [esp + 0x1098], bl
call fcn.00425330
call fcn.00424af0
add esp, 0xc
cmp eax, 0xb
ja case.0x404e5b.623
jmp dword [eax*4 + 0x4055a0]
push 0x118
lea ecx, [esp + 0xe8c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.C:Program_Files
lea edx, [esp + 0x270]
push 0x1f4
push edx
call fcn.0044bc9e
mov al, byte [esp + 0xe94]
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x88]
push 0x1f4
push edx
mov byte [esp + 0x284], al
call fcn.0044bc9e
lea eax, [esp + 0x478]
push eax
lea ecx, [esp + 0x94]
push 0x1f4
push ecx
call fcn.0044bf67
add esp, 0x24
jmp case.0x404e5b.623
mov ecx, 0x48e73c
call fcn.00425320
cmp eax, 3
je 0x404f00
mov edx, dword [0x48e740]
push edx
lea eax, [esp + 0x7c]
push 0x1f4
push eax
call fcn.0044bc9e
add esp, 0xc
jmp 0x404f3c
mov ecx, 0x48e73c
call fcn.00425320
dec eax
push eax
push 1
lea ecx, [esp + 0x74]
push ecx
mov ecx, 0x48e73c
call fcn.00425630
mov eax, dword [eax + 4]
push eax
lea edx, [esp + 0x7c]
push 0x1f4
push edx
call fcn.0044bc9e
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00425410
lea eax, [esp + 0x460]
push eax
lea ecx, [esp + 0x7c]
push 0x1f4
push ecx
call fcn.0044bf67
lea eax, [esp + 0x84]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404f60
sub eax, edx
cmp eax, 3
jae case.0x404e5b.623
push 0x46dd70
lea edx, [esp + 0x7c]
push 0x1f4
push edx
call fcn.0044bf67
add esp, 0xc
jmp case.0x404e5b.623
lea eax, [esp + 0x460]
push eax
lea ecx, [esp + 0x7c]
push 0x1f4
push ecx
call fcn.0044bc9e
add esp, 0xc
jmp case.0x404e5b.623
push 0x118
lea edx, [esp + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x7c]
push 0x1f4
push ecx
call fcn.0044bc9e
lea edx, [esp + 0x46c]
push edx
lea eax, [esp + 0x88]
push 0x1f4
push eax
call fcn.0044bf67
add esp, 0x18
jmp case.0x404e5b.623
push 0x118
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x7c]
push 0x1f4
push eax
call fcn.0044bc9e
lea ecx, [esp + 0x46c]
push ecx
lea edx, [esp + 0x88]
push 0x1f4
push edx
call fcn.0044bf67
add esp, 0x18
jmp case.0x404e5b.623
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x405098
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebp
call fcn.00425330
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 1
mov byte [esp + 0x1088], 3
call fcn.00425410
lea ecx, [esp + 0x30]
mov byte [esp + 0x1088], 2
call fcn.00421500
lea ecx, [esp + 0x14]
call fcn.00402710
jmp 0x405562
lea edx, [esp + 0x24]
push edx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4050df
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x26c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x4050e9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x78]
push eax
jmp 0x405059
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x7c]
push 0x1f4
push edx
call fcn.0044bc9e
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x88]
push 0x1f4
push ecx
call fcn.0044bf67
add esp, 0x18
jmp case.0x404e5b.623
lea edx, [esp + 0x26c]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405140
sub eax, edx
cmp byte [esp + eax + 0x26b], 0x5c
jne 0x404fc0
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405161
sub eax, edx
mov byte [esp + eax + 0x26b], cl
jmp 0x404fc0
push 0
push 5
lea ecx, [esp + 0x274]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405194
sub eax, edx
cmp byte [esp + eax + 0x26b], 0x5c
jne 0x4051c1
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4051b1
sub eax, edx
mov byte [esp + eax + 0x26b], cl
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x7c]
push 0x1f4
push eax
call fcn.0044bc9e
lea ecx, [esp + 0x46c]
push ecx
lea edx, [esp + 0x88]
push 0x1f4
push edx
call fcn.0044bf67
add esp, 0x18
jmp case.0x404e5b.623
push 0
push 0x1a
lea eax, [esp + 0x274]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405218
sub eax, edx
cmp byte [esp + eax + 0x26b], 0x5c
jne 0x405245
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405235
sub eax, edx
mov byte [esp + eax + 0x26b], cl
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x7c]
push 0x1f4
push edx
call fcn.0044bc9e
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x88]
push 0x1f4
push ecx
call fcn.0044bf67
add esp, 0x18
jmp case.0x404e5b.623
lea edx, [esp + 0x2c]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x658]
push ecx
lea edx, [esp + 0x54]
push edx
push 0
push str.Common_Programs
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x654]
push edx
lea ecx, [esp + 0x24]
call fcn.00404c20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x108c], 5
call fcn.00402980
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1088], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405313
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x7c]
push 0x1f4
push edx
call fcn.0044bc9e
add esp, 0xc
push 0x118
lea eax, [esp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Start_MenuPrograms
lea ecx, [esp + 0x784]
push 0x12c
push ecx
call fcn.0044bf67
add esp, 0xc
cmp edi, 3
je 0x405360
cmp edi, ebx
jne 0x40537a
lea edx, [esp + 0x780]
push edx
lea eax, [esp + 0x7c]
push 0x1f4
push eax
call fcn.0044bc9e
add esp, 0xc
lea ecx, [esp + 0x460]
push ecx
jmp 0x404f77
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
call fcn.00421510
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x46de60
call fcn.00425240
lea ecx, [esp + 0x40]
call fcn.00421650
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Common_Startup
call fcn.00425240
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x40]
call fcn.00421c00
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x108c], 6
call fcn.00425420
lea ecx, [esp + 0x54]
mov byte [esp + 0x1088], bl
call fcn.00425410
mov ecx, dword [esp + 0x40]
push ecx
lea edx, [esp + 0x8b0]
push 0x1f4
push edx
call fcn.0044bc9e
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00421be0
lea eax, [esp + 0x8ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405423
sub eax, edx
mov cl, 0x5c
cmp byte [esp + eax + 0x8ac], cl
je 0x40544a
jmp 0x405440
dec eax
cmp byte [esp + eax + 0x8ac], cl
jne 0x405440
inc eax
lea edx, [esp + eax + 0x8ac]
mov al, byte [edx]
xor ecx, ecx
test al, al
je 0x40546f
lea ebx, [ebx]
inc edx
mov byte [esp + ecx + 0xc94], al
mov al, byte [edx]
inc ecx
test al, al
jne 0x405460
push str._Start_Menu__
lea eax, [esp + 0xaa4]
push 0x1f4
push eax
mov byte [esp + ecx + 0xca0], 0
call fcn.0044bc9e
lea ecx, [esp + 0xca0]
push ecx
lea edx, [esp + 0xab0]
push 0x1f4
push edx
call fcn.0044bf67
lea eax, [esp + 0x478]
push eax
lea ecx, [esp + 0xabc]
push 0x1f4
push ecx
call fcn.0044bf67
add esp, 0x18
lea edx, [esp + 0xaac]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00425330
lea eax, [esp + 0x6c]
push eax
call fcn.00404cc0
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x8c]
push 0x1f4
push ecx
call fcn.0044bc9e
add esp, 0x1c
lea ecx, [esp + 0x60]
call fcn.00425410
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.00425330
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 1
mov byte [esp + 0x1088], 3
call fcn.00425410
lea ecx, [esp + 0x30]
mov byte [esp + 0x1088], 2
call fcn.00421500
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1088], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405562
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1094]
mov byte [esp + 0x1088], 0
call fcn.00425410
mov eax, ebp
mov ecx, dword [esp + 0x1080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1068]
xor ecx, esp
call fcn.0044b658
add esp, 0x1078
ret