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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x4d90dc]
push ebx
mov ebx, dword [0xecec70]
lea eax, [ebp - 0x840]
push esi
mov esi, dword [0xecec94]
push edi
mov edi, dword [0xecec98]
push eax
push 0
push 0
lea eax, [ebp - 0x838]
push eax
movups xmmword [ebp - 0x838], xmm0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x431531
push dword [ebp - 0x840]
lea eax, [ebp - 0x620]
push 0xe9b05c
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
push dword [ebp - 0x840]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
push 0xecea08
push 0xe9afe0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
js 0x431707
push esi
lea eax, [ebp - 0x620]
push eax
push str._ls_ls.lnk
lea eax, [ebp - 0x828]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
js 0x431707
lea eax, [ebp - 0x210]
push eax
push 0xe9b05c
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
lea eax, [ebp - 0x418]
push 0x104
push eax
call dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub eax, 0
je 0x4315f6
sub eax, 1
je 0x4315f6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
mov ecx, str.CreateShortcut:_CoInitializeEx_n
call fcn.0042eb50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x83c]
push eax
push 0x4d90ec
push 0x17
push 0
push 0x4d912c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4316e4
mov eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 0x83c]
push ebx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x418]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x844]
push edx
push 0x4d910c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x4316ad
mov eax, dword [ebp - 0x844]
lea edx, [ebp - 0x828]
push 1
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebp - 0x844]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
jmp 0x4316bf
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
mov ecx, str.CreateShortcut:_QueryInterface_n
call fcn.0042eb50
mov eax, dword [ebp - 0x83c]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
mov ecx, str.CreateShortcut:_CoCreateInstance_n
call fcn.0042eb50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret
push 0x10
push str.Error
push str.CreateShortcut:_swprintf_nInvalid_path.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004888df
mov esp, ebp
pop ebp
ret