Function at 0x486c6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, eax
push edi
mov eax, str.configinstall_serviceitem
call fcn.00447692
jmp 0x486cb2
push esi
call fcn.00484728
test eax, eax
pop ecx
je 0x486cc5
mov edi, dword [ebp + 8]
mov dword [eax + 4], 2
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486c8a
mov eax, str.configinstall_regitem
call fcn.00447692
xor ebx, ebx
inc ebx
jmp 0x486cf3
push str.CreateExecService_fail
jmp 0x486f5a
push esi
call fcn.004845a8
test eax, eax
pop ecx
je 0x486d03
mov edi, dword [ebp + 8]
mov dword [eax + 0x1c], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486ccf
mov eax, str.configinstall_fileitem
call fcn.00447692
jmp 0x486d32
push str.CreateExecReg_fail
jmp 0x486f5a
push esi
call fcn.00484a09
test eax, eax
pop ecx
je 0x486f4e
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486d0d
mov eax, str.configinstalldesktopitem
call fcn.00447692
test eax, eax
je 0x486db0
xor edi, edi
push 0x206
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push edi
push edi
push 0x19
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call fcn.00484abd
mov edi, eax
test edi, edi
pop ecx
je 0x486f55
lea eax, [ebp - 0x214]
push eax
mov eax, edi
mov dword [edi + 4], ebx
call fcn.00484bc8
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486d74
mov eax, str.configinstall_startmenuitem
call fcn.00447692
test eax, eax
je 0x486e2a
xor edi, edi
push 0x206
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push 0x17
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call fcn.00484abd
mov edi, eax
test edi, edi
pop ecx
je 0x486f55
lea eax, [ebp - 0x214]
push eax
mov eax, edi
mov dword [edi + 4], ebx
call fcn.00484bc8
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486dee
mov eax, str.configinstallquicklaunchitem
call fcn.00447692
test eax, eax
je 0x486eb6
xor edi, edi
push 0x206
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call fcn.00484abd
mov edi, eax
test edi, edi
pop ecx
je 0x486f55
lea eax, [ebp - 0x214]
push eax
mov eax, edi
mov dword [edi + 4], ebx
call fcn.00484bc8
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486e7a
mov eax, str.configinstall_taskbarpinitem
call fcn.00447692
test eax, eax
je 0x486f41
xor edi, edi
push 0x206
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call fcn.004923b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call fcn.00484abd
mov edi, eax
test edi, edi
pop ecx
je 0x486f55
lea eax, [ebp - 0x214]
push eax
mov eax, edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.00484bc8
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
push eax
call fcn.00486a47
xor eax, eax
call fcn.0044788e
test eax, eax
jne 0x486f06
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4
push str.CreateExecFile_fail
jmp 0x486f5a
push str.CreateExecLink_fail
mov esi, 0x51b95c
call fcn.0044cc8c
pop ecx
jmp 0x486f44