Function at 0x4136ea
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 0x413ca7
lea eax, [ebp - 0x24]
push eax
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x413741
push str.YYSetupCore::_createShortcut__SHGetSpecialFolderLocation_fail.
call fcn.0044c398
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413ca7
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.0044d0c0
xor eax, eax
push edi
mov word [ebp + 0x2f0], ax
lea eax, [ebp + 0x2f2]
push esi
push eax
call fcn.0044d0c0
xor eax, eax
push edi
mov word [ebp + 0xe8], ax
lea eax, [ebp + 0xea]
push esi
push eax
call fcn.0044d0c0
add esp, 0x24
lea eax, [ebp + 0x4f8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4137b0
push str.YYSetupCore::_createShortcut__SHGetPathFromIDList_fail.
call fcn.0044c398
pop ecx
jmp 0x4137e1
lea eax, [ebp - 0x18]
push eax
push 0x47afa0
xor edi, edi
inc edi
push edi
push esi
push 0x47afc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4137ec
push str.YYSetupCore::_createShortcut__CoCreateInstance_fail.
call fcn.0044c398
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 0x413ca6
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 0x41381c
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 0x41383b
mov eax, dword [eax + 4]
jmp 0x41383e
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 0x47afb0
push eax
call dword [ecx]
test eax, eax
jge 0x41388f
push str.YYSetupCore::_createShortcut__QueryInterface_fail.
call fcn.0044c398
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 0x413c99
push str..lnk
push 0x475b20
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 0x41390b
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 0x413950
push str.YYSetupCore::_createShortcut__SHGetSpecialFolderLocation_fail_after_ppf__Save.
call fcn.0044c398
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 0x413c8c
lea eax, [ebp + 0x2f0]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x41396b
push str.YYSetupCore::_createShortcut__SHGetPathFromIDList_fail_after_ppf__Save.
jmp 0x41392d
lea eax, [ebp - 0x2c]
push eax
push 0xb
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x413928
lea eax, [ebp + 0xe8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x413964
push 0x4759e8
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 0x4139eb
lea eax, [ebp + 0x98]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str..lnk
push 0x475b20
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 0x413a4b
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 0x475b20
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 0x413ac2
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 0x4759d8
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 0x413b3a
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 0x413b50
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.5.4.0.2
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 0x475990
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 0x413c08
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 0x413c1f
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.0044cad9
add ebp, 0x704
leave
ret