Function at 0x4422bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1c
mov eax, 0x4b3878
call fcn.0046af88
mov ebx, ecx
push str.FindCurrentPDFOwner...
lea ecx, [ebp - 0x14]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x14]
push edi
push 2
pop ecx
mov dword [ebp - 4], edi
call fcn.00414071
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.Failed_to_detrmine_.pdf_owner_progID:
lea ecx, [ebp - 0x18]
call fcn.00402829
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00451171
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
mov byte [ebp - 4], 2
push edi
mov dword [ebx], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4423f5
lea eax, [ebp - 0x1c]
push eax
push str._n_vSN
push esi
push edi
push 0x4c0e6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4423bc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4423bc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov esi, dword [eax]
push ecx
push 1
push edi
mov ecx, dword [esi + 0xc]
push str..pdf
push eax
call dword [0x4b97ec]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x4b97ec]
call esi
test edi, edi
js 0x4423a4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0040286d
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x4423ed
push str.QueryCurrentDefault
lea ecx, [ebp - 0x20]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
xor edi, edi
inc ecx
jmp 0x4423cf
push 0x4fd87c
lea ecx, [ebp - 0x20]
call fcn.00402829
mov byte [ebp - 4], 4
mov ecx, esi
lea eax, [ebp - 0x20]
push edi
push eax
lea edx, [ebp - 0x18]
call fcn.00413940
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x442426
push 0x4fd8a0
lea ecx, [ebp - 0x20]
call fcn.00402829
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push edi
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00413940
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x44253d
push edi
push str.Acrobat.Document.
lea ecx, [ebp - 0x14]
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x44244b
push 2
pop edi
jmp 0x442465
push edi
push str.AcroExch.Document.
lea ecx, [ebp - 0x14]
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x44253d
xor edi, edi
inc edi
call fcn.00451171
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
push str._shellOpencommand
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
and dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402459
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x4cfdbc
mov ecx, SysReAllocString
call fcn.004404d0
mov byte [ebp - 4], 6
add esp, 0x18
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4cfdbc
push str.___1_
lea ecx, [ebp - 0x10]
call fcn.00409cc8
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0043a05a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x442517
push str.File_not_found:
lea ecx, [ebp - 0x20]
call fcn.00402829
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00413940
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x442532
push 1
lea eax, [ebp - 0x24]
mov edx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00441a3e
add esp, 0x10
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046af51
ret