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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x4d90fc]
push ebx
mov ebx, dword [0xececb8]
lea eax, [ebp - 0x840]
push esi
mov esi, dword [0xececdc]
push edi
mov edi, dword [0xecece0]
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 0x4314f1
push dword [ebp - 0x840]
lea eax, [ebp - 0x620]
push 0xe9b094
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x10
push dword [ebp - 0x840]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
push 0xecea50
push 0xe9b018
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0042e9b0
add esp, 0x14
test eax, eax
js 0x4316c7
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 0x4316c7
lea eax, [ebp - 0x210]
push eax
push 0xe9b094
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 0x4315b6
sub eax, 1
je 0x4315b6
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.00488f09
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x83c]
push eax
push 0x4d910c
push 0x17
push 0
push 0x4d914c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4316a4
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 0x4d912c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x43166d
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 0x43167f
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.00488f09
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.00488f09
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.00488f09
mov esp, ebp
pop ebp
ret