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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f968
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x431569
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call edi
cmp eax, 0xffffffff
je 0x431440
test al, 0x10
je 0x43146f
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x431569
push 0x4a9434
push eax
call fcn.0046ffe8
add esp, 8
test eax, eax
je 0x431569
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x431569
lea eax, [ebp - 0x1c]
push esi
push eax
mov ebx, 0x4a3bb4
call fcn.0040ac70
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x18]
xor esi, esi
push edx
mov ebx, eax
mov dword [ebp - 4], esi
call fcn.0040abc0
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x4a75cc
mov byte [ebp - 4], 1
call fcn.0040ac70
add esp, 0x18
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4314cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4314ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call edi
cmp eax, ebx
je 0x431507
test al, 0x10
jne 0x431507
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
push 0x49ef4c
push 1
push esi
push 0x49ef5c
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43154a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x49ef7c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
jns 0x43157f
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x431569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x28]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, dword [ebp + 0x24]
mov eax, dword [esi]
push eax
call edi
cmp eax, 0xffffffff
je 0x4315db
test al, 0x10
jne 0x4315db
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
test eax, eax
jns 0x43160e
lea ecx, [ebp - 0x10]
call fcn.004018c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x10]
call fcn.004018c0
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24