Function at 0x4a4118
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x58], esi
xor edi, edi
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e41
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004a2095
lea eax, [ebp - 0x50]
push eax
call fcn.0049dfdb
lea eax, [ebp - 0x50]
mov dword [esp], 0x4ff594
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x54]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
je 0x4a4189
inc edi
jmp 0x4a418c
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004206ab
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e41
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
call fcn.004a293b
lea eax, [ebp - 0x50]
push eax
call fcn.0049dfdb
mov esi, 0x4f80e0
push esi
call fcn.004241d7
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043be5f
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.00406c40
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004086d0
push eax
call fcn.00412220
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.00408720
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403650
push 0x4ff594
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442e1f
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x54]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004206ab
test esi, esi
je 0x4a4234
inc edi
jmp 0x4a4237
or ebx, 2
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004206ab
call fcn.0049de27
test eax, eax
je 0x4a42ae
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e41
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423e74
push eax
push 0
push 0x1a
push 0
call fcn.0049e38c
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425bfa
mov esi, 0x4ff5b0
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043be5f
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a42a6
inc edi
jmp 0x4a42a9
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x4a431b
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e41
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423e74
push eax
push 0
push 0x1a
push 0
call fcn.0049e38c
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425bfa
lea eax, [ebp - 0x50]
push eax
call fcn.0049dfdb
mov esi, 0x4ff648
push esi
call fcn.004241d7
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043be5f
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4312
inc edi
jmp 0x4a4315
or ebx, 4
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004206ab
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x50]
call fcn.00424003
mov eax, dword [ebp - 0x58]
push dword [eax + 0x70]
lea eax, [ebp - 0x50]
push ebx
push str.lostlnk_dinstalled_d
push eax
call fcn.004244ed
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 8], 0xf
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
push eax
push ebx
push 1
push 2
push esi
push ebx
push 0x70
call fcn.004b1bf0
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ebx
push 1
call fcn.00403580
lea ecx, [esi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret