Function at 0x4d6a9e
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x5348ce
call fcn.004f1db2
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.004d3e59
lea eax, [ebp - 0x44]
push eax
call fcn.004cf906
lea eax, [ebp - 0x44]
mov dword [esp], 0x540e44
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 0x4d6b0b
inc edi
jmp 0x4d6b0e
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.004d4f5a
lea eax, [ebp - 0x44]
push eax
call fcn.004cf906
mov esi, 0x5394d0
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 0x4d6b72
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.004216b0
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00419620
push 0x540e44
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 0x4d6bc5
inc edi
jmp 0x4d6bc8
or ebx, 2
mov ecx, dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00436fdb
call fcn.004cf6f3
test eax, eax
je 0x4d6c4a
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.004cfc49
add esp, 0x10
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
call fcn.0043c298
mov esi, 0x540e60
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 0x4d6c42
inc edi
jmp 0x4d6c45
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x4d6cbe
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.004cfc49
add esp, 0x10
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
call fcn.0043c298
lea eax, [ebp - 0x48]
push eax
call fcn.004cf906
mov esi, 0x540ef8
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 0x4d6cb5
inc edi
jmp 0x4d6cb8
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.004e8730
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x5aca00
call fcn.004dddd9
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.004f1d61
ret