Function at 0x10056a60
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e791
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1019bc84]
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 ebx, ecx
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], 1
jne 0x10056dfc
mov esi, dword [ebp + 0xc]
cmp esi, 0x1401
jne 0x10056afa
mov eax, dword [ebx + 0x24]
lea esi, [ebp - 0x21c]
push esi
push dword [ebp - 0x228]
lea ecx, [ebx + 0x24]
push edx
push 0x1401
call dword [eax]
cmp dword [ebp - 0x21c], 0
mov dword [edi], eax
je 0x10056b19
mov eax, 1
jmp 0x10056dfe
cmp esi, 0x1403
jne 0x10056b25
mov eax, dword [ebx]
lea esi, [ebp - 0x21c]
push esi
push ecx
push edx
push 0x1403
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x10056ae5
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x220]
mov esi, dword [ebx + 0x28]
push 0
push edi
push ecx
push edx
push dword [ebp + 0xc]
lea ecx, [ebx + 0x24]
push dword [ebp + 8]
call fcn.100565e0
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x10056af0
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10056bb9
mov ecx, ebx
mov dword [ebx + 0x3c], eax
call fcn.10055950
mov ecx, ebx
call fcn.10055b50
mov ecx, ebx
call fcn.10056480
push 0
push 0
push 0x1403
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.ComputerZSetupDesktopTips
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
movzx eax, ax
test ax, ax
je 0x10056b8e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push str.ComputerZSetupDesktopTips
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov word [ebx + 0x68], ax
mov eax, edi
mov dword [eax], 0
cmp dword [ebx + 0x3c], 0
je 0x10056dfc
mov eax, 1
jmp 0x10056dfe
cmp eax, 0x14
jne 0x10056bc7
mov dword [ebx + 0x3c], 1
jmp 0x10056b9d
cmp eax, 0x111
jne 0x10056dfc
mov eax, dword [ebp - 0x220]
movzx edi, ax
mov eax, 1
cmp ax, di
jne 0x10056cc5
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1015ab94
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.1000f5f0
add esp, 4
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.game_shortcut_delete
mov dword [ebp - 4], 0
call fcn.100346a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030840
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10056c8b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov ecx, 0x101a10b8
call fcn.10016940
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x21c], 0
mov esi, dword [ebp - 0x224]
mov dword [esi], 0
je 0x10056ccb
mov eax, 1
jmp 0x10056dfe
mov esi, dword [ebp - 0x224]
mov eax, 2
cmp ax, di
jne 0x10056d6e
mov dword [ebp - 0x21c], 1
call fcn.10062810
push str._GameHotfix
push 0x10154d8c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.game_shortcut_open
mov dword [ebp - 4], 1
call fcn.100346a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030840
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10056d4a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x21c], 0
mov dword [esi], 0
jne 0x10056af0
mov eax, 3
cmp ax, di
jne 0x10056dfc
push 0
push dword [ebx + 4]
mov dword [ebp - 0x21c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x220], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.game_shortcut_close
mov dword [ebp - 4], 2
call fcn.100346a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030840
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10056dd8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x21c], 0
mov dword [esi], 0
jne 0x10056af0
xor eax, eax
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.1009de58
mov esp, ebp
pop ebp
ret 0x18