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

Disassembly:
push ebp
lea ebp, [esp - 0x704]
sub esp, 0x784
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x700], eax
push ebx
push esi
xor esi, esi
push esi
mov ebx, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x413d77
lea eax, [ebp - 0x24]
push eax
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x413811
push str.YYSetupCore::_createShortcut__SHGetSpecialFolderLocation_fail.
call fcn.0044c2ed
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413d77
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x4f8], ax
lea eax, [ebp + 0x4fa]
push esi
push eax
call fcn.0044d010
xor eax, eax
push edi
mov word [ebp + 0x2f0], ax
lea eax, [ebp + 0x2f2]
push esi
push eax
call fcn.0044d010
xor eax, eax
push edi
mov word [ebp + 0xe8], ax
lea eax, [ebp + 0xea]
push esi
push eax
call fcn.0044d010
add esp, 0x24
lea eax, [ebp + 0x4f8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x413880
push str.YYSetupCore::_createShortcut__SHGetPathFromIDList_fail.
call fcn.0044c2ed
pop ecx
jmp 0x4138b1
lea eax, [ebp - 0x18]
push eax
push 0x47afc0
xor edi, edi
inc edi
push edi
push esi
push 0x47afe0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4138bc
push str.YYSetupCore::_createShortcut__CoCreateInstance_fail.
call fcn.0044c2ed
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413d76
lea eax, [ebx + 8]
push str.YY.exe
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xcc]
push eax
call fcn.00406c29
mov ecx, dword [ebp + 0xd0]
add esp, 0xc
cmp dword [ebp + 0xe4], 8
jae 0x4138ec
lea ecx, [ebp + 0xd0]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
lea eax, [ebp - 0x80]
push eax
call fcn.004095d7
cmp dword [eax + 0x18], 8
pop ecx
jb 0x41390b
mov eax, dword [eax + 4]
jmp 0x41390e
add eax, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.004064bb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x47afd0
push eax
call dword [ecx]
test eax, eax
jge 0x41395f
push str.YYSetupCore::_createShortcut__QueryInterface_fail.
call fcn.0044c2ed
mov eax, dword [ebp - 0x1c]
pop ecx
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413d69
push str..lnk
push 0x475b38
mov ebx, 0x473a64
push ebx
lea eax, [ebp + 0x4f8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406c07
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 0xb0]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
cmp dword [ebp + 0xc8], 8
mov ecx, dword [ebp + 0xb4]
jae 0x4139db
lea ecx, [ebp + 0xb4]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
lea eax, [ebp - 0x28]
push eax
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x413a20
push str.YYSetupCore::_createShortcut__SHGetSpecialFolderLocation_fail_after_ppf__Save.
call fcn.0044c2ed
mov eax, dword [ebp - 0x1c]
pop ecx
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413d5c
lea eax, [ebp + 0x2f0]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x413a3b
push str.YYSetupCore::_createShortcut__SHGetPathFromIDList_fail_after_ppf__Save.
jmp 0x4139fd
lea eax, [ebp - 0x2c]
push eax
push 0xb
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4139f8
lea eax, [ebp + 0xe8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x413a34
push 0x475a00
push ebx
lea eax, [ebp + 0x2f0]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406c07
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 0x94]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
cmp dword [ebp + 0xac], 8
mov eax, dword [ebp + 0x98]
jae 0x413abb
lea eax, [ebp + 0x98]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str..lnk
push 0x475b38
push ebx
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
cmp dword [ebp + 0x58], 8
mov ecx, dword [ebp + 0x44]
jae 0x413b1b
lea ecx, [ebp + 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
push str..lnk
push 0x475b38
push ebx
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406c07
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.004064bb
cmp dword [ebp + 0x74], 8
mov ecx, dword [ebp + 0x60]
jae 0x413b92
lea ecx, [ebp + 0x60]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
push str..lnk
push 0x4759f0
push ebx
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
push str.Uninstall.exe
push dword [ebp - 0x20]
lea eax, [ebp + 0x24]
push eax
call fcn.00406c29
mov ecx, dword [ebp + 0x28]
add esp, 0xc
cmp dword [ebp + 0x3c], 8
jae 0x413c0a
lea ecx, [ebp + 0x28]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
cmp dword [ebp + 0x20], 8
mov ecx, dword [ebp + 0xc]
jae 0x413c20
lea ecx, [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
push str.yygame_imagegameicon.ico
push str.dev5446
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push str..lnk
push 0x475998
push ebx
lea eax, [ebp + 0x4f8]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406c07
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406c29
add esp, 0xc
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.004064bb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push str.yy:__join:lobby_gameabdefault_
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x90], 8
mov ecx, dword [ebp + 0x7c]
jae 0x413cd8
lea ecx, [ebp + 0x7c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x44]
cmp dword [ebp + 4], 8
mov ecx, dword [ebp - 0x10]
jae 0x413cef
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push 2
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [ebp - 0x1c]
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]
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0x78]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0x24]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 8]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0x5c]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0x40]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0x94]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0xb0]
call fcn.004064bb
push esi
push edi
lea ecx, [ebp + 0xcc]
call fcn.004064bb
pop edi
mov ecx, dword [ebp + 0x700]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x704
leave
ret