Function at 0x49ea70
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df16b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2b4], ebx
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov dword [ebp - 4], eax
call fcn.0043b1a0
mov eax, dword [eax + 0xd8]
cmp eax, 1
je 0x49f20a
call fcn.0043b1a0
mov eax, dword [eax + 0xd8]
cmp eax, 5
je 0x49f20a
lea ecx, [ebp - 0x248]
call fcn.0043c8a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
push 5
xor eax, eax
mov dword [ebp - 0x220], 0
push str.CCLBS
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.0042fd70
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x248]
push eax
call esi
test eax, eax
je 0x49ebd5
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
movq qword [ebp - 0x26c], xmm0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
push ecx
push 1
sub esp, 0xc
mov byte [ebp - 4], 6
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x248]
call fcn.0060eab0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.00448080
push ecx
lea ecx, [ebp - 0x248]
call fcn.0060e700
xor eax, eax
mov dword [ebp - 0x250], 0
add esp, 4
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.0060bf00
cmp dword [ebp - 0x2b0], 2
jne 0x49ec37
lea ecx, [ebp - 0x260]
call fcn.0060d4f0
test al, al
je 0x49ec8b
push 0x15
push str.Adobe_Desktop_Common
jmp 0x49ec80
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49ec8b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ec57
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.0042fe00
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x260]
call fcn.0042ff20
push 4
xor eax, eax
mov dword [ebp - 0x220], 0
push str.Core
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x260]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x290]
call fcn.0060bf00
test al, al
je 0x49ed57
cmp dword [ebp - 0x2b0], 2
jne 0x49ed57
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x762838
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x260]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.0042fd70
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push str.AdobePIM.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea ecx, [ebx + 0x418]
mov dword [ebp - 0x264], 0
lea edx, [ebp - 0x22c]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0
call fcn.006182a0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call esi
test eax, eax
jne 0x49eef4
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.MachinePIMDLL_not_found_at_location:__s
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b0f0
add esp, 0x1c
xorps xmm0, xmm0
movlpd qword [ebp - 0x294], xmm0
mov dword [ebp - method.AssetDownloader.virtual_0], vtable.AssetDownloader.0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebx + 0x430]
push eax
lea ecx, [ebp - 0x294]
call fcn.004440e0
test al, al
jne 0x49f096
push str.Failed_in_download_PIM
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b0f0
add esp, 0x18
lea ecx, [ebp - 0x260]
call fcn.0042fd70
lea ecx, [ebp - 0x248]
call fcn.0042fd70
xor bl, bl
jmp 0x49f50a
push ecx
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x260]
call fcn.0060fe30
add esp, 4
test al, al
jne 0x49ef2c
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.Failed_to_get_the_MachinePIMDLL_version_from_location:__s
jmp 0x49ee5c
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x22c]
jl 0x49ee7a
jg 0x49ef8e
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x228]
jl 0x49ee7a
jg 0x49ef8e
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x224]
jl 0x49ee7a
jg 0x49ef8e
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x220]
jl 0x49ee7a
jg 0x49ef8e
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x21c]
jl 0x49ee7a
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x28c]
push eax
call fcn.0042fe00
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push str.AdobePIM.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.0042fd70
sub esp, 0x10
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x260]
call fcn.0060fc60
add esp, 0x10
test al, al
jne 0x49f06e
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
push eax
push str.failed_to_copy_pim_library_from_machine_to__s
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b0f0
add esp, 0x1c
mov ecx, ebx
push 0
push 0x2b
call fcn.004a1be0
jmp 0x49eed7
push str.PIM_dll_is_latest_on_machine
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b0f0
add esp, 0x18
jmp 0x49f347
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
movq qword [ebp - 0x26c], xmm0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x230]
push 4
xor eax, eax
mov dword [ebp - 0x220], 0
push str.pimx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
sub esp, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.0060f320
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x230]
call fcn.0042fd70
mov ecx, dword [ebp - 0x268]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x26c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x49f181
lea eax, [ebp - 0x28c]
cmp eax, esi
je 0x49f174
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49f165
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28c]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x28c]
call fcn.0060e100
jmp 0x49f1a7
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x28c]
push eax
call fcn.0042fe00
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push str.AdobePIM.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28c]
call fcn.0060e1d0
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea ecx, [ebp - 0x26c]
call fcn.00448080
jmp 0x49f347
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x49f282
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x49f282
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49f260
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0042fe00
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x28c]
push eax
call fcn.0042fe00
push 9
xor eax, eax
mov dword [ebp - 0x250], 0
push str.resources
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.0042fd70
push 0xc
xor eax, eax
mov dword [ebp - 0x250], 0
push str.AdobePIM.dll
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.0060e1d0
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.0042fd70
lea ecx, [ebp - 0x248]
call fcn.0042fd70
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
push eax
push 0x75b10c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x10
call fcn.0042fe00
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x28c]
call fcn.00648690
cmp dword [ebp - 0x29c], 0
ja 0x49f3c9
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
mov esi, 0x2a
mov ecx, str.could_not_get_the_CANameChain_of_the_library__s
cmovae eax, dword [ebp - 0x28c]
jmp 0x49f3f6
lea ecx, [ebp - 0x2ac]
call fcn.0063dd60
test al, al
jne 0x49f427
cmp dword [ebp - 0x298], 8
lea eax, [ebp - 0x2ac]
mov esi, 0x48
mov ecx, str.PIM_Validation_Failed:Process_certificate_didnt_match_to_Adobe_certificate__CANameChain:__s
cmovae eax, dword [ebp - 0x2ac]
push eax
push ecx
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b0f0
add esp, 0x1c
mov ecx, ebx
push 0
push esi
call fcn.004a1be0
xor bl, bl
jmp 0x49f4ff
push str.PIM_validation_successful
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b0f0
add esp, 0x18
lea eax, [ebp - 0x28c]
lea ecx, [ebx + 0x498]
push eax
call fcn.00623fd0
test al, al
jne 0x49f4fd
push 0xe
xor eax, eax
mov dword [ebp - 0x238], 0
push str.PIMLoadFailure
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.0042fe00
mov esi, dword [ebp - 0x238]
lea edx, [ebx + 0xf6]
xor eax, eax
mov ecx, 0x32
mov edi, edx
rep stosd dword es:[edi], eax
xor ecx, ecx
test esi, esi
je 0x49f4df
mov edi, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x248]
nop dword [eax]
cmp edi, 8
lea eax, [ebp - 0x248]
cmovae eax, ebx
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x49f4c0
mov ebx, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x248]
call fcn.0042fd70
push 0
mov esi, 1
mov ecx, ebx
push esi
call fcn.004a1be0
xor bl, bl
jmp 0x49f4ff
mov bl, 1
lea ecx, [ebp - 0x2ac]
call fcn.0042fd70
lea ecx, [ebp - 0x28c]
call fcn.0042fd70
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 - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret