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

Disassembly:
push 0x20
mov eax, 0x45f471
call fcn.00447d5b
push str.FindCurrentPDFOwner...
lea ecx, [ebp - 0x1c]
call fcn.00402060
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411fad
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
call fcn.00434582
push eax
lea ecx, [ebp - 0x14]
call fcn.0040210b
lea eax, [ebp - 0x14]
push eax
mov edi, 0x469238
push edi
push str..pdf
mov ebx, 0x80000000
push ebx
mov dword [ebp - 4], 1
call fcn.0042e0e5
add esp, 0x10
cmp eax, esi
jne 0x42fcb9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x42fcb9
push str..pdf_value:
lea ecx, [ebp - 0x1c]
call fcn.00402060
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.00411b27
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [ebp - 0x1c], esi
call fcn.00434582
push eax
lea ecx, [ebp - 0x18]
call fcn.0040210b
mov byte [ebp - 4], 4
call fcn.00434582
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
push str.AcroExch.Document
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00408ff7
test eax, eax
jne 0x42fac7
lea eax, [ebp - 0x18]
push eax
push edi
push str.AcroExch.Document.7_shell
push ebx
call fcn.0042e0e5
add esp, 0x10
cmp eax, esi
mov esi, dword [ebp - 0x18]
jne 0x42fa88
cmp dword [esi - 0xc], 0
je 0x42fa88
push str.Read
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42fa5a
lea eax, [ebp - 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x42fa78
push str.Open
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42fb52
lea eax, [ebp - 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellOpencommand
push ebx
call fcn.0042e0e5
add esp, 0x10
mov ebx, eax
jmp 0x42fb4a
push str.AcroExch.Document.7_shell___no_value
lea ecx, [ebp - 0x1c]
call fcn.00402060
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.00411fad
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [esi - 0x10]
jmp 0x42fcdf
push str.Acrobat.Document.
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00408f4f
cmp eax, 0xffffffff
je 0x42faf5
push str._shellOpencommand
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408f80
add esp, 0xc
mov byte [ebp - 4], 7
jmp 0x42fb25
push str.AcroExch.Document.
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00408f4f
cmp eax, 0xffffffff
je 0x42fc88
push str._shellReadcommand
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408f80
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
push ebx
call fcn.0042e0e5
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040253e
mov esi, dword [ebp - 0x18]
test ebx, ebx
jne 0x42fc62
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x42fc62
push edi
push str.___1_
lea eax, [ebp - 0x10]
push eax
call fcn.00408dd5
push 0x22
lea eax, [ebp - 0x10]
push eax
call fcn.0040c48e
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42fbc0
push str.File_not_found:
lea ecx, [ebp - 0x20]
call fcn.00402060
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 0xb
call fcn.00411b27
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [edi - 0x10]
jmp 0x42faba
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x24]
lea ebx, [ebp - 0x28]
call fcn.0042f19a
add esp, 0xc
test eax, eax
jne 0x42fbf1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x18]
jmp 0x42fcdc
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408f4f
cmp eax, 0xffffffff
je 0x42fc16
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x42fc16
mov dword [ebp - 0x1c], 1
jmp 0x42fc39
push str.Acrobat.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408f4f
cmp eax, 0xffffffff
je 0x42fc39
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x42fc39
mov dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp - 0x1c]
jmp 0x42fcf1
push str.Unable_to_get_file_path
lea ecx, [ebp - 0x20]
call fcn.00402060
push 0
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.00411fad
mov ecx, dword [ebp - 0x20]
jmp 0x42faa9
push str.Unknown_ProgID_value_in_.pdf
lea ecx, [ebp - 0x20]
call fcn.00402060
push 0
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 9
call fcn.00411fad
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x42fbde
push str..pdf___no_value
lea ecx, [ebp - 0x20]
call fcn.00402060
push esi
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00411fad
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00447e33
ret