Function at 0x495690
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58efc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x495822
push edi
push str.CLinkChange::SetLink_change_link__s__to_txupd_n
push 0x5ae238
push 2
push str.CLinkChange::SetLink
push 0x52
push str.E:_txupdatecoding_baseutilfunLinkChange.cpp
call fcn.004587e0
push edi
push str.CLinkChange::SetLink_change_link__s__to_txupd_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0x24
lea eax, [ebp + 8]
push eax
push 0x5c9294
push 1
push ebx
push 0x5c9574
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x495801
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x495804
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x5ca6e4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x495801
cmp dword [ebp - 0x10], ebx
je 0x495813
push edi
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x495765
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 2
push edi
push eax
call edx
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push str._notify__d
push ecx
mov dword [ebp - 4], ebx
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
add esp, 0xc
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebx + 0x50]
push eax
mov eax, dword [ebp + 8]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebx + 0x2c]
push eax
mov eax, dword [ebp + 8]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
lea ecx, [esi + 4]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebx + 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
push 0
lea ecx, [esi + 8]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebx + 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
call ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push 1
push edi
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor ebx, ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x495816
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x495822
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8