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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e0fab
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x82f084]
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 - 0x2b8], 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.0043b360
mov eax, dword [eax + 0xd8]
cmp eax, 1
je 0x4a05e8
call fcn.0043b360
mov eax, dword [eax + 0xd8]
cmp eax, 5
je 0x4a05e8
lea ecx, [ebp - 0x248]
call fcn.0043ca60
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.0060f9d0
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 0x49ffa5
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.006102b0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.004483f0
push ecx
lea ecx, [ebp - 0x248]
call fcn.0060ff00
xor eax, eax
mov dword [ebp - 0x250], 0
add esp, 4
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ebp - 0x2b4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.0060d700
cmp dword [ebp - 0x2b4], 2
jne 0x4a0007
lea ecx, [ebp - 0x260]
call fcn.0060ecf0
test al, al
je 0x4a005b
push 0x15
push str.Adobe_Desktop_Common
jmp 0x4a0050
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4a005b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0027
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.0060f9d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x290]
call fcn.0060d700
test al, al
je 0x4a0127
cmp dword [ebp - 0x2b4], 2
jne 0x4a0127
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x763948
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.0060f9d0
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.0060f9d0
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.00619aa0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call esi
test eax, eax
jne 0x4a02d2
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 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b2b0
add esp, 0x1c
xorps xmm0, xmm0
movlpd qword [ebp - 0x294], xmm0
mov dword [ebp - method.AssetDownloader.virtual_0], vtable.AssetDownloader.0
lea eax, [ebp - 0x2ad]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 0x2ad], 0
push eax
lea eax, [ebx + 0x430]
push eax
lea ecx, [ebp - 0x294]
call fcn.004443c0
test al, al
jne 0x4a0474
push str.Failed_in_download_PIM
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x18
lea ecx, [ebp - 0x260]
call fcn.0042fd70
lea ecx, [ebp - 0x248]
call fcn.0042fd70
xor bl, bl
jmp 0x4a091b
push ecx
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x260]
call fcn.00611630
add esp, 4
test al, al
jne 0x4a030a
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 0x4a022c
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x22c]
jl 0x4a024a
jg 0x4a036c
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x228]
jl 0x4a024a
jg 0x4a036c
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x224]
jl 0x4a024a
jg 0x4a036c
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x220]
jl 0x4a024a
jg 0x4a036c
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x21c]
jl 0x4a024a
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.0060f9d0
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.00611460
add esp, 0x10
test al, al
jne 0x4a044c
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 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b2b0
add esp, 0x1c
mov ecx, ebx
push 0
push 0x2b
call fcn.004a32d0
jmp 0x4a02b5
push str.PIM_dll_is_latest_on_machine
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b2b0
add esp, 0x18
jmp 0x4a0727
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.00610b20
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 0x4a055f
lea eax, [ebp - 0x28c]
cmp eax, esi
je 0x4a0552
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4a0543
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28c]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x28c]
call fcn.0060f900
jmp 0x4a0585
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.0060f9d0
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea ecx, [ebp - 0x26c]
call fcn.004483f0
jmp 0x4a0727
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 0x4a0662
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4a0662
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0640
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.0060f9d0
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.0060f9d0
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 0x75c10c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x10
call fcn.0042fe00
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x28c]
call fcn.0064a0a0
cmp dword [ebp - 0x29c], 0
ja 0x4a07a9
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 0x4a07d6
lea ecx, [ebp - 0x2ac]
call fcn.0063f750
test al, al
jne 0x4a0807
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 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b2b0
add esp, 0x1c
mov ecx, ebx
push 0
push esi
call fcn.004a32d0
xor bl, bl
jmp 0x4a0910
push str.PIM_validation_successful
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b2b0
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
push eax
push str.Loading_PIM_from_path__s
push 0x75c10c
push 0x75c10c
push str.WorkflowManager
push str.WAMB
push 0xa
call fcn.0043b2b0
add esp, 0x34
lea eax, [ebp - 0x28c]
lea ecx, [ebx + 0x498]
push eax
call fcn.00625850
test al, al
jne 0x4a090e
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 0x4a08f0
mov edi, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x248]
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 0x4a08d1
mov ebx, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x248]
call fcn.0042fd70
push 0
mov esi, 1
mov ecx, ebx
push esi
call fcn.004a32d0
xor bl, bl
jmp 0x4a0910
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.0067d651
mov esp, ebp
pop ebp
ret