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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490748
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
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 0x435ab9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call edi
cmp eax, 0xffffffff
je 0x435990
test al, 0x10
je 0x4359bf
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x435ab9
push 0x4a6a0c
push eax
call fcn.0046f6f4
add esp, 8
test eax, eax
je 0x435ab9
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x435ab9
lea eax, [ebp - 0x1c]
push esi
push eax
mov ebx, 0x4a56e4
call fcn.00406750
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.004078b0
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x4a8614
mov byte [ebp - 4], 1
call fcn.00406750
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 0x435a1d
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 0x435a3f
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 0x435a57
test al, 0x10
jne 0x435a57
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
push 0x4a00ac
push 1
push esi
push 0x4a00dc
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x435a9a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4a00cc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
jns 0x435acf
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 0x435ab9
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 0x435b2b
test al, 0x10
jne 0x435b2b
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 0x435b5e
lea ecx, [ebp - 0x10]
call fcn.00401670
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.00401670
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