Function at 0x40a0b0
Capabilities:
Get common file path

Disassembly:
push 0x4ac
mov eax, 0x476837
call fcn.0045bedd
mov esi, ecx
push str.CleanupObsoleteFolders...
lea ecx, [ebp - 0x428]
call fcn.004020a6
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x428]
push eax
push 2
pop ebx
push ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [esi + 0x230], 0
mov edi, str.SOFTWAREAdobeAdobe_ARM1.0ARM
jne 0x40a194
and dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push str.iAllowCleanupObsoleteFolders
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call main
add esp, 0x10
cmp dword [ebp - 0x428], 1
je 0x40a194
push 0x483438
lea ecx, [ebp - 0x434]
call fcn.004020a6
push str.cleanup_not_allowed_by_product_Manifest
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 1
call fcn.004020a6
push 0
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
push ebx
mov byte [ebp - 4], bl
call fcn.00414e01
mov ecx, dword [ebp - 0x42c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x434]
jmp 0x40a9a6
cmp dword [esi + 0x22c], 0
jne 0x40a1fa
push 0x483438
lea ecx, [ebp - 0x42c]
call fcn.004020a6
push str.no_cleanup_without_successful_check_for_updates
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 3
call fcn.004020a6
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00414e01
mov ecx, dword [ebp - 0x428]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x42c]
jmp 0x40a9a6
call fcn.0044825c
push eax
lea ecx, [ebp - 0x444]
call fcn.0041872d
lea eax, [esi + 0x174]
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 5
call fcn.004020ea
lea eax, [ebp - 0x444]
push eax
mov byte [ebp - 4], 6
push dword [0x4c46d4]
push edi
push SysReAllocString
call main
add esp, 0x10
test eax, eax
jne 0x40a2e2
mov edi, dword [ebp - 0x444]
cmp dword [edi - 0xc], eax
je 0x40a2e2
push dword [ebp - 0x43c]
lea ecx, [ebp - 0x444]
call fcn.0040ae5c
test eax, eax
jne 0x40a2e2
push 0x483438
lea ecx, [ebp - 0x42c]
call fcn.004020a6
push str.no_cleanup_while_UpgradeCache_is_registered_for_this_product
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 7
call fcn.004020a6
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
mov byte [ebp - 4], 8
call fcn.00414e01
mov ecx, dword [ebp - 0x428]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
jmp 0x40a9a9
lea eax, [ebp - 0x420]
push eax
xor eax, eax
push eax
push eax
push 0x8023
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jge 0x40a358
push 0x483438
lea ecx, [ebp - 0x42c]
call fcn.004020a6
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 9
call fcn.004020a6
push edi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
mov byte [ebp - 4], 0xa
call fcn.00414e01
mov ecx, dword [ebp - 0x428]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x42c]
jmp 0x40a98a
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x454]
call fcn.004020a6
push str.AdobeARM.
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0xb
call fcn.0040af5f
lea eax, [esi + 0x10c]
add esi, 0x104
mov dword [ebp - 0x458], eax
mov eax, esi
mov dword [ebp - 0x474], esi
call fcn.00405266
mov dword [ebp - 0x45c], eax
test eax, eax
je 0x40a3b7
push 0x483118
lea ecx, [ebp - 0x43c]
call fcn.0040af5f
lea ecx, [ebp - 0x4b8]
call fcn.00449325
cmp dword [ebp - 0x45c], 0
mov byte [ebp - 4], 0xc
je 0x40a584
call fcn.0044825c
push eax
lea ecx, [ebp - 0x430]
call fcn.0041872d
mov byte [ebp - 4], 0xd
call fcn.0044825c
push eax
lea ecx, [ebp - 0x42c]
call fcn.0041872d
mov edi, esi
mov byte [ebp - 4], 0xe
call fcn.00405238
test eax, eax
mov eax, str.A6EADE66_0000_0000_484E_7E8A45000000
jne 0x40a412
mov eax, str.AC76BA86_0000_0000_7761_7E8A45000000_AC76BA86_0000_0000_7760_7E8A45000000_AC76BA86_0000_0000_BA7E_7E8A45000000
push eax
lea ecx, [ebp - 0x440]
call fcn.004020a6
mov byte [ebp - 4], 0xf
and dword [ebp - 0x448], 0
mov esi, 0x104
push 0x48325c
lea ecx, [ebp - 0x428]
call fcn.004020a6
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x450]
push eax
lea ebx, [ebp - 0x428]
lea edi, [ebp - 0x448]
mov byte [ebp - 4], 0x10
call fcn.0043d075
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
call fcn.00402573
mov ecx, dword [ebp - 0x450]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [ebp - 0x42c]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x40a54f
mov dword [ebp - 0x438], ebx
push esi
lea ecx, [ebp - 0x430]
call fcn.0040241d
push eax
push dword [ebp - 0x438]
push ebx
push edi
call sub.msi.dll_MsiSourceListClearAllW
push 0xffffffffffffffff
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x434], eax
call fcn.0040b00b
cmp dword [ebp - 0x434], ebx
jne 0x40a53d
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x483260
push dword [ebp - 0x430]
mov dword [ebp - 0x44c], esi
call sub.msi.dll_MsiGetPropertyW
cmp eax, ebx
jne 0x40a53d
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4b8]
call main
inc dword [ebp - 0x438]
cmp dword [ebp - 0x434], ebx
je 0x40a4aa
cmp dword [ebp - 0x448], 0xffffffff
jne 0x40a42e
mov ecx, dword [ebp - 0x440]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
call fcn.004025d2
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [ebp - 0x470]
call fcn.00449325
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
call fcn.0044a7fe
xor edi, edi
push edi
mov byte [ebp - 4], 0x13
push dword [ebp - 0x454]
lea ecx, [ebp - 0x48c]
call main
cmp eax, edi
je 0x40a916
lea ecx, [ebp - 0x48c]
call fcn.0044a593
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x448], eax
call fcn.0044a7bf
test eax, eax
jne 0x40a90a
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x48c]
call fcn.0044aac3
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0x14
call fcn.0044ab54
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x48c]
push 0x10
lea ecx, [ebp - 0x48c]
call dword [eax + 0x38]
test eax, eax
je 0x40a8e8
push dword [ebp - 0x43c]
xor ecx, ecx
lea esi, [ebp - 0x438]
call fcn.0040ad24
cmp eax, edi
jne 0x40a8e8
mov byte [ebp - 0x421], 0
cmp dword [ebp - 0x45c], edi
je 0x40a77a
push 0x483118
xor ecx, ecx
call fcn.0040ad24
cmp eax, 0xffffffff
je 0x40a77a
inc eax
push eax
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call main
push 0x48327c
xor ecx, ecx
lea esi, [ebp - 0x42c]
mov byte [ebp - 4], 0x16
call fcn.0040ad24
cmp eax, 0xffffffff
je 0x40a75b
push eax
lea eax, [ebp - 0x44c]
push eax
mov ecx, esi
call main
mov byte [ebp - 4], 0x17
call fcn.0044825c
push eax
lea ecx, [ebp - 0x434]
call fcn.0041872d
mov ecx, dword [ebp - 0x474]
lea eax, [ebp - 0x434]
push eax
mov byte [ebp - 4], 0x18
call fcn.0043ae18
mov edi, dword [ebp - 0x44c]
push edi
lea ecx, [ebp - 0x434]
call fcn.0040ae5c
test eax, eax
je 0x40a745
xor esi, esi
xor bl, bl
cmp dword [ebp - 0x4b0], esi
jle 0x40a726
test bl, bl
jne 0x40a745
push esi
lea ecx, [ebp - 0x4b8]
call fcn.0040b035
push edi
mov ecx, eax
call fcn.0040ae5c
test eax, eax
jne 0x40a719
inc bl
mov byte [ebp - 0x421], bl
inc esi
cmp esi, dword [ebp - 0x4b0]
jl 0x40a6f5
test bl, bl
jne 0x40a745
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x468]
lea ecx, [ebp - 0x470]
call main
mov byte [ebp - 0x421], 1
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [edi - 0x10]
call fcn.004025d2
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.004025d2
cmp byte [ebp - 0x421], 0
jne 0x40a8e8
mov edi, dword [ebp - 0x458]
xor ebx, ebx
cmp dword [edi + 8], ebx
jne 0x40a7a4
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x468]
lea ecx, [ebp - 0x470]
call main
jmp 0x40a8e8
lea ecx, [ebp - 0x4a4]
call fcn.0044a7fe
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x19
call fcn.004020ea
push 0x483280
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x1a
call fcn.0040af5f
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x4a4]
call main
cmp eax, ebx
je 0x40a89f
cmp byte [ebp - 0x421], 0
jne 0x40a89f
lea ecx, [ebp - 0x4a4]
call fcn.0044a593
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x450], eax
call fcn.0044a7bf
test eax, eax
jne 0x40a893
mov eax, dword [ebp - 0x4a4]
push 0x10
lea ecx, [ebp - 0x4a4]
call dword [eax + 0x38]
test eax, eax
jne 0x40a893
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.0044aac3
mov byte [ebp - 4], 0x1b
xor esi, esi
cmp dword [edi + 8], ebx
jle 0x40a881
push esi
mov ecx, edi
call fcn.0040b035
mov eax, dword [eax]
cmp eax, ebx
je 0x40a87b
push dword [ebp - 0x440]
add eax, 8
mov ecx, eax
call fcn.0040ae5c
test eax, eax
jne 0x40a87b
mov byte [ebp - 0x421], 1
inc esi
cmp esi, dword [edi + 8]
jl 0x40a852
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x440]
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x450], ebx
jne 0x40a7f3
lea ecx, [ebp - 0x4a4]
call fcn.0044a4ad
cmp byte [ebp - 0x421], 0
jne 0x40a8cb
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x468]
lea ecx, [ebp - 0x470]
call main
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x15
call fcn.0044a827
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.004025d2
xor edi, edi
cmp dword [ebp - 0x448], edi
jne 0x40a5be
lea ecx, [ebp - 0x48c]
call fcn.0044a4ad
xor esi, esi
cmp dword [ebp - 0x468], edi
jle 0x40a957
push edi
push esi
lea ecx, [ebp - 0x470]
call fcn.0040b035
push ecx
mov dword [ebp - 0x458], esp
mov ecx, esp
push eax
call fcn.004020ea
call fcn.004423ba
inc esi
cmp esi, dword [ebp - 0x468]
pop ecx
pop ecx
jl 0x40a92b
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
call fcn.0044a827
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xc
call fcn.00449502
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0xb
call fcn.00449502
mov ecx, dword [ebp - 0x454]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf60
ret