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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4563e1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x489d50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push str.FindCurrentPDFOwner...
lea ecx, [esp + 0x20]
call fcn.0040215a
xor esi, esi
push esi
lea eax, [esp + 0x20]
push eax
push 2
mov dword [esp + 0x44], esi
call fcn.0040ece1
or dword [esp + 0x44], 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0042a9e0
push eax
lea ecx, [esp + 0x18]
call fcn.00410472
lea eax, [esp + 0x14]
push eax
mov edi, 0x460030
push edi
push str..pdf
mov ebx, 0x80000000
push ebx
mov dword [esp + 0x48], 1
call fcn.00424f39
add esp, 0x10
cmp eax, esi
jne 0x426ca8
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
je 0x426ca8
push str..pdf_value:
lea ecx, [esp + 0x20]
call fcn.0040215a
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x48], 3
call fcn.0040e85b
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [esp + 0x1c], esi
call fcn.0042a9e0
push eax
lea ecx, [esp + 0x1c]
call fcn.00410472
mov byte [esp + 0x38], 4
call fcn.0042a9e0
push eax
lea ecx, [esp + 0x14]
call fcn.00410472
push str.AcroExch.Document
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00408d87
test eax, eax
jne 0x426a8f
lea eax, [esp + 0x18]
push eax
push edi
push str.AcroExch.Document.7_shell
push ebx
call fcn.00424f39
add esp, 0x10
cmp eax, esi
mov esi, dword [esp + 0x18]
jne 0x426a4b
cmp dword [esi - 0xc], 0
je 0x426a4b
push str.Read
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x426a1c
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x426a3b
push str.Open
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x426b24
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellOpencommand
push ebx
call fcn.00424f39
add esp, 0x10
mov ebx, eax
jmp 0x426b1c
push str.AcroExch.Document.7_shell___no_value
lea ecx, [esp + 0x20]
call fcn.0040215a
push 0
lea eax, [esp + 0x20]
push eax
push 2
mov byte [esp + 0x44], 6
call fcn.0040ece1
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
jmp 0x426cd2
push str.Acrobat.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00408c65
cmp eax, 0xffffffff
je 0x426ac0
push str._shellOpencommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00408cf6
add esp, 0xc
mov byte [esp + 0x38], 7
jmp 0x426af3
push str.AcroExch.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00408c65
cmp eax, 0xffffffff
je 0x426c73
push str._shellReadcommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00408cf6
add esp, 0xc
mov byte [esp + 0x38], 8
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
push ebx
call fcn.00424f39
mov byte [esp + 0x48], 5
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.004025dc
mov esi, dword [esp + 0x18]
test ebx, ebx
jne 0x426c49
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x426c49
push edi
push str.___1_
lea eax, [esp + 0x18]
push eax
call fcn.00408aeb
lea eax, [esp + 0x10]
push eax
call fcn.0042a46a
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x426b99
push str.File_not_found:
lea ecx, [esp + 0x24]
call fcn.0040215a
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 2
mov byte [esp + 0x48], 0xb
call fcn.0040e85b
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
jmp 0x426a82
push 1
push dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x2c]
lea edi, [esp + 0x30]
lea ebx, [esp + 0x34]
call fcn.004262b2
add esp, 0xc
test eax, eax
jne 0x426bd0
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x18]
jmp 0x426ccf
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c65
cmp eax, 0xffffffff
je 0x426bf7
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x426bf7
mov dword [esp + 0x1c], 1
jmp 0x426c1c
push str.Acrobat.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c65
cmp eax, 0xffffffff
je 0x426c1c
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x426c1c
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [esp + 0x1c]
jmp 0x426ce5
push str.Unable_to_get_file_path
lea ecx, [esp + 0x24]
call fcn.0040215a
push 0
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x44], 0xa
call fcn.0040ece1
mov ecx, dword [esp + 0x2c]
jmp 0x426a70
push str.Unknown_ProgID_value_in_.pdf
lea ecx, [esp + 0x24]
call fcn.0040215a
push 0
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x44], 9
call fcn.0040ece1
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x426bbb
push str..pdf___no_value
lea ecx, [esp + 0x24]
call fcn.0040215a
push esi
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x44], 2
call fcn.0040ece1
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret