Function at 0x4725c2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, str.configcoverinstall_regitem
call fcn.0043f9e0
test eax, eax
je 0x47262c
push dword [ebp + 0xc]
call fcn.0047162f
test eax, eax
pop ecx
je 0x472617
and dword [eax + 0x1c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 0x1c]
call fcn.00473d2e
mov esi, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0043fb8c
test eax, eax
jne 0x4725e4
jmp 0x47262f
push str.CreateExecReg_fail
mov esi, 0x514ad4
call fcn.00443ae2
pop ecx
jmp 0x472899
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstall_serviceitem
call fcn.0043f9e0
jmp 0x47266b
push dword [ebp + 0xc]
call fcn.004717af
test eax, eax
pop ecx
je 0x47267e
mov dword [eax + 4], 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 0x28]
call fcn.00473d2e
mov esi, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0043fb8c
test eax, eax
jne 0x47263e
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstallprocessitem
call fcn.0043f9e0
jmp 0x4726ab
push str.CreateExecService_fail
jmp 0x47261c
push dword [ebp + 0xc]
call fcn.004719f1
test eax, eax
pop ecx
je 0x4726fd
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea edi, [ebx + 0x40]
call fcn.00473d2e
mov esi, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0043fb8c
test eax, eax
jne 0x472685
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstalldesktopitem
call fcn.0043f9e0
test eax, eax
mov ebx, 0x512bd4
je 0x472769
mov eax, dword [0x512bd4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
push 0x104
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004010cd
push eax
xor esi, esi
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 4], esi
jne 0x472707
xor eax, eax
jmp 0x472710
push str.CreateExecProcess_fail
jmp 0x47261c
push dword [ebp - 4]
call fcn.00488c9a
pop ecx
lea edx, [ebp - 4]
call fcn.004010ac
push dword [ebp + 0xc]
call fcn.00471e66
mov esi, eax
test esi, esi
pop ecx
je 0x4727c7
push dword [ebp - 4]
and dword [esi + 8], 0
mov dword [esi + 4], 1
call fcn.00472090
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
add edi, 0x34
mov dword [ebp - 0x10], esi
call fcn.00473d2e
mov esi, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0043fb8c
test eax, eax
jne 0x472718
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstall_startmenuitem
call fcn.0043f9e0
test eax, eax
je 0x472892
mov eax, dword [0x512bd4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
call fcn.0043eb92
cmp eax, 0xa
jne 0x4727a4
mov dword [ebp - 0x10], 1
push 0x104
lea esi, [ebp - 4]
call fcn.004010cd
push eax
push 1
push edi
push 0x17
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp - 4], edi
jne 0x4727e7
xor eax, eax
jmp 0x4727f0
push str.CreateExecLink_fail
mov esi, 0x514ad4
call fcn.00443ae2
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401023
jmp 0x472899
push dword [ebp - 4]
call fcn.00488c9a
pop ecx
lea edx, [ebp - 4]
call fcn.004010ac
push dword [ebp + 0xc]
call fcn.00471e66
mov edi, eax
test edi, edi
pop ecx
je 0x4727c7
cmp dword [ebp - 0x10], 0
je 0x472830
or dword [ebp - 8], 1
push str.uni0nst.exe
lea esi, [ebp - 0x14]
call fcn.004720a9
xor ecx, ecx
mov esi, eax
call fcn.00413b05
cmp eax, 0xffffffff
je 0x472830
mov bl, 1
jmp 0x472832
xor bl, bl
test byte [ebp - 8], 1
je 0x472847
mov eax, dword [ebp - 0x14]
and dword [ebp - 8], 0xfffffffe
add eax, 0xfffffff0
call fcn.00401023
test bl, bl
je 0x472855
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x472875
push dword [ebp - 4]
and dword [edi + 8], 0
mov eax, edi
call fcn.00472090
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
add edi, 0x34
call fcn.00473d2e
mov esi, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0043fb8c
test eax, eax
jne 0x4727f8
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov dword [ebp - 0xc], 1
push dword [ebp - 0xc]
mov esi, 0x514ad4
push str.KInstaller::ParseCoverInstall_return:_d
call fcn.00443ae2
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8