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

Disassembly:
push 0x284
mov eax, 0x4ac5ae
call fcn.0046ac3c
mov dword [ebp - 0x27c], ecx
push 0x515cb8
call fcn.0048b250
pop ecx
test eax, eax
jne 0x40e907
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004830a0
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 0x40e907
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call main
mov esi, eax
mov edi, str.Common_FilesAdobeOOBEPDAppP7_
mov dword [ebp - 4], ebx
push edi
call main
pop ecx
push eax
push edi
mov ecx, esi
call main
push eax
lea ecx, [ebp - 0x260]
call main
mov esi, str.IMSLib.dll
mov byte [ebp - 4], 1
push esi
call main
pop ecx
push eax
push esi
lea ecx, [ebp - 0x260]
call main
push eax
lea ecx, [ebp - 0x230]
call main
lea ecx, [ebp - 0x260]
call fcn.004103df
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.004103df
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 0x40e890
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 0x40e854
cmp dword [ebp - 0x280], 0
je 0x40e854
test esi, esi
je 0x40e854
test ebx, ebx
je 0x40e854
test eax, eax
je 0x40e854
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 main
movzx eax, ax
cmp eax, 0x38
je 0x40e6bf
cmp eax, 0x42
je 0x40e6bf
cmp eax, 0x43
je 0x40e6bf
mov esi, str.V7AcrobatESR_12_Win_GM
cmp eax, 0x45
je 0x40e6c4
mov esi, str.V7AcrobatCont_12_Win_GM
push esi
call fcn.0048b250
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call main
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 [0x4b87e4]
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 [0x4b87e4]
call esi
add esp, 0xc
test eax, eax
jne 0x40e83d
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 [0x4b87e4]
call esi
add esp, 0xc
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x288]
call fcn.00409e8c
mov byte [ebp - 4], 7
call fcn.00450db1
push eax
lea ecx, [ebp - 0x280]
call main
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.0044b937
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 0x40e7ed
mov eax, dword [ebp - 0x280]
cmp dword [eax - 0xc], esi
je 0x40e7ed
call dword [sym.imp.kernel32.dll_GetACP]
push eax
push 0x104
mov edx, 0x515cb8
lea ecx, [ebp - 0x280]
call fcn.00443f87
pop ecx
pop ecx
lea eax, [ebp - 0x288]
mov ecx, ebx
push eax
push 3
push dword [ebp - 0x28c]
call dword [0x4b87e4]
call ebx
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
add esp, 0xc
mov ecx, esi
push eax
call dword [0x4b87e4]
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.00410484
jmp 0x40e8fc
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.004174f1
pop ecx
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402e64
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
jmp 0x40e8fc
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.00416dc0
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.004103df
mov eax, 0x515cb8
call fcn.0046abe6
ret