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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44212c
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x25c], edx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x254], esi
lea eax, [ebp - 0x254]
push eax
push esi
push esi
push 0x10
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x417931
mov edx, dword [ebp - 0x254]
lea ecx, [ebp - 0x21c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
js 0x417931
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x250]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x451264
lea ecx, [ebp - 0x248]
call fcn.004079c0
add esp, 0xc
mov dword [ebp - 0x24c], esi
lea eax, [ebp - 0x24c]
push eax
push 0x44662c
push 1
push esi
push 0x44673c
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4178de
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x258]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x25c]
mov ecx, dword [eax]
push esi
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
cmp edi, esi
jne 0x417805
push 0x44f6b0
jmp 0x417806
push edi
push eax
call edx
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x44f6b0
push eax
call edx
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
lea edx, [ebp - 0x250]
push edx
push 0x44674c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4178c8
cmp dword [ebp - 0x234], 8
mov ecx, dword [ebp - 0x248]
jae 0x417868
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x250]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
js 0x4178c8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x250]
cmp eax, esi
je 0x417893
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
cmp eax, esi
je 0x4178a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [ebp - 0x248]
call fcn.004013a0
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
jmp 0x417946
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x250]
cmp eax, esi
je 0x4178de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
cmp eax, esi
je 0x4178f4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x22c]
cmp eax, esi
je 0x417907
push eax
call fcn.0041afda
add esp, 4
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
jb 0x417931
mov eax, dword [ebp - 0x248]
push eax
call fcn.0041afda
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4