Function at 0x440e50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x496478
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.DoShortcutItem
push str.CCopyItemInfo
call fcn.0042af10
mov ebx, dword [esp + 0x40]
add esp, 8
mov esi, ebx
call fcn.00442a20
test eax, eax
je 0x440eb4
push str.DoShortcutItem
push str.CCopyItemInfo
mov esi, str.Operation_is_skipped_by___NOSC_.
call fcn.0042b0b0
add esp, 8
jmp 0x4410d9
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x440ed4
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x440f02
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 1
call fcn.0045525d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x440f31
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 3
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.004425a0
test eax, eax
je 0x441054
push 5
lea eax, [esp + 0x1c]
call fcn.004425a0
test eax, eax
je 0x441054
mov eax, dword [esp + 0x1c]
call fcn.0042df10
mov esi, eax
xor ebp, ebp
test esi, esi
mov dword [esp + 0x24], esi
jbe 0x441054
lea ecx, [esp + 0x14]
push ecx
push ebp
lea ebx, [esp + 0x24]
call fcn.00443220
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x440ff2
push str.ShortcutToFile
mov esi, edi
call fcn.0042b470
add esp, 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440fc4
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x440ffb
push str.NotFound
call fcn.0042b470
add esp, 4
push 0x2f
push 0x5c
lea edx, [esp + 0x1c]
push edx
call fcn.00413370
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
jne 0x44102d
mov esi, dword [esp + 0x24]
add ebp, 1
cmp esi, ebp
ja 0x440f85
jmp 0x441054
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x441019
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00442c30
jmp 0x44104a
push str.DoShortcutItem
mov esi, str.CoInitialize_Failed__
call fcn.0042b470
add esp, 4
jmp 0x441054
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x441054
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, edi
call fcn.00442e10
mov dword [esp + 0x20], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
push eax
push str.DoShortcutItem
push str.CCopyItemInfo
call fcn.0042b190
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44108c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4410b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4410d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4