Function at 0x420b30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0adc
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5246a8]
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 0x420bc6
lea eax, [ebp - 0x26c]
push str.Readerplug_insTest_Tools_aaFEAT.api
push eax
mov byte [esi + 4], 1
call fcn.00414970
add esp, 8
cmp dword [ebp - 0x25c], 0
je 0x420bae
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x420ba3
lea eax, [ebp - 0x26c]
push eax
call edi
test eax, eax
je 0x420bae
mov byte [esi + 5], 1
cmp dword [ebp - 0x258], 8
jb 0x420bc6
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406d09
add esp, 4
cmp byte [esi + 5], 0
je 0x420dda
push 0x20019
push str.SoftwareAdobeAcrobat_Reader11.0FEATcFeatDir
push 0x80000001
lea ecx, [ebp - 0x290]
call fcn.0040a680
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.00422fd0
test eax, eax
jne 0x420d93
cmp dword [ebp - 0x240], eax
je 0x420d93
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004366e0
add esp, 8
cmp dword [ebp - 0x224], 0
mov byte [ebp - 4], 2
je 0x420d5e
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x420c73
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x420d5e
mov eax, dword [ebp - 0x234]
mov edi, 8
cmp dword [ebp - 0x220], edi
jae 0x420c97
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x420d5e
cmp dword [ebp - 0x224], 0x104
jae 0x420d5e
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x420cca
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00402c29
add esp, 0xc
test eax, eax
jne 0x420d4c
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esp, [esp]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.0047e270
test al, al
jne 0x420d11
lea edx, [ebp - 0x218]
push edx
call ebx
test eax, eax
jne 0x420cf0
jmp 0x420d4c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.00408780
push 1
lea ecx, [ebp - 0x288]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00420650
lea ecx, [ebp - 0x288]
mov bl, al
mov byte [ebp - 4], 2
call fcn.00409ff0
test bl, bl
jne 0x420d5e
push 1
lea edx, [ebp - 0x234]
push edx
mov ecx, esi
call fcn.00420650
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x420d76
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406d09
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 0x420dab
mov edx, dword [ebp - 0x250]
push edx
call fcn.00406d09
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.0040aa90
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