Function at 0x4b6eb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509abe
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x54e938]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x2d0], esi
xor ecx, ecx
push 0x10
mov word [ebp - 0x80], cx
mov ebx, 7
push str.Digital_Editions
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
call fcn.00406300
push 0x17
xor edx, edx
push str.Adobe_Digital_Editions
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
call fcn.00406300
push 0xe
xor eax, eax
push str.SOFTWAREAdobe
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00406300
mov eax, dword [ebp - 0x48]
mov edi, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], edi
jae 0x4b6f64
lea eax, [ebp - 0x48]
push eax
push 0x80000002
lea ecx, [ebp - 0x2c8]
call fcn.0045a3b0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 4
call fcn.0045a390
test al, al
je 0x4b7135
lea esp, [esp]
cmp word [ebp - 0x2c0], si
je 0x4b7117
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4b6fa8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004086e6
add esp, 8
test eax, eax
je 0x4b6fe3
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x4b6fc7
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push edx
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0041799b
add esp, 0xc
test eax, eax
jne 0x4b7117
push 0x5104d4
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00429440
lea ecx, [ebp - 0x2c0]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 5
call fcn.0045e5b0
add esp, 0x18
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa4], edi
jb 0x4b702d
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00406ec9
add esp, 4
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], edi
jae 0x4b7056
lea eax, [ebp - 0x9c]
push 0x20019
push eax
push 0x80000002
lea ecx, [ebp - 0x2d8]
call fcn.0040a8c0
xor edx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2d8], esi
je 0x4b70e2
lea eax, [ebp - 0x2c]
push eax
push str.InstallPath
lea ecx, [ebp - 0x2d8]
call fcn.0041fac0
test eax, eax
jne 0x4b70d1
cmp dword [ebp - 0x1c], esi
je 0x4b70d1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4b70ac
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b70d1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4b70c2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x4b71d9
cmp dword [ebp - 0x18], edi
jb 0x4b70e2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], bl
call fcn.0040aa70
mov byte [ebp - 4], 4
cmp dword [ebp - 0x88], edi
jb 0x4b7117
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406ec9
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.0045a460
lea ecx, [ebp - 0x2c8]
call fcn.0045a390
test al, al
jne 0x4b6f90
mov ecx, dword [ebp - 0x2cc]
push esi
xor edx, edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push 0x50d97c
mov word [ecx], dx
call fcn.00406300
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2d0], 1
mov byte [ebp - 4], 3
call fcn.0045a340
cmp dword [ebp - 0x34], edi
jb 0x4b717b
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], edi
jb 0x4b7198
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x6c], edi
jb 0x4b71b5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, dword [ebp - 0x2cc]
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.00401316
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004447d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2d0], 1
call fcn.0040a2c0
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], bl
call fcn.0040aa70
lea ecx, [ebp - 0x9c]
call fcn.0040a2c0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 3
call fcn.0045a340
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
lea ecx, [ebp - 0x64]
call fcn.0040a2c0
lea ecx, [ebp - 0x80]
call fcn.0040a2c0
mov eax, esi
jmp 0x4b71bb