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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101705e1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101d7c7c]
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 0x10066c6c
mov esi, dword [ebp + 0xc]
cmp esi, 0x1401
jne 0x1006696a
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 0x10066989
mov eax, 1
jmp 0x10066c6e
cmp esi, 0x1403
jne 0x10066995
mov eax, dword [ebx]
lea esi, [ebp - 0x21c]
push esi
push ecx
push edx
push 0x1403
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x10066955
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.10066450
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x10066960
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10066a29
mov ecx, ebx
mov dword [ebx + 0x3c], eax
call fcn.100657c0
mov ecx, ebx
call fcn.100659c0
mov ecx, ebx
call fcn.100662f0
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 0x100669fe
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 0x10066c6c
mov eax, 1
jmp 0x10066c6e
cmp eax, 0x14
jne 0x10066a37
mov dword [ebx + 0x3c], 1
jmp 0x10066a0d
cmp eax, 0x111
jne 0x10066c6c
mov eax, dword [ebp - 0x220]
movzx edi, ax
mov eax, 1
cmp ax, di
jne 0x10066b35
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1018f9a4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.1000f940
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.100349e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030b90
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10066afb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov ecx, 0x101deb68
call fcn.10016c90
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 0x10066b3b
mov eax, 1
jmp 0x10066c6e
mov esi, dword [ebp - 0x224]
mov eax, 2
cmp ax, di
jne 0x10066bde
mov dword [ebp - 0x21c], 1
call fcn.10071f70
push str._GameHotfix
push 0x10187e1c
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.100349e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030b90
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10066bba
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 0x10066960
mov eax, 3
cmp ax, di
jne 0x10066c6c
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.100349e0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10030b90
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x10066c48
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 0x10066960
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.100acb08
mov esp, ebp
pop ebp
ret 0x18