Function at 0x419560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, str.WindowTitle
lea edi, [esp + 0x18]
call fcn.00401300
mov esi, dword [ebp + 8]
mov eax, edi
push eax
lea ecx, [esi + 0x4d]
push ecx
call fcn.00402cc0
test eax, eax
jne 0x419590
lea eax, [esi + 0x49]
mov ecx, eax
lea eax, [esp + 0x1c]
call fcn.00401290
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x4195c1
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4195c1
push edi
call fcn.0040b07a
add esp, 4
mov edi, dword [esp + 0x1c]
push edi
push esi
mov eax, str.WindowTitle
call fcn.004178a0
lea eax, [edi - 0xc]
cmp eax, 0x424d78
je 0x4195f2
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4195f2
push edi
call fcn.0040b07a
add esp, 4
mov ebx, str.UninstallTitle
lea edi, [esp + 0x18]
call fcn.00401300
mov ecx, edi
push ecx
lea edx, [esi + 0x4d]
push edx
call fcn.00402cc0
test eax, eax
jne 0x419613
lea eax, [esi + 0x49]
mov ecx, eax
lea eax, [esp + 0x1c]
call fcn.00401290
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419644
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419644
push edi
call fcn.0040b07a
add esp, 4
mov edi, dword [esp + 0x1c]
push edi
push esi
mov eax, str.UninstallTitle
call fcn.004178a0
lea edx, [edi - 0xc]
cmp edx, 0x424d78
je 0x419676
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419676
push edi
call fcn.0040b07a
add esp, 4
mov ebx, str.bSilentUninstall
lea edi, [esp + 0x18]
call fcn.00401300
mov eax, edi
push eax
lea ecx, [esi + 0x4d]
push ecx
call fcn.00402cc0
test eax, eax
jne 0x419697
lea eax, [esi + 0x49]
mov ecx, eax
lea eax, [esp + 0x1c]
call fcn.00401290
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x4196c8
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4196c8
push edi
call fcn.0040b07a
add esp, 4
mov edi, dword [esp + 0x1c]
mov ecx, 0x41ff14
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4196f3
test dl, dl
je 0x4196ef
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4196f3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4196d3
xor eax, eax
jmp 0x4196f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [edi - 0xc]
sete byte [esp + 0x13]
cmp eax, 0x424d78
je 0x419720
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419720
push edi
call fcn.0040b07a
add esp, 4
mov ebx, str.UserMenu
lea edi, [esp + 0x18]
call fcn.00401300
mov ecx, edi
push ecx
lea edx, [esi + 0x4d]
push edx
call fcn.00402cc0
test eax, eax
jne 0x419741
lea eax, [esi + 0x49]
mov ecx, eax
lea eax, [esp + 0x1c]
call fcn.00401290
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419772
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419772
push edi
call fcn.0040b07a
add esp, 4
mov edi, dword [esp + 0x1c]
mov ecx, 0x41ff88
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4197a0
test dl, dl
je 0x41979c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4197a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x419780
xor eax, eax
jmp 0x4197a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea edx, [edi - 0xc]
sete bl
cmp edx, 0x424d78
je 0x4197cc
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4197cc
push edi
call fcn.0040b07a
add esp, 4
lea edi, [esi + 0x96]
mov dword [esp + 0x14], edi
test bl, bl
je 0x419801
push str._CommonProgramsMenu_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
call fcn.00402230
test eax, eax
je 0x41983a
mov eax, dword [edi]
lea ecx, [esi + 1]
cmp ecx, esi
jb 0x41982f
push esi
push str._CommonProgramsMenu_
jmp 0x419826
push str._UserProgramsMenu_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
call fcn.00402230
test eax, eax
je 0x41983a
mov eax, dword [edi]
lea ecx, [esi + 1]
cmp ecx, esi
jb 0x41982f
push esi
push str._UserProgramsMenu_
push eax
call fcn.0040b610
add esp, 0xc
mov edx, dword [edi]
mov dword [edx - 8], esi
mov eax, dword [edi]
mov byte [esi + eax], 0
mov ebx, str.AddedMenu
lea edi, [esp + 0x18]
call fcn.00401300
mov ecx, edi
mov edi, dword [ebp + 8]
push ecx
lea edx, [edi + 0x4d]
push edx
call fcn.00402cc0
test eax, eax
jne 0x41985e
lea eax, [edi + 0x49]
mov ecx, eax
lea eax, [esp + 0x1c]
call fcn.00401290
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419891
lea ebx, [eax - 0xc]
push ebx
call esi
test eax, eax
jg 0x419891
push ebx
call fcn.0040b07a
add esp, 4
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 8]
test eax, eax
je 0x4198ae
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.00402110
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebx - 0xc]
cmp edx, 0x424d78
je 0x4198cc
add ebx, 0xfffffff4
push ebx
call esi
test eax, eax
jg 0x4198cc
push ebx
call fcn.0040b07a
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push eax
push edi
mov eax, str.ProductMenu
call fcn.004178a0
push str._ProductPathuninstall.exe
push edi
mov eax, str.UninstallCommand
call fcn.004178a0
cmp byte [esp + 0x13], 0
mov eax, str._s__ProductPathuninstall.log
jne 0x4198ff
mov eax, str._ProductPathuninstall.log
push eax
push edi
mov eax, str.UninstallLog
call fcn.004178a0
push str._ProductPathuninstall.log
push edi
mov eax, str.UninstallLogFile
call fcn.004178a0
mov eax, dword [edi + 0x92]
push eax
push edi
mov eax, str.ProductPath
call fcn.004178a0
mov eax, dword [edi + 0x9a]
push eax
push edi
mov eax, str.ProductName
call fcn.004178a0
mov eax, dword [edi + 0xa2]
push eax
push edi
mov eax, str.CompanyName
call fcn.004178a0
mov eax, dword [edi + 0x9e]
push eax
push edi
mov eax, str.ProductVersion
call fcn.004178a0
mov eax, dword [edi + 0xae]
push eax
push edi
mov eax, str.InstallerPath
call fcn.004178a0
mov eax, dword [edi + 0xb2]
push eax
push edi
mov eax, str.InstallerFile
call fcn.004178a0
push 2
push str.CommonProgramsMenu
push edi
mov edx, 0x17
call fcn.00417b40
push 0xb
push str.CommonStartMenu
push edi
mov edx, 0x16
call fcn.00417b40
push 7
push str.CommonStartupMenu
push edi
mov edx, 0x18
call fcn.00417b40
mov edx, 2
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.UserProgramsMenu
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419a02
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419a02
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
mov edx, 0xb
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.UserStartMenu
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x419a47
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419a47
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
mov edx, 7
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.UserStartupMenu
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419a8c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419a8c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
push str._UserAppDataMicrosoftInternet_ExplorerQuick_Launch
push edi
mov eax, str.QuickLaunch
call fcn.004178a0
mov edx, 0x1a
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.UserAppData
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x419ae1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419ae1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
push 0x1a
push str.CommonAppData
push edi
mov edx, 0x23
call fcn.00417b40
mov edx, 6
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.Favorites
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419b38
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419b38
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
push 6
push str.CommonFavorites
push edi
mov edx, 0x1f
call fcn.00417b40
mov edx, 0x10
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.DesktopPath
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x419b8f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419b8f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
push 0x10
push str.CommonDesktopPath
push edi
mov edx, 0x19
call fcn.00417b40
mov edx, 0x14
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.FontsPath
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x424d78
je 0x419be6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419be6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
mov edx, 5
lea eax, [esp + 0x18]
call fcn.00411950
mov eax, dword [eax]
push eax
push edi
mov eax, str.MyDocumentsPath
call fcn.004178a0
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x424d78
je 0x419c2b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x419c2b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0040b07a
add esp, 4
mov eax, dword [0x424d88]
mov dword [esp + 0x14], eax
push 0x104
mov eax, 0x104
lea edi, [esp + 0x18]
call fcn.00401ec0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebx, edi
call fcn.00402190
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
mov dword [edi - 8], eax
push edi
mov byte [eax + edi], 0
push esi
mov eax, str.SystemPath
call fcn.004178a0
lea ecx, [edi - 0xc]
cmp ecx, 0x424d78
je 0x419c98
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419c98
push edi
call fcn.0040b07a
add esp, 4
mov edx, dword [0x424d88]
push 0x104
mov eax, 0x104
lea edi, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00401ec0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, edi
call fcn.00402190
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [edi - 8], eax
push edi
mov byte [eax + edi], 0
push esi
mov eax, str.WindowsPath
call fcn.004178a0
lea eax, [edi - 0xc]
cmp eax, 0x424d78
je 0x419d02
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419d02
push edi
call fcn.0040b07a
add esp, 4
lea edi, [esi + 0xa6]
mov eax, 0x104
call fcn.00401ec0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, edi
call fcn.00402190
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call ebx
mov edx, dword [edi]
mov dword [edx - 8], eax
mov ecx, dword [edi]
push edi
mov byte [eax + ecx], 0
call fcn.004016b0
mov edi, dword [edi]
push edi
push esi
mov eax, str.TempPath
call fcn.004178a0
lea eax, [esp + 0x18]
call fcn.004186c0
mov edi, dword [esp + 0x18]
push edi
push esi
mov eax, str.ProgramsPath
call fcn.004178a0
mov edx, dword [0x424d88]
push str.Common_Files
push str.Common_Files
mov dword [esp + 0x1c], edx
call ebx
mov ebx, dword [edi - 8]
push eax
push edi
lea eax, [esp + 0x20]
push eax
call fcn.00402090
mov ebx, dword [esp + 0x14]
push ebx
push esi
mov eax, str.CommonFiles
call fcn.004178a0
lea ecx, [ebx - 0xc]
cmp ecx, 0x424d78
je 0x419dbf
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419dbf
push ebx
call fcn.0040b07a
add esp, 4
call fcn.00412560
test al, al
mov eax, 0x41ff14
jne 0x419dd2
mov eax, 0x41ff88
push eax
push esi
mov eax, str.IsUserAnAdmin
call fcn.004178a0
lea eax, [esp + 0x14]
call fcn.00412260
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x419ec9
lea ecx, [eax - 1]
mov esi, ecx
test esi, esi
jge 0x419e01
xor esi, esi
lea edx, [esi + 1]
cmp edx, eax
jle 0x419e0a
mov esi, ecx
cmp eax, 1
jge 0x419e11
xor esi, esi
mov eax, dword [0x424d88]
push 1
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00401fe0
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
push esi
push ebx
mov eax, str.NetFrameworkFullVersion
call fcn.004178a0
lea edx, [esi - 0xc]
cmp edx, 0x424d78
je 0x419e5f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419e5f
push esi
call fcn.0040b07a
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
cmp eax, 4
mov esi, 3
jge 0x419e73
lea esi, [eax - 1]
cmp eax, 1
jge 0x419e7a
xor esi, esi
mov ecx, dword [0x424d88]
push 1
lea edx, [esp + 0x18]
push edx
lea edi, [esp + 0x24]
mov dword [esp + 0x24], ecx
call fcn.00401fe0
mov esi, dword [esp + 0x1c]
push esi
push ebx
mov eax, str.NetFrameworkShortVersion
call fcn.004178a0
lea eax, [esi - 0xc]
cmp eax, 0x424d78
je 0x419ec5
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419ec5
push esi
call fcn.0040b07a
add esp, 4
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0xc]
cmp ecx, 0x424d78
je 0x419eef
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419eef
push esi
call fcn.0040b07a
add esp, 4
lea edx, [edi - 0xc]
cmp edx, 0x424d78
je 0x419f11
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419f11
push esi
call fcn.0040b07a
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4