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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45573c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x486d50]
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.0040e50d
or dword [esp + 0x44], 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
call fcn.00429b48
push eax
lea ecx, [esp + 0x18]
call fcn.0040fc71
lea eax, [esp + 0x14]
push eax
mov edi, 0x45eeb8
push edi
push str..pdf
mov ebx, 0x80000000
push ebx
mov dword [esp + 0x48], 1
call fcn.0042429b
add esp, 0x10
cmp eax, esi
jne 0x425f66
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
je 0x425f66
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.0040e087
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [esp + 0x1c], esi
call fcn.00429b48
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fc71
mov byte [esp + 0x38], 4
call fcn.00429b48
push eax
lea ecx, [esp + 0x14]
call fcn.0040fc71
push str.AcroExch.Document
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0040b384
test eax, eax
jne 0x425d4d
lea eax, [esp + 0x18]
push eax
push edi
push str.AcroExch.Document.7_shell
push ebx
call fcn.0042429b
add esp, 0x10
cmp eax, esi
mov esi, dword [esp + 0x18]
jne 0x425d09
cmp dword [esi - 0xc], 0
je 0x425d09
push str.Read
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x425cda
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x425cf9
push str.Open
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x425de2
lea eax, [esp + 0x10]
push eax
push edi
push str.AcroExch.Document.7_shellOpencommand
push ebx
call fcn.0042429b
add esp, 0x10
mov ebx, eax
jmp 0x425dda
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.0040e50d
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [esi - 0x10]
jmp 0x425f90
push str.Acrobat.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x425d7e
push str._shellOpencommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004088df
add esp, 0xc
mov byte [esp + 0x38], 7
jmp 0x425db1
push str.AcroExch.Document.
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x425f31
push str._shellReadcommand
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004088df
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.0042429b
mov byte [esp + 0x48], 5
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.004025e7
mov esi, dword [esp + 0x18]
test ebx, ebx
jne 0x425f07
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x425f07
push edi
push str.___1_
lea eax, [esp + 0x18]
push eax
call fcn.004086d4
lea eax, [esp + 0x10]
push eax
call fcn.004295f4
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425e57
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.0040e087
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
jmp 0x425d40
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.00425570
add esp, 0xc
test eax, eax
jne 0x425e8e
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x18]
jmp 0x425f8d
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x425eb5
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x425eb5
mov dword [esp + 0x1c], 1
jmp 0x425eda
push str.Acrobat.exe
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.0040884e
cmp eax, 0xffffffff
je 0x425eda
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x425eda
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [esp + 0x1c]
jmp 0x425fa3
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.0040e50d
mov ecx, dword [esp + 0x2c]
jmp 0x425d2e
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.0040e50d
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x425e79
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.0040e50d
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
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