Function at 0x407d60
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9b5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x688
mov eax, dword [0x4f2480]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x407daf
mov edx, dword [edi]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x407dd4
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x407dd0
cmp ecx, edx
je 0x407dd4
dec ecx
cmp byte [ecx], 0x2e
jne 0x407dc6
sub ecx, edx
jmp 0x407dd7
or ecx, 0xffffffff
cmp dword [edi + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x658], xmm0
cmovb ecx, dword [edi + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
jbe 0x407e06
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x658]
call fcn.0041dad0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x4081d6
cmp dword [edi + 0x14], 0xf
jbe 0x407e3f
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x228]
push eax
push str._s_s
lea eax, [ebp - 0x438]
push 0x104
push eax
call fcn.0042af60
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x438]
add esp, 0x14
push eax
call edi
cmp eax, 0xffffffff
jne 0x4081d6
cmp dword [ebp - 0x644], 0xf
lea eax, [ebp - 0x658]
cmova eax, dword [ebp - 0x658]
push eax
lea eax, [ebp - 0x228]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0042af60
add esp, 0x14
lea eax, [ebp - 0x120]
push eax
call edi
cmp eax, 0xffffffff
je 0x407fd6
xorps xmm0, xmm0
mov dword [ebp - 0x678], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x674], 0
movups xmmword [ebp - 0x688], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407ee6
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x688]
call fcn.0041dad0
lea edx, [ebp - 0x688]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x670]
call fcn.00407bc0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x674]
cmp ecx, 0xf
jbe 0x407f55
mov edx, dword [ebp - 0x688]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407f4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40822a
push ecx
push edx
call fcn.0049d99f
add esp, 8
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x407f5f
mov eax, dword [esi]
cmp dword [ebp - 0x65c], 0xf
lea ecx, [ebp - 0x670]
push dword [esi + 0x10]
mov edi, dword [ebp - 0x670]
cmova ecx, edi
mov edx, dword [ebp - 0x660]
push eax
call fcn.00424dd0
add esp, 8
test al, al
jne 0x4080eb
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x65c]
cmp ecx, 0xf
jbe 0x407fd6
mov edx, dword [ebp - 0x670]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407fcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40822f
push ecx
push edx
call fcn.0049d99f
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x68c]
push eax
push 0x4de498
push 1
push 0
push 0x4de4a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4081d0
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x40800b
mov edx, dword [esi]
mov eax, dword [ebp - 0x68c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [esi + 0x14], 0xf
jbe 0x408020
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x330]
push 0x104
push eax
call fcn.004ada2c
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov eax, dword [ebp - 0x68c]
lea edx, [ebp - 0x330]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x68c]
lea edx, [ebp - 0x694]
push edx
push 0x4de4b8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4081c4
mov eax, dword [ebx + 8]
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x408081
mov edx, dword [eax]
push dword [eax + 0x10]
mov esi, dword [ebp - 0x644]
lea ecx, [ebp - 0x658]
mov edi, dword [ebp - 0x658]
cmp esi, 0xf
push edx
mov edx, dword [ebp - 0x648]
cmova ecx, edi
mov dword [ebp - 0x690], edx
call fcn.00424dd0
add esp, 8
test al, al
je 0x408157
mov ecx, dword [ebp - 0x690]
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x40812a
lea eax, [ecx + 4]
cmp esi, 0xf
mov dword [ebp - 0x648], eax
lea eax, [ebp - 0x658]
cmova eax, edi
mov dword [eax + ecx], 0x5ddcb65b
mov byte [eax + ecx + 4], 0
jmp 0x40814b
mov eax, dword [ebp - 0x65c]
cmp eax, 0xf
jbe 0x4081d6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40811b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40822f
push ecx
push edi
call fcn.0049d99f
add esp, 8
jmp 0x4081d6
push 4
push 0x4e79e4
mov byte [ebp - 0x690], 0
lea ecx, [ebp - 0x658]
push dword [ebp - 0x690]
push 4
call fcn.0041d970
mov edi, dword [ebp - 0x658]
mov esi, dword [ebp - 0x644]
cmp esi, 0xf
lea eax, [ebp - 0x658]
cmova eax, edi
push eax
lea eax, [ebp - 0x228]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0042af60
add esp, 0x14
lea eax, [ebp - 0x640]
push 0x104
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x120]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x694]
lea edx, [ebp - 0x640]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x694]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x68c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x644]
cmp ecx, 0xf
jbe 0x40820c
mov edx, dword [ebp - 0x658]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408202
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408234
push ecx
push edx
call fcn.0049d99f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049d991
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a2f76
call fcn.004a2f76
call fcn.004a2f76
int3