Function at 0x45ff10
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x260
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x268]
push ebx
push esi
push edi
mov edi, dword [esp + 0x270]
xor esi, esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45ffd7
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0xc]
push eax
push 0x4fe218
push 1
push esi
push 0x4fe248
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45ffd7
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x45ff9b
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x4fe238
push ecx
call dword [eax]
test eax, eax
js 0x45ffd7
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x45ffb4
mov eax, dword [edx]
push 2
push edi
push edx
call dword [eax + 0x14]
test eax, eax
js 0x45ffd7
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x45ffd2
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push 4
push edx
push 0x104
push dword [esp + 0x20]
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x45ffd7
mov esi, 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x45ffed
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x45fffb
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov ecx, dword [esp + 0x268]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b847a
add esp, 0x260
ret 8

Function at 0x460050
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4600ed
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x10]
push eax
push 0x4fe218
push 1
push edi
push 0x4fe248
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4600ed
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x4fe238
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x4600ed
mov ecx, dword [esp + 0xc]
push 2
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
js 0x4600ed
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4600d7
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x50]
test eax, eax
js 0x4600ed
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4600e8
mov eax, dword [ecx]
push 1
push esi
push ecx
call dword [eax + 0x18]
mov edi, 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x460103
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x460111
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret 8