Function at 0x427580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df38c
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, ecx
xor bl, bl
cmp byte [esi + 4], bl
jne 0x427616
lea eax, [ebp - 0x26c]
push str.Readerplug_insTest_Tools_aaFEAT.api
push eax
mov byte [esi + 4], 1
call fcn.0041d630
add esp, 8
cmp dword [ebp - 0x25c], 0
je 0x4275fe
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x4275f3
lea eax, [ebp - 0x26c]
push eax
call edi
test eax, eax
je 0x4275fe
mov byte [esi + 5], 1
cmp dword [ebp - 0x258], 8
jb 0x427616
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406ca9
add esp, 4
cmp byte [esi + 5], 0
je 0x42782a
push 0x20019
push str.SoftwareAdobeAcrobat_Reader11.0FEATcFeatDir
push 0x80000001
lea ecx, [ebp - 0x290]
call fcn.0040a620
xor eax, eax
xor edx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], dx
lea eax, [ebp - 0x250]
push eax
push str.tDIText
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.00429950
test eax, eax
jne 0x4277e3
cmp dword [ebp - 0x240], eax
je 0x4277e3
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.0043cf80
add esp, 8
cmp dword [ebp - 0x224], 0
mov byte [ebp - 4], 2
je 0x4277ae
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x4276c3
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x4277ae
mov eax, dword [ebp - 0x234]
mov edi, 8
cmp dword [ebp - 0x220], edi
jae 0x4276e7
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4277ae
cmp dword [ebp - 0x224], 0x104
jae 0x4277ae
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x42771a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00402be9
add esp, 0xc
test eax, eax
jne 0x42779c
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esp, [esp]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00482b80
test al, al
jne 0x427761
lea edx, [ebp - 0x218]
push edx
call ebx
test eax, eax
jne 0x427740
jmp 0x42779c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.00408720
push 1
lea ecx, [ebp - 0x288]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004270a0
lea ecx, [ebp - 0x288]
mov bl, al
mov byte [ebp - 4], 2
call fcn.00409f90
test bl, bl
jne 0x4277ae
push 1
lea edx, [ebp - 0x234]
push edx
mov ecx, esi
call fcn.004270a0
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x4277c6
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], 8
jb 0x4277fb
mov edx, dword [ebp - 0x250]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040aa30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret