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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b7adb
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x7e500c]
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.00432610
mov eax, dword [eax + 0xd8]
cmp eax, 1
je 0x48989a
call fcn.00432610
mov eax, dword [eax + 0xd8]
cmp eax, 5
je 0x48989a
lea ecx, [ebp - 0x248]
call fcn.00433a40
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.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00427170
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 0x489265
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.005cca60
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.0043f150
push ecx
lea ecx, [ebp - 0x248]
call fcn.005cc6b0
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.005c9eb0
cmp dword [ebp - 0x2b0], 2
jne 0x4892c7
lea ecx, [ebp - 0x260]
call fcn.005cb4a0
test al, al
je 0x48931b
push 0x15
push str.Adobe_Desktop_Common
jmp 0x489310
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48931b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4892e7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x260]
call fcn.004272f0
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.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x260]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.00427170
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x290]
call fcn.005c9eb0
test al, al
je 0x4893e7
cmp dword [ebp - 0x2b0], 2
jne 0x4893e7
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x721578
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x260]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.00427170
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.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.00427170
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.005d5d20
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call esi
test eax, eax
jne 0x489584
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 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
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.0043b2e0
test al, al
jne 0x489726
push str.Failed_in_download_PIM
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
lea ecx, [ebp - 0x260]
call fcn.00427170
lea ecx, [ebp - 0x248]
call fcn.00427170
xor bl, bl
jmp 0x489b9a
push ecx
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x260]
call fcn.005cdb90
add esp, 4
test al, al
jne 0x4895bc
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 0x4894ec
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x22c]
jl 0x48950a
jg 0x48961e
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x228]
jl 0x48950a
jg 0x48961e
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x224]
jl 0x48950a
jg 0x48961e
mov eax, dword [ebp - 0x268]
cmp eax, dword [ebp - 0x220]
jl 0x48950a
jg 0x48961e
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x21c]
jl 0x48950a
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.004271d0
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.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.00427170
sub esp, 0x10
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x260]
call fcn.005cd9c0
add esp, 0x10
test al, al
jne 0x4896fe
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 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x1c
mov ecx, ebx
push 0
push 0x2b
call fcn.0048bfb0
jmp 0x489567
push str.PIM_dll_is_latest_on_machine
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x18
jmp 0x4899d7
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.004271d0
sub esp, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x26c]
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.005cd090
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x230]
call fcn.00427170
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 0x489811
lea eax, [ebp - 0x28c]
cmp eax, esi
je 0x489804
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4897f5
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28c]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x28c]
call fcn.005cc0b0
jmp 0x489837
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.004271d0
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.004271d0
push ecx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28c]
call fcn.005cc180
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.00427170
lea ecx, [ebp - 0x26c]
call fcn.0043f150
jmp 0x4899d7
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 0x489912
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x489912
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4898f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004271d0
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.004271d0
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.004271d0
push ecx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.00427170
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.004271d0
push ecx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.005cc180
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.00427170
lea ecx, [ebp - 0x248]
call fcn.00427170
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
push eax
push 0x71a27c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x10
call fcn.004271d0
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x28c]
call fcn.00607750
cmp dword [ebp - 0x29c], 0
ja 0x489a59
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 0x489a86
lea ecx, [ebp - 0x2ac]
call fcn.005deaf0
test al, al
jne 0x489ab7
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 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x1c
mov ecx, ebx
push 0
push esi
call fcn.0048bfb0
xor bl, bl
jmp 0x489b8f
push str.PIM_validation_successful
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x18
lea eax, [ebp - 0x28c]
lea ecx, [ebx + 0x498]
push eax
call fcn.005e6c10
test al, al
jne 0x489b8d
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.004271d0
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 0x489b6f
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 0x489b50
mov ebx, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x248]
call fcn.00427170
push 0
mov esi, 1
mov ecx, ebx
push esi
call fcn.0048bfb0
xor bl, bl
jmp 0x489b8f
mov bl, 1
lea ecx, [ebp - 0x2ac]
call fcn.00427170
lea ecx, [ebp - 0x28c]
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 - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret