Function at 0x4f4510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563af0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x90]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2a4], esi
push 0x10
push str.Digital_Editions
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.00408740
push 0x17
xor eax, eax
mov dword [ebp - 4], esi
push str.Adobe_Digital_Editions
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.00408740
push 0xe
xor eax, eax
mov byte [ebp - 4], 1
push str.SOFTWAREAdobe
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00408740
push 0x210
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x48]
push eax
push 0x80000002
call fcn.00459100
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 3
call fcn.004591c0
test al, al
je 0x4f4817
nop
cmp word [ebp - 0x298], 0
je 0x4f47f9
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0040b363
add esp, 8
test eax, eax
je 0x4f4659
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004263eb
add esp, 0xc
test eax, eax
jne 0x4f47f9
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov word [ebp - 0x2c0], ax
or esi, 2
mov byte [ebp - 4], 4
mov dword [ebp - 0x2b0], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2a4], esi
cmp eax, 7
jbe 0x4f46b4
mov byte [ebp - 0x2a8], 0
lea ecx, [ebp - 0x2c0]
push dword [ebp - 0x2a8]
push eax
call fcn.00410ae0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.0040cd80
push 1
push 0x56999c
lea ecx, [ebp - 0x2c0]
call fcn.0040cd80
lea eax, [ebp - 0x298]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f46e7
sub eax, edx
lea ecx, [ebp - 0x2c0]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0040cd80
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x64], 0
or esi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
and esi, 0xfffffffd
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
call fcn.00408e50
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push 0x20019
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
xorps xmm0, xmm0
push 0x80000002
movq qword [ebp - 0x18], xmm0
call fcn.0040b870
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], eax
je 0x4f47dd
lea eax, [ebp - 0x30]
push eax
push str.InstallPath
lea ecx, [ebp - 0x18]
call fcn.0041e700
test eax, eax
jne 0x4f47dd
cmp dword [ebp - 0x20], eax
je 0x4f47dd
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f47dd
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x4f487c
lea ecx, [ebp - 0x30]
call fcn.00408e50
lea ecx, [ebp - 0x18]
call fcn.0040b8f0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00408e50
lea ecx, [ebp - 0x2a0]
call fcn.0048f5d0
lea ecx, [ebp - 0x2a0]
call fcn.004591c0
test al, al
jne 0x4f4600
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x569908
mov word [edi], ax
call fcn.00408740
lea ecx, [ebp - 0x2a0]
call fcn.004591e0
lea ecx, [ebp - 0x48]
call fcn.00408e50
lea ecx, [ebp - 0x60]
call fcn.00408e50
lea ecx, [ebp - 0x90]
call fcn.00408e50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004cc5e0
lea ecx, [ebp - 0x30]
call fcn.00408e50
lea ecx, [ebp - 0x18]
call fcn.0040b8f0
lea ecx, [ebp - 0x78]
call fcn.00408e50
jmp 0x4f4837