Function at 0x4079ac
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x20
mov eax, 0x46e945
call fcn.00450afd
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x48c260]
mov ecx, 0x48c260
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x407a47
xor esi, esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp + 0x420]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp + 0x424]
add eax, 0xfffffff0
call fcn.00401464
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.0044eff8
add ebp, 0x418
leave
ret
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x407bc8
lea eax, [ebp - 0x20]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x407bc8
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x407a8f
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x208]
push eax
push 0x47c858
lea eax, [ebp - 0x14]
call fcn.00401419
pop ecx
pop ecx
mov esi, 0x47cf18
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00408b2d
mov eax, dword [ebp + 0x420]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00408cfe
push str..lnk
lea eax, [ebp - 0x14]
push eax
call fcn.00408b2d
lea eax, [ebp - 0x10]
push eax
push 0x479c58
push ebx
push 0
push 0x479c68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x407bc8
push 0x47cfd0
lea eax, [ebp - 0x24]
push eax
call fcn.004019b7
lea eax, [ebp - 0x28]
push esi
push eax
lea ecx, [ebp + 0x424]
mov byte [ebp - 4], 3
call fcn.00403912
lea ecx, [ebp + 0x420]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004038c1
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00401464
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x424]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x479c88
push eax
call dword [ecx]
test eax, eax
jl 0x407bab
mov eax, dword [ebp - 0x14]
lea edx, [ebp]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x407b8d
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401464
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, ebx
jmp 0x4079fb