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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456664
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.0040ed4d
or dword [esp + 0x44], 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0042ac34
push eax
lea ecx, [esp + 0x18]
call fcn.004104de
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.00425091
add esp, 0x10
cmp eax, esi
jne 0x426e3f
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
je 0x426e3f
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.0040e8c7
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.0042ac34
push eax
lea ecx, [esp + 0x1c]
call fcn.004104de
mov byte [esp + 0x38], 4
call fcn.0042ac34
push eax
lea ecx, [esp + 0x14]
call fcn.004104de
push str.AcroExch.Document
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.00408d93
test eax, eax
jne 0x426c26
lea eax, [esp + 0x18]
push eax
push edi
push str.AcroExch.Document.7_shell
push ebx
call fcn.00425091
add esp, 0x10
cmp eax, esi
mov esi, dword [esp + 0x18]
jne 0x426be2
cmp dword [esi - 0xc], 0
je 0x426be2
push str.Read
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x426bb3
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x426bd2
push str.Open
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x426cbb
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellOpencommand
push ebx
call fcn.00425091
add esp, 0x10
mov ebx, eax
jmp 0x426cb3
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.0040ed4d
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 0x426e69
push str.Acrobat.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x426c57
push str._shellOpencommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00408d02
add esp, 0xc
mov byte [esp + 0x38], 7
jmp 0x426c8a
push str.AcroExch.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x426e0a
push str._shellReadcommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00408d02
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.00425091
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 0x426de0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x426de0
push edi
push str.___1_
lea eax, [esp + 0x18]
push eax
call fcn.00408af7
lea eax, [esp + 0x10]
push eax
call fcn.0042a6bf
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x426d30
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.0040e8c7
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
jmp 0x426c19
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.0042640a
add esp, 0xc
test eax, eax
jne 0x426d67
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x18]
jmp 0x426e66
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x426d8e
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x426d8e
mov dword [esp + 0x1c], 1
jmp 0x426db3
push str.Acrobat.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.00408c71
cmp eax, 0xffffffff
je 0x426db3
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x426db3
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 0x426e7c
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.0040ed4d
mov ecx, dword [esp + 0x2c]
jmp 0x426c07
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.0040ed4d
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x426d52
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.0040ed4d
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