Function at 0x4223e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dedc1
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 edx, ecx
mov eax, dword [edx + 0x128]
mov ecx, dword [edx + 0x124]
lea esi, [edx + 0x124]
mov dword [ebp - 0xd0], edx
cmp ecx, eax
je 0x42246c
mov edx, dword [ebp - 0xd4]
push edx
push ecx
push eax
push eax
call fcn.0047c0e0
mov ebx, dword [esi + 4]
mov edi, eax
add esp, 0x10
mov esi, edi
cmp edi, ebx
je 0x42245e
lea esp, [esp]
mov ecx, esi
call fcn.0043dee0
add esi, 0x64
cmp esi, ebx
jne 0x422450
mov eax, dword [ebp - 0xd0]
mov dword [eax + 0x128], edi
mov edx, eax
xor ebx, ebx
xor esi, esi
cmp dword [edx + 0x134], ebx
jbe 0x4227ad
mov edi, 7
push 0x3b
xor eax, eax
push str.SoftwareAdobeAcrobat_Reader11.0AVGeneralcRecentFilesc
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.00405fe0
inc esi
lea ecx, [ebp - 0xc8]
push esi
push ecx
mov dword [ebp - 4], ebx
call fcn.004227d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040d6b0
cmp dword [ebp - 0xb4], 8
mov byte [ebp - 4], bl
jb 0x4224db
mov edx, dword [ebp - 0xc8]
push edx
call fcn.00406ca9
add esp, 4
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4224e7
lea eax, [ebp - 0x48]
push 0x20019
push eax
push 0x80000001
lea ecx, [ebp - 0xe0]
call fcn.0040a620
cmp dword [ebp - 0xe0], ebx
je 0x42278d
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], ebx
mov word [ebp - 0xac], ax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
lea eax, [ebp - 0xac]
push eax
push 0x4fe608
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00429950
lea ecx, [ebp - 0x80]
push ecx
test eax, eax
push str.tDIText
lea ecx, [ebp - 0xe0]
sete byte [ebp - 0xc9]
call fcn.00429950
test eax, eax
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xd4]
push eax
push ebx
push 0x4fe5f0
lea ecx, [ebp - 0xe0]
sete byte [ebp - 0xca]
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd8], ebx
call fcn.004539b0
mov eax, dword [ebp - 0xd4]
cmp eax, ebx
jbe 0x4225f8
cmp dword [ebp - 0xd8], 3
jne 0x4225f8
push eax
lea ecx, [ebp - 0x90]
call fcn.00458c80
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push eax
push 0x4fe5f0
lea ecx, [ebp - 0xe0]
call fcn.004539b0
cmp byte [ebp - 0xc9], bl
je 0x42272f
mov ecx, dword [ebp - 0x9c]
push 3
push 0x4fe91c
push ecx
push ebx
lea ecx, [ebp - 0xac]
call fcn.00407190
test eax, eax
jne 0x42272f
cmp byte [ebp - 0xca], bl
je 0x42272f
cmp dword [ebp - 0x70], ebx
je 0x42272f
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0043cf80
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
je 0x42270d
lea ecx, [ebp - 0x2c]
push ecx
mov edx, ecx
push edx
call fcn.0041e780
add esp, 8
test al, al
je 0x42270d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42267b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42270d
push 1
push ebx
push 0x4fdfa4
lea ecx, [ebp - 0x2c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x42270d
push 1
push ebx
push 0x4fdfa0
lea ecx, [ebp - 0x2c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x42270d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4226c0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041ecc0
add esp, 8
test al, al
je 0x42270d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4226dd
lea eax, [ebp - 0x2c]
push eax
call fcn.0041eed0
add esp, 4
test al, al
je 0x42270d
mov ecx, dword [ebp - 0xd0]
push ebx
lea edx, [ebp - 0x2c]
push edx
call fcn.0041e3c0
test al, al
je 0x42270d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406640
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 3
jb 0x422723
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xac]
push eax
add ecx, 0x124
call fcn.004828a0
lea ecx, [ebp - 0xac]
call fcn.0043dee0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], bl
call fcn.0040aa30
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], 0xffffffff
jb 0x422779
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406ca9
add esp, 4
mov edx, dword [ebp - 0xd0]
cmp esi, dword [edx + 0x134]
jb 0x422481
jmp 0x4227ad
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], bl
call fcn.0040aa30
cmp dword [ebp - 0x34], 8
jb 0x4227ad
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ca9
add esp, 4
mov al, 1
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