Function at 0x4279f0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aeae
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6102d4]
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 dword [ebp - 4], 2
call fcn.00427670
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x44]
call eax
test al, al
je 0x427c5d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x427c5d
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
push eax
call fcn.0041e7b0
push 1
push 0x5a1724
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004114b0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x230]
push eax
call fcn.004114b0
push 4
push 0x5a1728
lea ecx, [ebp - 0x230]
call fcn.004114b0
call fcn.00410740
mov ecx, eax
call fcn.004132f0
xor ecx, ecx
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], cx
lea ecx, [ebp - 0x248]
push eax
mov dword [ebp - 0x234], 7
call fcn.0041e7b0
push 0xb
push str.GameBox.exe
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.004114b0
cmp dword [ebp + 0x34], 8
lea ebx, [ebp + 0x20]
lea esi, [ebp + 0x38]
cmovae ebx, dword [ebp + 0x20]
lea eax, [ebp - 0x248]
cmp dword [ebp + 0x4c], 8
cmovae esi, dword [ebp + 0x38]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor edi, edi
push edi
mov dword [ebp - 0x254], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x427c45
lea eax, [ebp - 0x24c]
push eax
push 0x5aaca0
push 1
push edi
push 0x5aacb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x427c3f
mov eax, dword [ebp - 0x24c]
push dword [ebp - 0x250]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x24c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test esi, esi
je 0x427be2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427be2
mov eax, dword [ebp - 0x24c]
push edi
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test ebx, ebx
je 0x427bf3
mov eax, dword [ebp - 0x24c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x250]
push edx
push 0x5aac90
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x427c33
mov eax, dword [ebp - 0x250]
push 0
push dword [ebp - 0x254]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, 1
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x248]
call fcn.0040a530
lea ecx, [ebp - 0x230]
call fcn.0040a530
jmp 0x427c5f
xor edi, edi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x427c99
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427c8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427d4d
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x427ce3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427cd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427d52
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x427d2d
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427d57
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, edi
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.0045ef18
mov esp, ebp
pop ebp
ret 0x48
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
int3