Function at 0x4d7028
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x534f75
call fcn.004f2332
mov esi, ecx
mov dword [ebp - 0x4c], esi
xor edi, edi
xor ebx, ebx
call fcn.00437474
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a4ef
and dword [ebp - 4], ebx
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.004d437a
lea eax, [ebp - 0x44]
push eax
call fcn.004cfddf
lea eax, [ebp - 0x44]
mov dword [esp], 0x5421c4
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0045922d
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x48]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00436fdb
test esi, esi
je 0x4d7095
inc edi
jmp 0x4d7098
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00436fdb
call fcn.00437474
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a4ef
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 1
call fcn.004d54e3
lea eax, [ebp - 0x44]
push eax
call fcn.004cfddf
mov esi, 0x53f3e4
push esi
call fcn.0043a8c3
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004516f5
mov eax, dword [ebp - 0x44]
push ecx
push ecx
mov esi, esp
mov dword [esi], eax
test eax, eax
je 0x4d70fc
push eax
call fcn.00416680
pop ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 4], eax
call fcn.004195a0
push eax
mov byte [ebp - 4], 2
call fcn.004217a0
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00419620
push 0x5421c4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0045922d
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x48]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00436fdb
test esi, esi
je 0x4d714f
inc edi
jmp 0x4d7152
or ebx, 2
mov ecx, dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00436fdb
call fcn.004cfbcc
test eax, eax
je 0x4d71d4
call fcn.00437474
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a4ef
push 0x104
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
call fcn.0043a522
push eax
push 0
push 0x1a
push 0
call fcn.004d0122
add esp, 0x10
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
call fcn.0043c298
mov esi, 0x5421e0
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004516f5
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d71cc
inc edi
jmp 0x4d71cf
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x4d7248
call fcn.00437474
push eax
lea ecx, [ebp - 0x48]
call fcn.0043a4ef
push 0x104
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.0043a522
push eax
push 0
push 0x1a
push 0
call fcn.004d0122
add esp, 0x10
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
call fcn.0043c298
lea eax, [ebp - 0x48]
push eax
call fcn.004cfddf
mov esi, 0x542278
push esi
call fcn.0043a8c3
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.004516f5
push dword [ebp - 0x48]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d723f
inc edi
jmp 0x4d7242
or ebx, 4
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.00436fdb
call fcn.00437474
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a6b1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 5
push dword [eax + 0x70]
lea eax, [ebp - 0x44]
push ebx
push str.lostlnk_dinstalled_d
push eax
call fcn.0043ab15
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
add esp, 0x10
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x28]
push eax
push ebx
push 1
push 2
push esi
push ebx
push 0x70
mov byte [ebp - 4], 6
call fcn.004e8cb0
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x5aea00
call fcn.004de360
add esp, 0xc
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004178d0
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, edi
call fcn.004f22e1
ret