Function at 0x471240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e151d
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x10c
push 3
lea ecx, [ebp - 0x74]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_CMcDiRegCleanUp::DeleteDI2MCLogsFolder
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
call fcn.004327d0
mov eax, dword [ebp - 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x50da74
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
test esi, esi
js 0x471687
mov edx, dword [ebp - 0x78]
cmp word [edx], 0
jne 0x47132d
xor ecx, ecx
jmp 0x471341
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471332
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00408f30
mov edx, dword [ebp - 0x78]
cmp word [edx], 0
jne 0x471358
xor ecx, ecx
jmp 0x47136f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471360
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00408f30
mov edx, dword [ebp - 0x78]
cmp word [edx], 0
jne 0x471386
xor ecx, ecx
jmp 0x47139f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471390
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00408f30
mov edx, dword [ebp - 0x78]
cmp word [edx], 0
jne 0x4713b6
xor ecx, ecx
jmp 0x4713cf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4713c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408f30
push 0x22
push str.McAfeeMCLOGSMcInstallIntegrator
lea ecx, [ebp - 0x70]
call fcn.00409380
push 0x17
push str.McAfeeMCLOGSMcInstru
lea ecx, [ebp - 0x58]
call fcn.00409380
push 0x21
push str.McAfeeMCLOGSMasterInstallerPDU
lea ecx, [ebp - 0x40]
call fcn.00409380
push 0x16
push str.McAfeeMCLOGSMcUICnt
lea ecx, [ebp - 0x28]
call fcn.00409380
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x174]
call fcn.004076f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae ecx, dword [ebp - 0x70]
call fcn.0046e460
test eax, eax
jne 0x4714ac
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x126
push 3
lea ecx, [ebp - 0x74]
call fcn.00431610
mov byte [ebp - 4], 9
lea esi, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edx, str.Delete_the_McInstallIntegrator_folder:
mov ecx, dword [eax]
cmovae esi, dword [ebp - 0x70]
call fcn.004333c0
mov edx, esi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x74]
call fcn.004327d0
mov eax, dword [ebp - 0x74]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edx, 1
cmovae ecx, dword [ebp - 0x70]
call fcn.0046e710
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
call fcn.0046e460
test eax, eax
jne 0x47152b
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x12c
push 3
lea ecx, [ebp - 0x74]
call fcn.00431610
mov byte [ebp - 4], 0xb
lea esi, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov edx, str.Delete_the_McInstru_folder:
mov ecx, dword [eax]
cmovae esi, dword [ebp - 0x58]
call fcn.004333c0
mov edx, esi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x74]
call fcn.004327d0
mov eax, dword [ebp - 0x74]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov edx, 1
cmovae ecx, dword [ebp - 0x58]
call fcn.0046e710
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
call fcn.0046e460
test eax, eax
jne 0x4715aa
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x132
push 3
lea ecx, [ebp - 0x74]
call fcn.00431610
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, str.Delete_the_MasterInstallerPDU_folder:
mov ecx, dword [eax]
cmovae esi, dword [ebp - 0x40]
call fcn.004333c0
mov edx, esi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x74]
call fcn.004327d0
mov eax, dword [ebp - 0x74]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edx, 1
cmovae ecx, dword [ebp - 0x40]
call fcn.0046e710
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0046e460
test eax, eax
jne 0x471629
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x138
push 3
lea ecx, [ebp - 0x74]
call fcn.00431610
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, str.Delete_the_McUICnt_folder:
mov ecx, dword [eax]
cmovae esi, dword [ebp - 0x28]
call fcn.004333c0
mov edx, esi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x74]
call fcn.004327d0
mov eax, dword [ebp - 0x74]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, 1
cmovae ecx, dword [ebp - 0x28]
call fcn.0046e710
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x13c
push 3
lea ecx, [ebp - 0x7c]
call fcn.00431610
mov byte [ebp - 4], 0x11
mov edx, str.Leaving_CMcDiRegCleanUp::DeleteDI2MCLogsFolder
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x7c]
call fcn.004327d0
mov eax, dword [ebp - 0x7c]
add eax, 0x14
push eax
call edi
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x471678
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x4716cd
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegCleanUp.h
push str.CMcDiRegCleanUp::DeleteDI2MCLogsFolder
push 0x11e
push 4
lea ecx, [ebp - 0x7c]
call fcn.00431610
mov byte [ebp - 4], 6
mov edx, 0x50b810
mov ecx, dword [eax]
push esi
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x7c]
call fcn.004327d0
mov eax, dword [ebp - 0x7c]
add eax, 0x14
push eax
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4716e4
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x47170f
push 2
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x47173a
push 2
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x471765
push 2
inc eax
push eax
push dword [ebp - 0x70]
call fcn.00402ff0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret