Function at 0x4b98c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ccae
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x553948]
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.004063e0
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.004063e0
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.004063e0
mov eax, dword [ebp - 0x48]
mov edi, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], edi
jae 0x4b9974
lea eax, [ebp - 0x48]
push eax
push 0x80000002
lea ecx, [ebp - 0x2c8]
call fcn.0045e130
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 4
call fcn.0045e110
test al, al
je 0x4b9b45
lea esp, [esp]
cmp word [ebp - 0x2c0], si
je 0x4b9b27
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4b99b8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00408866
add esp, 8
test eax, eax
je 0x4b99f3
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x4b99d7
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x54]
push edx
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417b2b
add esp, 0xc
test eax, eax
jne 0x4b9b27
push 0x514644
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.0042b920
lea ecx, [ebp - 0x2c0]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 5
call fcn.004621f0
add esp, 0x18
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa4], edi
jb 0x4b9a3d
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00406fa9
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 0x4b9a66
lea eax, [ebp - 0x9c]
push 0x20019
push eax
push 0x80000002
lea ecx, [ebp - 0x2d8]
call fcn.0040aa40
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 0x4b9af2
lea eax, [ebp - 0x2c]
push eax
push str.InstallPath
lea ecx, [ebp - 0x2d8]
call fcn.0041fe50
test eax, eax
jne 0x4b9ae1
cmp dword [ebp - 0x1c], esi
je 0x4b9ae1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4b9abc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b9ae1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4b9ad2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x4b9be9
cmp dword [ebp - 0x18], edi
jb 0x4b9af2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
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.0040abf0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x88], edi
jb 0x4b9b27
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406fa9
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.0045e1e0
lea ecx, [ebp - 0x2c8]
call fcn.0045e110
test al, al
jne 0x4b99a0
mov ecx, dword [ebp - 0x2cc]
push esi
xor edx, edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push 0x51199c
mov word [ecx], dx
call fcn.004063e0
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2d0], 1
mov byte [ebp - 4], 3
call fcn.0045e0c0
cmp dword [ebp - 0x34], edi
jb 0x4b9b8b
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406fa9
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 0x4b9ba8
mov edx, dword [ebp - 0x64]
push edx
call fcn.00406fa9
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 0x4b9bc5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406fa9
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.004483a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2d0], 1
call fcn.0040a440
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], bl
call fcn.0040abf0
lea ecx, [ebp - 0x9c]
call fcn.0040a440
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 3
call fcn.0045e0c0
lea ecx, [ebp - 0x48]
call fcn.0040a440
lea ecx, [ebp - 0x64]
call fcn.0040a440
lea ecx, [ebp - 0x80]
call fcn.0040a440
mov eax, esi
jmp 0x4b9bcb