Function at 0x40e464
Capabilities:
Get common file path
Get program files directory
Link many functions at runtime

Disassembly:
push 0x284
mov eax, 0x4adfae
call fcn.0046c66c
mov dword [ebp - 0x27c], ecx
push 0x519cb8
call fcn.0048cc70
pop ecx
test eax, eax
jne 0x40e877
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00484ac0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40e877
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call fcn.004104f8
mov esi, eax
mov edi, str.Common_FilesAdobeOOBEPDAppP7_
mov dword [ebp - 4], ebx
push edi
call fcn.004881cd
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00410e63
push eax
lea ecx, [ebp - 0x260]
call fcn.004104d4
mov esi, str.IMSLib.dll
mov byte [ebp - 4], 1
push esi
call fcn.004881cd
pop ecx
push eax
push esi
lea ecx, [ebp - 0x260]
call fcn.00410e63
push eax
lea ecx, [ebp - 0x230]
call fcn.004104d4
lea ecx, [ebp - 0x260]
call fcn.004105af
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.004105af
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40e800
push str.IMS_createRefForProductVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IMS_registerClientToGroup
push edi
mov dword [ebp - 0x288], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IMS_fetchDefaultUserInfoForClientId
push edi
mov dword [ebp - 0x280], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IMS_releaseData
mov esi, eax
push edi
mov dword [ebp - 0x284], esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IMS_releaseRef
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x288], 0
mov dword [ebp - 0x290], eax
je 0x40e7c4
cmp dword [ebp - 0x280], 0
je 0x40e7c4
test esi, esi
je 0x40e7c4
test ebx, ebx
je 0x40e7c4
test eax, eax
je 0x40e7c4
and dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x27c]
push 0x1a
add ecx, 0x50
call fcn.004442e4
movzx eax, ax
cmp eax, 0x38
je 0x40e62f
cmp eax, 0x42
je 0x40e62f
cmp eax, 0x43
je 0x40e62f
mov esi, str.V7AcrobatESR_12_Win_GM
cmp eax, 0x45
je 0x40e634
mov esi, str.V7AcrobatCont_12_Win_GM
push esi
call fcn.0048cc70
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004106d4
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
mov esi, dword [ebp - 0x288]
mov ecx, esi
cmovae eax, dword [ebp - 0x248]
push eax
push 0
call dword [0x4ba7e8]
call esi
mov esi, dword [ebp - 0x280]
pop ecx
pop ecx
push 0
push str.AAM_CCE
push eax
mov ecx, esi
mov dword [ebp - 0x28c], eax
call dword [0x4ba7e8]
call esi
add esp, 0xc
test eax, eax
jne 0x40e7ad
and dword [ebp - 0x288], eax
lea eax, [ebp - 0x288]
mov esi, dword [ebp - 0x284]
mov ecx, esi
push eax
push str.AAM_CCE
push dword [ebp - 0x28c]
call dword [0x4ba7e8]
call esi
add esp, 0xc
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x288]
call fcn.00409dfc
mov byte [ebp - 4], 7
call fcn.004527d1
push eax
lea ecx, [ebp - 0x280]
call fcn.00402899
push str._UserID_
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 8
call fcn.00402829
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x27c]
call fcn.0044bd63
pop ecx
mov byte [ebp - 4], 8
mov esi, eax
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00402e64
test esi, esi
jne 0x40e75d
mov eax, dword [ebp - 0x280]
cmp dword [eax - 0xc], esi
je 0x40e75d
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x104
mov edx, 0x519cb8
lea ecx, [ebp - 0x280]
call fcn.004443b1
pop ecx
pop ecx
lea eax, [ebp - 0x288]
mov ecx, ebx
push eax
push 3
push dword [ebp - 0x28c]
call dword [0x4ba7e8]
call ebx
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
add esp, 0xc
mov ecx, esi
push eax
call dword [0x4ba7e8]
call esi
pop ecx
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x248]
call fcn.00410654
jmp 0x40e86c
push str.One_of_the_exports_failed_in_GetPersonGUID
lea ecx, [ebp - 0x27c]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 5
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402e64
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e86c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x284]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00402829
push str.LoadLibrary_failed_in_GetPersonGUID:
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
call fcn.00402829
push ebx
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xb
push eax
push 2
lea edx, [ebp - 0x27c]
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x230]
call fcn.004105af
mov eax, 0x519cb8
call fcn.0046c616
ret