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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ad794
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2ac], eax
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.005c9eb0
cmp dword [ebp - 0x220], 2
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jne 0x4357df
lea ecx, [ebp - 0x26c]
call fcn.005cb7c0
jmp 0x435834
push 0
push 0x26
lea eax, [ebp - 0x21c]
push eax
push 0
call esi
test eax, eax
je 0x435834
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435800
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x26c]
call fcn.004272f0
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x2a8]
call fcn.005c9eb0
cmp dword [ebp - 0x220], 2
jne 0x435866
lea ecx, [ebp - 0x284]
call fcn.005cb4a0
test al, al
je 0x4358b6
push 0x15
push str.Adobe_Desktop_Common
jmp 0x4358ab
push 0
push 0x2b
lea eax, [ebp - 0x21c]
push eax
push 0
call esi
test eax, eax
je 0x4358b6
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435882
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x284]
call fcn.004272f0
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x254]
call fcn.00427050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
push 4
xor eax, eax
mov dword [ebp - 0x22c], 0
push str.Core
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00427170
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x2a8]
call fcn.005c9eb0
test al, al
je 0x435998
cmp dword [ebp - 0x220], 2
jne 0x435998
push 3
xor eax, eax
mov dword [ebp - 0x22c], 0
push 0x721578
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00427170
push 0xc
xor eax, eax
mov dword [ebp - 0x22c], 0
push str.AdobePIM.dll
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x254]
call fcn.005cc180
add esp, 4
lea ecx, [ebp - 0x23c]
call fcn.00427170
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x224]
call fcn.005e6c10
test al, al
jne 0x435a4f
cmp dword [ebp - 0x240], 8
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push eax
push str.getInstalledApplicationVersion:_Failed_to_load_PIM_library_at_path:__s
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
mov esi, dword [ebp - 0x224]
jmp 0x435dbc
mov esi, dword [ebp - 0x224]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x2a8], 0
test esi, esi
je 0x435a77
push str.pim_createLibraryRef
push esi
call edi
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x220], 0
test esi, esi
je 0x435a93
push str.pim_freeLibraryRef
push esi
call edi
mov dword [ebp - 0x220], eax
xor ebx, ebx
test esi, esi
je 0x435aa3
push str.pim_getInstalledPackagesInfo
push esi
call edi
mov ebx, eax
mov ecx, dword [ebp - 0x2a8]
test ecx, ecx
je 0x435d6f
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x435d6f
test ebx, ebx
je 0x435d6f
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
cmovae eax, dword [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2a0]
push eax
call ecx
add esp, 8
test eax, eax
je 0x435b2c
test esi, esi
je 0x435b04
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x224], esi
push str.getInstalledApplicationVersion:_error_in_pim_createLibraryRef
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
jmp 0x435dbf
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a0]
call ebx
mov ebx, eax
mov dword [ebp - 0x28c], 0
xor eax, eax
mov dword [ebp - 0x288], 7
add esp, 8
mov word [ebp - 0x29c], ax
mov byte [ebp - 4], 7
test ebx, ebx
jne 0x435ba0
mov edx, dword [ebp - 0x2a4]
test edx, edx
je 0x435ba0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x220], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435b80
sub ecx, dword [ebp - 0x220]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x29c]
call fcn.004271d0
lea eax, [ebp - 0x2a0]
push eax
call edi
add esp, 4
test esi, esi
je 0x435bc4
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x224], esi
test ebx, ebx
je 0x435bfd
push str.getInstalledApplicationVersion:_error_in_pim_getInstalledPackagesInfo
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
lea ecx, [ebp - 0x29c]
xor bl, bl
call fcn.00427170
jmp 0x435dc1
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x230]
call fcn.005e1600
test al, al
jne 0x435c71
push str.getInstalledApplicationVersion:_invalid_xml
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
xor bl, bl
jmp 0x435d33
push 0x49
xor eax, eax
mov dword [ebp - 0x220], 0
push str._package_installation_info_installed_package_element_nameACCC__version
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
call fcn.004271d0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.005e20f0
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0xd
call fcn.00427170
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x435d07
push str.getInstalledApplicationVersion:_no_package_for_ACCC_found.
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
xor bl, bl
jmp 0x435d25
push dword [ebp - 0x2ac]
push ecx
mov eax, esp
push edi
mov dword [eax], edi
mov eax, dword [edi]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.005e57c0
mov bl, al
mov byte [ebp - 4], 9
test edi, edi
je 0x435d33
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x22c]
test edi, edi
je 0x435d49
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor edi, edi
cmp byte [ebp - 0x228], 0
je 0x435d58
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
je 0x435d62
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x29c]
call fcn.00427170
jmp 0x435dc1
test esi, esi
je 0x435d87
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x224], esi
cmp dword [ebp - 0x240], 8
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push eax
push str.getInstalledApplicationVersion:_Invalid_PIM_library_at_path:__s
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x1c
xor bl, bl
test esi, esi
je 0x435dcc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [ebp - 0x254]
call fcn.00427170
lea ecx, [ebp - 0x284]
call fcn.00427170
lea ecx, [ebp - 0x26c]
call fcn.00427170
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4