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

Disassembly:
push 0x1c
mov eax, 0x4b37e8
call fcn.0046ac08
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.004174f1
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.00450db1
push eax
lea ecx, [ebp - 0x14]
call main
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 0x4460af
lea eax, [ebp - 0x1c]
push eax
push str._n_vSN
push esi
push edi
push 0x4bfe4c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x446076
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x446076
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 [0x4b87e4]
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 [0x4b87e4]
call esi
test edi, edi
js 0x44605e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call main
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x4460a7
push str.QueryCurrentDefault
lea ecx, [ebp - 0x20]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
xor edi, edi
inc ecx
jmp 0x446089
push 0x4f7bcc
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.00416dc0
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 0x4460e0
push 0x4f7bf0
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.00416dc0
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 0x4461f7
push edi
push str.Acrobat.Document.
lea ecx, [ebp - 0x14]
call main
cmp eax, 0xffffffff
je 0x446105
push 2
pop edi
jmp 0x44611f
push edi
push str.AcroExch.Document.
lea ecx, [ebp - 0x14]
call main
cmp eax, 0xffffffff
je 0x4461f7
xor edi, edi
inc edi
call fcn.00450db1
push eax
lea ecx, [ebp - 0x10]
call main
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 0x4cead4
mov ecx, SysReAllocString
call main
mov byte [ebp - 4], 6
add esp, 0x18
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4cead4
push str.___1_
lea ecx, [ebp - 0x10]
call main
push 0x22
lea ecx, [ebp - 0x10]
call main
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4461d1
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.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4461ec
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.004456f8
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.0046abd1
ret