Function at 0x4a3ea2
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.00420e9a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ea0
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.004a1e1f
lea eax, [ebp - 0x50]
push eax
call fcn.0049dd3c
lea eax, [ebp - 0x50]
mov dword [esp], 0x4fe6e4
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442a58
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.004209ab
test esi, esi
je 0x4a3f13
inc edi
jmp 0x4a3f16
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004209ab
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ea0
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
call fcn.004a26c5
lea eax, [ebp - 0x50]
push eax
call fcn.0049dd3c
mov esi, 0x4f6b70
push esi
call fcn.00424236
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043af25
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.004045b0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408630
push eax
call fcn.00411fe0
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.00408680
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00402540
push 0x4fe6e4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00442a58
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.004209ab
test esi, esi
je 0x4a3fbe
inc edi
jmp 0x4a3fc1
or ebx, 2
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004209ab
call fcn.0049db2c
test eax, eax
je 0x4a4038
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ea0
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423ed3
push eax
push 0
push 0x1a
push 0
call fcn.0049e0ed
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425b83
mov esi, 0x4fe700
push esi
call fcn.00424236
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043af25
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4030
inc edi
jmp 0x4a4033
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x4a40a5
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ea0
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00423ed3
push eax
push 0
push 0x1a
push 0
call fcn.0049e0ed
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.00425b83
lea eax, [ebp - 0x50]
push eax
call fcn.0049dd3c
mov esi, 0x4fe798
push esi
call fcn.00424236
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0043af25
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a409c
inc edi
jmp 0x4a409f
or ebx, 4
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.004209ab
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x50]
call fcn.00424062
mov eax, dword [ebp - 0x58]
push dword [eax + 0x70]
lea eax, [ebp - 0x50]
push ebx
push str.lostlnk_dinstalled_d
push eax
call fcn.00424476
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.004b1b40
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x55913c
call fcn.004a985e
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ebx
push 1
call fcn.00402490
lea ecx, [esi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret