Function at 0x4c9099
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52bf24
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x57df70]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x57df70]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00497f6d
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
call fcn.0043ec4e
mov dword [esp + 0x268], edi
lea eax, [esp + 0x14]
push eax
call fcn.0043ec4e
lea eax, [esp + 0x14]
push eax
call fcn.004aa661
xor eax, eax
push 0x206
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push edi
push eax
call fcn.005035e0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push edi
push 0x2a
lea eax, [esp + 0x54]
push eax
push edi
call esi
lea eax, [esp + 0x4c]
push eax
call fcn.00502fac
pop ecx
test eax, eax
jne 0x4c9153
push edi
push 0x26
lea eax, [esp + 0x54]
push eax
push edi
call esi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x55c8fc
call fcn.004fbdc2
mov byte [esp + 0x268], 1
lea ecx, [esp + 0x1c]
push 0x55c8f8
push ecx
mov esi, eax
call fcn.0040bb55
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x28]
push 0x55bdd0
push ecx
mov esi, eax
call fcn.0040bb55
mov byte [esp + 0x278], 3
lea ecx, [esp + 0x24]
push 0x55c8f0
push ecx
mov esi, eax
call fcn.0040bb55
mov byte [esp + 0x280], 4
push dword [eax]
lea eax, [esp + 0x68]
push eax
call fcn.00503fdd
add esp, 0x20
mov byte [esp + 0x268], 3
lea ecx, [esp + 0x14]
call fcn.0044b109
mov byte [esp + 0x268], 2
lea ecx, [esp + 0x20]
call fcn.0044b109
mov byte [esp + 0x268], 1
lea ecx, [esp + 0x1c]
call fcn.0044b109
mov byte [esp + 0x268], 0
lea ecx, [esp + 0x10]
call fcn.0044b109
lea eax, [esp + 0x4c]
push eax
call fcn.00502fac
pop ecx
push eax
lea eax, [esp + 0x50]
push eax
mov eax, 0x585b9c
call fcn.00459418
push str.Advanced_System_Repair_Pro_Setup
mov ecx, ebx
call fcn.004dad5c
lea esi, [ebx + 0x88]
push dword [esi]
push 1
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi]
push edi
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xf
lea esi, [ebx + 0x74]
push esi
call fcn.004c119d
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [ebx + 0x78]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, edi
je 0x4c928b
push 6
push dword [esp + 0x40]
mov ecx, ebx
push dword [esp + 0x40]
push edi
push edi
push edi
call fcn.004bdfb1
push esi
lea ecx, [ebx + 0x7c]
call fcn.0046fb71
lea esi, [ebx + 0x4d8]
mov eax, dword [esi]
push ebx
push 0x8a
mov ecx, esi
call dword [eax + 0x13c]
push 5
push edi
push edi
push 0x20
push edi
push edi
mov ecx, esi
call fcn.004bdfb1
push edi
mov ecx, esi
call fcn.0049c7f3
lea esi, [ebx + 0x90]
mov eax, dword [esi]
push ebx
push 0x84
mov ecx, esi
call dword [eax + 0x13c]
push 5
push edi
push edi
push 0x20
push edi
push edi
mov ecx, esi
call fcn.004bdfb1
push 5
mov ecx, esi
call fcn.0049c7f3
push 5
push edi
push edi
push 7
push 0x352
lea esi, [ebx + 0x648]
push edi
mov ecx, esi
mov byte [ebx + 0x645], 1
mov byte [ebx + 0x69d], 1
call fcn.004bdfb1
push 5
push edi
push edi
push 7
push 0x370
push edi
lea ecx, [ebx + 0x5f0]
call fcn.004bdfb1
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b6e92
mov ecx, eax
call fcn.0045f35d
inc dword [esp + 0x24]
push 5
push edi
push edi
push dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x34]
push edi
call fcn.004bdfb1
lea eax, [esp + 0x10]
push eax
call fcn.00473370
pop ecx
mov byte [esp + 0x268], 5
mov edi, 0x585bb8
call fcn.00484609
mov byte [esp + 0x268], 0
lea eax, [esp + 0x10]
push eax
call fcn.004b2aed
cmp byte [0x585a6e], 0
jne 0x4c93af
cmp byte [0x585a6f], 0
je 0x4c93ce
lea esi, [esp + 0x24]
mov byte [ebx + 0x8c], 1
call fcn.00471b7b
push 0
push 1
push 0xaa
push dword [ebx + 0x20]
call dword [eax + 8]
or dword [esp + 0x268], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.004aa661
xor eax, eax
inc eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004cf21e
mov esp, ebp
pop ebp
ret