Function at 0x4827ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
and dword [esp + 8], 0
and dword [esp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, str.configcoverinstall_regitem
call fcn.004451d5
test eax, eax
je 0x48285d
push dword [ebp + 0xc]
call fcn.00481caa
test eax, eax
pop ecx
je 0x482848
and dword [eax + 0x1c], 0
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea edi, [ebx + 0x1c]
call fcn.00484040
mov esi, dword [ebp + 0xc]
xor eax, eax
call fcn.004453d1
test eax, eax
jne 0x482813
jmp 0x482860
push str.CreateExecReg_fail
mov esi, 0x4df93c
call fcn.0044a8d7
pop ecx
jmp 0x482ae3
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstall_serviceitem
call fcn.004451d5
jmp 0x48289e
push dword [ebp + 0xc]
call fcn.00481e2a
test eax, eax
pop ecx
je 0x4828b1
mov dword [eax + 4], 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea edi, [ebx + 0x28]
call fcn.00484040
mov esi, dword [ebp + 0xc]
xor eax, eax
call fcn.004453d1
test eax, eax
jne 0x48286f
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstallprocessitem
call fcn.004451d5
jmp 0x4828e0
push str.CreateExecService_fail
jmp 0x48284d
push dword [ebp + 0xc]
call fcn.00481fb6
test eax, eax
pop ecx
je 0x482935
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea edi, [ebx + 0x40]
call fcn.00484040
mov esi, dword [ebp + 0xc]
xor eax, eax
call fcn.004453d1
test eax, eax
jne 0x4828b8
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstalldesktopitem
call fcn.004451d5
test eax, eax
mov ebx, 0x4de4b4
je 0x4829a0
mov eax, dword [0x4de4b4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
push 0x104
lea esi, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00401871
push eax
xor esi, esi
push esi
push esi
push 0x19
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [esp + 0x10], esi
jne 0x48293f
xor eax, eax
jmp 0x482949
push str.CreateExecProcess_fail
jmp 0x48284d
push dword [esp + 0x10]
call fcn.0048ab31
pop ecx
lea edx, [esp + 0x10]
call fcn.0040160c
push dword [ebp + 0xc]
call fcn.004821b8
mov esi, eax
test esi, esi
pop ecx
je 0x482a03
push dword [esp + 0x10]
and dword [esi + 4], 0
call fcn.004822c3
mov edi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
add edi, 0x34
mov dword [esp + 0x20], esi
call fcn.00484040
mov esi, dword [ebp + 0xc]
xor eax, eax
call fcn.004453d1
test eax, eax
jne 0x482952
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov esi, dword [ebp + 0xc]
mov eax, str.configcoverinstall_startmenuitem
call fcn.004451d5
test eax, eax
je 0x482adb
mov eax, dword [0x4de4b4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
call fcn.00441050
cmp eax, 0xa
jne 0x4829de
mov dword [esp + 0x1c], 1
push 0x104
lea esi, [esp + 0x14]
call fcn.00401871
push eax
push 1
push edi
push 0x17
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [esp + 0x10], edi
jne 0x482a24
xor eax, eax
jmp 0x482a2e
push str.CreateExecLink_fail
mov esi, 0x4df93c
call fcn.0044a8d7
mov eax, dword [esp + 0x14]
pop ecx
add eax, 0xfffffff0
call fcn.0040151c
jmp 0x482ae3
push dword [esp + 0x10]
call fcn.0048ab31
pop ecx
lea edx, [esp + 0x10]
call fcn.0040160c
push dword [ebp + 0xc]
call fcn.004821b8
mov edi, eax
test edi, edi
pop ecx
je 0x482a03
cmp dword [esp + 0x1c], 0
je 0x482a72
or dword [esp + 0x14], 1
push str.uni0nst.exe
lea esi, [esp + 0x24]
call fcn.004822dc
xor ecx, ecx
mov esi, eax
call fcn.0041e07c
cmp eax, 0xffffffff
je 0x482a72
mov bl, 1
jmp 0x482a74
xor bl, bl
test byte [esp + 0x14], 1
je 0x482a8c
mov eax, dword [esp + 0x20]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
call fcn.0040151c
test bl, bl
je 0x482a9a
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x482abd
push dword [esp + 0x10]
and dword [edi + 4], 0
mov eax, edi
call fcn.004822c3
mov dword [esp + 0x24], edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
add edi, 0x34
call fcn.00484040
mov esi, dword [ebp + 0xc]
xor eax, eax
call fcn.004453d1
test eax, eax
jne 0x482a37
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov dword [esp + 0x18], 1
push dword [esp + 0x18]
mov esi, 0x4df93c
push str.KInstaller::ParseCoverInstall_return:_d
call fcn.0044a8d7
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8