Function at 0x46dbc3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x4eb630
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x58], esi
xor edi, edi
xor ebx, ebx
call fcn.004044ee
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.0046bbcc
lea eax, [ebp - 0x50]
push eax
call fcn.00468709
lea eax, [ebp - 0x50]
mov dword [esp], 0x4c403c
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0042367e
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404f8d
test esi, esi
je 0x46dc33
inc edi
jmp 0x46dc36
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
push 0x4eb630
lea ecx, [ebp - 0x50]
call fcn.004044ee
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
call fcn.0046c2a3
lea eax, [ebp - 0x50]
push eax
call fcn.00468709
mov esi, 0x4bcad0
push esi
call fcn.0040481a
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0041e1c3
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.0040513a
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047a0b4
push eax
call fcn.0047e2df
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.0047a0fe
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00405ac5
push 0x4c403c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0042367e
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404f8d
test esi, esi
je 0x46dcdd
inc edi
jmp 0x46dce0
or ebx, 2
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
call fcn.0046855b
push 0x4eb630
lea ecx, [ebp - 0x50]
test eax, eax
je 0x46dd56
call fcn.004044ee
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00404e61
push eax
push 0
push 0x1a
push 0
call fcn.00468ab2
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.004070cc
mov esi, 0x4c4058
push esi
call fcn.0040481a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0041e1c3
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46dd4e
inc edi
jmp 0x46dd51
or ebx, 4
lea ecx, [esi - 0x10]
jmp 0x46ddba
call fcn.004044ee
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00404e61
push eax
push 0
push 0x1a
push 0
call fcn.00468ab2
add esp, 0x10
lea ecx, [ebp - 0x50]
push 0xffffffffffffffff
call fcn.004070cc
lea eax, [ebp - 0x50]
push eax
call fcn.00468709
mov esi, 0x4c40f0
push esi
call fcn.0040481a
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0041e1c3
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46ddb1
inc edi
jmp 0x46ddb4
or ebx, 4
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
push 0x4eb630
lea ecx, [ebp - 0x50]
call fcn.004045bb
mov eax, dword [ebp - 0x58]
push dword [eax + 0x70]
lea eax, [ebp - 0x50]
push ebx
push str.lostlnk_dinstalled_d
push eax
call fcn.00404980
mov esi, dword [ebp - 0x50]
add esp, 0x10
xor ecx, ecx
lea eax, [ebp - 0x1c]
push eax
push ecx
push 1
push 2
push esi
push ecx
push 0x70
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0x1c], cl
call fcn.0048ad9a
push edi
push str.Magic_GetLnkCount___d_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004073c4
lea ecx, [esi - 0x10]
call fcn.00404f8d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret