Function at 0x485750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f17d6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x67d070]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov eax, dword [0x689928]
test eax, eax
jne 0x4857d6
push 0x3d8
call fcn.00599c81
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
push 0x3d8
push 0
push esi
mov byte [ebp - 4], 1
call fcn.005b3770
add esp, 0xc
mov ecx, esi
call fcn.0042ca50
mov byte [ebp - 4], 0
mov dword [0x689928], eax
mov eax, dword [eax + 0xf0]
mov ebx, fcn.0042c970
cmp eax, 1
je 0x485be3
cmp eax, 5
je 0x485be3
lea ecx, [ebp - 0x98]
call fcn.0042d500
push str.CCLBS
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00406e60
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.0049c840
mov byte [ebp - 4], 6
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48583e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b40
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48586e
sub esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.004b9950
add esp, 0xc
push ecx
lea ecx, [ebp - 0x98]
call fcn.0049ccd0
xor eax, eax
mov dword [ebp - 0x2c], 7
add esp, 4
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0049c250
push str.Core
lea ecx, [ebp - 0x28]
call fcn.00406e60
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.0049c840
mov byte [ebp - 4], 8
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4858d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b40
push str.AdobePIM.dll
lea ecx, [ebp - 0x28]
call fcn.00406e60
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.0049c840
mov byte [ebp - 4], 8
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48590f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b40
lea ecx, [edi + 0x3b8]
lea edx, [ebp - 0x80]
call fcn.004a6ca0
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.0049e290
add esp, 4
test al, al
jne 0x48596b
test ebx, ebx
je 0x485963
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.Failed_to_get_the_PIM_version_from_location:__s
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x1c
xor eax, eax
xor edx, edx
xor ecx, ecx
jmp 0x485974
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x80]
cmp eax, esi
jl 0x485a70
jg 0x4859a7
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x7c]
cmp eax, esi
jl 0x485a70
jg 0x4859a7
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jl 0x485a70
jg 0x4859a7
cmp edx, dword [ebp - 0x74]
jl 0x485a70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407550
push str.AdobePIM.dll
lea ecx, [ebp - 0x28]
call fcn.00406e60
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x58]
call fcn.0049c840
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00406e20
sub esp, 0xc
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
push 0
call fcn.0049e040
add esp, 0x10
test al, al
jne 0x485a40
test ebx, ebx
je 0x485a30
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.failed_to_copy_pim_library_from_machine_to__s
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x1c
push 0
push 0x2b
mov ecx, edi
call fcn.00489f40
jmp 0x485ac4
test ebx, ebx
je 0x485bcb
push str.PIM_dll_is_latest_on_machine
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x18
jmp 0x485bcb
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x78], vtable.AssetDownloader.0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xb
push eax
lea eax, [edi + 0x3d0]
push eax
lea ecx, [ebp - 0x78]
call fcn.00436aa0
test al, al
jne 0x485ade
test ebx, ebx
je 0x485ac4
push str.Failed_in_download_PIM
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0042c970
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.00406e20
lea ecx, [ebp - 0x98]
call fcn.00406e20
xor bl, bl
jmp 0x485e41
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.pimx
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xc
call fcn.00406e60
push ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push 1
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x98]
call fcn.0049d740
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc8]
call fcn.00406e20
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x485b7f
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x485b75
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00407550
lea ecx, [ebp - 0x58]
call fcn.0049c780
jmp 0x485b92
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407550
push str.AdobePIM.dll
lea ecx, [ebp - 0xc8]
call fcn.00406e60
push ecx
lea edx, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.0049c840
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.00406e20
lea ecx, [ebp - 0x1c]
call fcn.0040a730
lea ecx, [ebp - 0x40]
call fcn.00406e20
lea ecx, [ebp - 0x98]
call fcn.00406e20
jmp 0x485cda
xor eax, eax
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.0049be30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407550
push 9
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.resources
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407060
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.0049c840
mov byte [ebp - 4], 3
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x485c71
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b40
push 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.AdobePIM.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407060
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0049c840
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x485cbc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407b40
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x485cda
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
push eax
push 0x622628
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.00407060
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004d8290
cmp dword [ebp - 0x60], 0
ja 0x485d56
test ebx, ebx
je 0x485d44
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.could_not_get_the_CANameChain_of_the_library__s
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0042c970
add esp, 0x1c
push 0
push 0x2a
mov ecx, edi
call fcn.00489f40
xor bl, bl
jmp 0x485e18
lea ecx, [ebp - 0x70]
call fcn.004b6c50
test al, al
jne 0x485da4
test ebx, ebx
je 0x485d95
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push str.PIM_Validation_Failed:Process_certificate_didnt_match_to_Adobe_certificate__CANameChain:__s
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0042c970
add esp, 0x1c
push 0
push 0x48
mov ecx, edi
call fcn.00489f40
xor bl, bl
jmp 0x485e18
test ebx, ebx
je 0x485dcb
push str.PIM_validation_successful
push 0x622628
push 0x622628
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0042c970
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x420]
call fcn.004b9cd0
test al, al
jne 0x485e16
push 0
push 1
mov ecx, edi
call fcn.00489f40
push str.PIMLoadFailure
lea ecx, [ebp - 0xc8]
call fcn.00406e60
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
call fcn.00489f00
lea ecx, [ebp - 0xc8]
call fcn.00406e20
xor bl, bl
jmp 0x485e18
mov bl, 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x485e2d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x485e56
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00407b40
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.00599c70
mov esp, ebp
pop ebp
ret