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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x69c
mov eax, dword [0x43fdf0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x69c], ecx
lea eax, [ebp - 0x668]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x4076e0
push str.CSetupDecompressPage::CreateShortcut__SHGetSpecialFolderLocation_fail.
call fcn.004010c0
add esp, 4
jmp 0x407da7
lea ecx, [ebp - 0x648]
push ecx
mov edx, dword [ebp - 0x668]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x40770a
push str.CSetupDecompressPage::CreateShortcut__SHGetPathFromIDList_fail.
call fcn.004010c0
add esp, 4
jmp 0x407da7
lea eax, [ebp - 0x65c]
push eax
push 0x439878
push 1
push 0
push 0x439898
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
jge 0x40775a
push str.CSetupDecompressPage::CreateShortcut__CoCreateInstance_fail.
call fcn.004010c0
add esp, 4
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x407da7
push 0x435ac4
push 0x435ae4
push 0x441210
lea edx, [ebp - 0x66c]
push edx
call fcn.004083c0
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004083c0
lea ecx, [ebp - 0x66c]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403550
push eax
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
lea edx, [ebp - 0x688]
push edx
call fcn.00420560
add esp, 4
mov ecx, eax
call fcn.00401550
push eax
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ecx + 0x24]
call eax
lea ecx, [ebp - 0x688]
call fcn.00401130
lea ecx, [ebp - 8]
push ecx
push 0x439888
mov edx, dword [ebp - 0x65c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x65c]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
jge 0x40784d
push 0x435ae8
call fcn.004010c0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 8]
call ecx
lea ecx, [ebp - 0x22c]
call fcn.00403180
jmp 0x407da7
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0x658]
call fcn.00404910
push 0x435b60
lea ecx, [ebp - 0x658]
call fcn.004049b0
push 0x435b64
lea ecx, [ebp - 0x658]
call fcn.004049b0
push 0x435b70
lea ecx, [ebp - 0x658]
call fcn.004049b0
push 2
lea ecx, [ebp - 0x658]
call fcn.00403550
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x654], eax
lea ecx, [ebp - 0x660]
push ecx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x407910
push 0x435b80
call fcn.004010c0
add esp, 4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x658]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403180
jmp 0x407da7
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x660]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x407972
push 0x435c30
call fcn.004010c0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 8]
call ecx
lea ecx, [ebp - 0x658]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403180
jmp 0x407da7
lea edx, [ebp - 0x64c]
push edx
push 0xb
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x4079d1
push str.CSetupDecompressPage::CreateShortcut__SHGetSpecialFolderLocation_fail_after_ppf__Save.
call fcn.004010c0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 8]
call ecx
lea ecx, [ebp - 0x658]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403180
jmp 0x407da7
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x64c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x407a33
push str.CSetupDecompressPage::CreateShortcut__SHGetPathFromIDList_fail_after_ppf__Save.
call fcn.004010c0
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x65c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x65c]
push ecx
mov edx, dword [eax + 8]
call edx
lea ecx, [ebp - 0x658]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403180
jmp 0x407da7
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404910
push 0x435e20
lea ecx, [ebp - 0x21c]
call fcn.004049b0
push 0x435e24
lea ecx, [ebp - 0x21c]
call fcn.004049b0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00403550
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x435e2c
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.004083c0
push 0x435e30
lea ecx, [ebp - 0x228]
call fcn.004049b0
push 0x435e3c
lea ecx, [ebp - 0x228]
call fcn.004049b0
push 2
lea ecx, [ebp - 0x228]
call fcn.00403550
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x18]
call eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x43c]
call fcn.00404910
push 0x435e48
lea ecx, [ebp - 0x43c]
call fcn.004049b0
push 0x435e4c
lea ecx, [ebp - 0x43c]
call fcn.004049b0
push 0x435e58
lea ecx, [ebp - 0x43c]
call fcn.004049b0
push 2
lea ecx, [ebp - 0x43c]
call fcn.00403550
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x18]
call edx
lea ecx, [ebp - 0x664]
call fcn.00403510
push 0xf2
lea ecx, [ebp - 0x664]
call fcn.004036c0
lea eax, [ebp - 0x664]
push eax
push 0x435e64
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x68c]
push edx
call fcn.004083c0
push eax
lea eax, [ebp - 4]
push eax
call fcn.004084a0
lea ecx, [ebp - 0x68c]
call fcn.00403180
push 0x435e68
lea ecx, [ebp - 4]
call fcn.004049b0
push 0x435e74
lea ecx, [ebp - 4]
call fcn.004049b0
push str.Uninstall.exe
push 0x435e9c
push 0x441210
lea ecx, [ebp - 0x690]
push ecx
call fcn.004083c0
push eax
lea edx, [ebp - 0x694]
push edx
call fcn.004083c0
mov ecx, eax
call fcn.00403550
push eax
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ecx + 0x50]
call eax
lea ecx, [ebp - 0x694]
call fcn.00403180
lea ecx, [ebp - 0x690]
call fcn.00403180
push 2
lea ecx, [ebp - 4]
call fcn.00403550
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x18]
call ecx
push 0x441210
lea ecx, [ebp - 0x224]
call fcn.00402c10
push 0x435ea0
lea ecx, [ebp - 0x224]
call fcn.004049b0
push 0x435ea4
lea ecx, [ebp - 0x224]
call fcn.004049b0
push str.yygame_imagegameicon.ico
lea ecx, [ebp - 0x698]
call fcn.004086a0
lea edx, [ebp - 0x698]
push edx
lea ecx, [ebp - 0x224]
call fcn.00408390
lea ecx, [ebp - 0x698]
call fcn.00403180
push str.yy:__join:lobby_gameabdefault_
lea ecx, [ebp - 0x650]
call fcn.00404910
lea ecx, [ebp - 0x650]
call fcn.00403550
push eax
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ecx + 0x50]
call eax
push 0
lea ecx, [ebp - 0x224]
call fcn.00403550
push eax
mov ecx, dword [ebp - 0x65c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x65c]
push eax
mov ecx, dword [edx + 0x44]
call ecx
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0x220]
call fcn.00404910
push 0x435f18
lea ecx, [ebp - 0x220]
call fcn.004049b0
push 0x435f1c
lea ecx, [ebp - 0x220]
call fcn.004049b0
push str..lnk
lea ecx, [ebp - 0x220]
call fcn.004049b0
push 2
lea ecx, [ebp - 0x220]
call fcn.00403550
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x654], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x65c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x65c]
push ecx
mov edx, dword [eax + 8]
call edx
lea ecx, [ebp - 0x220]
call fcn.00403180
lea ecx, [ebp - 0x650]
call fcn.00403180
lea ecx, [ebp - 0x224]
call fcn.00403180
lea ecx, [ebp - 4]
call fcn.00403180
lea ecx, [ebp - 0x664]
call fcn.00403180
lea ecx, [ebp - 0x43c]
call fcn.00403180
lea ecx, [ebp - 0x228]
call fcn.00403180
lea ecx, [ebp - 0x21c]
call fcn.00403180
lea ecx, [ebp - 0x658]
call fcn.00403180
lea ecx, [ebp - 0x22c]
call fcn.00403180
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00422e00
mov esp, ebp
pop ebp
ret