Function at 0x4031d0
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40f518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push 0x411b58
push 1
push ebx
push 0x411b48
mov dword [esp + 0x540], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x403240
lea ecx, [esp + 0x534]
mov dword [esp + 0x52c], 0xffffffff
call fcn.0040e8b6
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
add esp, 0x52c
ret
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x534]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
push 0x34c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x411b68
mov edx, dword [eax]
push eax
call dword [edx]
cmp eax, ebx
jge 0x4032a7
lea ecx, [esp + 0x534]
mov dword [esp + 0x52c], 0xffffffff
call fcn.0040e8b6
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x520]
mov dword fs:[0], ecx
add esp, 0x52c
ret
mov eax, dword [esp + 0x538]
push ebp
push esi
push edi
lea edx, [esp + 0x328]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x328]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, dword [esp + 0x540]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_strrchr]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call ebp
mov byte [eax + 1], bl
mov edi, str.title.ico
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push 0x41513c
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x10
cmp eax, ebx
je 0x40348a
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov edi, dword [esp + 0x544]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x228]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x22c]
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x120]
mov byte [eax + 1], bl
lea eax, [esp + 0x224]
push edx
push ebx
push str.title
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x120]
push 0x2e
push edx
call ebp
mov byte [eax + 1], bl
mov edi, 0x415130
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x124]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push 0x100
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x328]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0x540]
mov dword [esp + 0x538], 0xffffffff
call fcn.0040e8b6
mov ecx, dword [esp + 0x530]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x52c
ret