Function at 0x4a413a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x52de80]
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.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e50
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004a2039
lea eax, [ebp - 0x50]
push eax
call fcn.0049dc09
lea eax, [ebp - 0x50]
mov dword [esp], 0x4fe70c
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442988
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.0042095b
test esi, esi
je 0x4a41ab
inc edi
jmp 0x4a41ae
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0042095b
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e50
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
call fcn.004a28df
lea eax, [ebp - 0x50]
push eax
call fcn.0049dc09
mov esi, 0x4f6b70
push esi
call fcn.004241e6
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043ae55
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.004045f0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408670
push eax
call fcn.00411f30
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.004086c0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00402540
push 0x4fe70c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442988
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.0042095b
test esi, esi
je 0x4a4256
inc edi
jmp 0x4a4259
or ebx, 2
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0042095b
call fcn.0049da55
test eax, eax
je 0x4a42d0
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e50
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423e83
push eax
push 0
push 0x1a
push 0
call fcn.0049dfba
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425b33
mov esi, 0x4fe728
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043ae55
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a42c8
inc edi
jmp 0x4a42cb
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x4a433d
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e50
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423e83
push eax
push 0
push 0x1a
push 0
call fcn.0049dfba
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425b33
lea eax, [ebp - 0x50]
push eax
call fcn.0049dc09
mov esi, 0x4fe7c0
push esi
call fcn.004241e6
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043ae55
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4334
inc edi
jmp 0x4a4337
or ebx, 4
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0042095b
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00424012
mov eax, dword [ebp - 0x58]
push dword [eax + 0x70]
lea eax, [ebp - 0x50]
push ebx
push str.lostlnk_dinstalled_d
push eax
call fcn.00424426
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.004b1e90
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ebx
push 1
call fcn.00402490
lea ecx, [esi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret