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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509896
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x18]
push 0x208
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00417670
add esp, 8
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d883
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.004038f0
push 4
push 0x52a1ec
lea ecx, [ebp - 0x230]
call fcn.004038f0
push 0
mov dword [ebp - 0x24c], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x24c]
push eax
push 0x538adc
push 1
push 0
push 0x538b70
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x48dba6
mov ecx, dword [ebp - 0x24c]
push dword [ebp - 0x254]
mov dword [ebp - 0x250], 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x24c]
push dword [ebp - 0x258]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x24c]
push dword [ebp - 0x25c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x24c]
push dword [ebp - 0x254]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x248]
push eax
call fcn.00416690
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x48d954
mov eax, dword [eax]
push eax
push dword [ebp - 0x24c]
call esi
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x48d9a3
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d999
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov ecx, dword [ebp - 0x24c]
push dword [ebp + 0x20]
push dword [ebp - 0x260]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x24c]
lea edx, [ebp - 0x250]
push edx
push 0x538b60
push ecx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
js 0x48db9a
mov edx, dword [ebp - 0x250]
cmp dword [ebp - 0x21c], 8
push 1
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push edx
call ecx
mov esi, eax
test esi, esi
js 0x48db75
call fcn.004554f0
test al, al
je 0x48db75
test edi, edi
je 0x48db75
push 0x517cd0
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x48db75
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push 0
push eax
push str.taskbarunpin
push 0
call fcn.004e7da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push 0
push eax
push str.taskbarpin
push 0
call fcn.004e7da0
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0048eeb0
add esp, 0x38
cmp dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
jne 0x48daa9
mov esi, 0x80004005
jmp 0x48db2f
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.taskbarpinLink___s.
push str.kupdate::KDesktopLink::createDesktopLinkAndPinToTaskbar
push 0x2b9
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0048f1e0
add esp, 0x20
test eax, eax
je 0x48db11
push str.updateTaskbarPinned_succeeded.
push str.kupdate::KDesktopLink::createDesktopLinkAndPinToTaskbar
push 0x2bd
jmp 0x48db20
push str.updateTaskbarPinned_fail.
push str.kupdate::KDesktopLink::createDesktopLinkAndPinToTaskbar
push 0x2bf
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push 0
call fcn.00412230
add esp, 0x14
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x48db75
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48db6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48db6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push 0
lea eax, [ebp - 0x218]
push eax
push 0x1005
push 0x80001000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x48dbee
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48dbe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48dbe4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret