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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5708e1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5d7c7c]
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 0x466cfc
mov esi, dword [ebp + 0xc]
cmp esi, 0x1401
jne 0x4669fa
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 0x466a19
mov eax, 1
jmp 0x466cfe
cmp esi, 0x1403
jne 0x466a25
mov eax, dword [ebx]
lea esi, [ebp - 0x21c]
push esi
push ecx
push edx
push 0x1403
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x4669e5
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.004664e0
mov dword [ebx + 0x28], esi
test eax, eax
jne 0x4669f0
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x466ab9
mov ecx, ebx
mov dword [ebx + 0x3c], eax
call fcn.00465850
mov ecx, ebx
call fcn.00465a50
mov ecx, ebx
call fcn.00466380
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 0x466a8e
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 0x466cfc
mov eax, 1
jmp 0x466cfe
cmp eax, 0x14
jne 0x466ac7
mov dword [ebx + 0x3c], 1
jmp 0x466a9d
cmp eax, 0x111
jne 0x466cfc
mov eax, dword [ebp - 0x220]
movzx edi, ax
mov eax, 1
cmp ax, di
jne 0x466bc5
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00512920
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x58f9b4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0040f9e0
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.00434a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00430c10
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x466b8b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov ecx, 0x5deb68
call fcn.00416d30
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 0x466bcb
mov eax, 1
jmp 0x466cfe
mov esi, dword [ebp - 0x224]
mov eax, 2
cmp ax, di
jne 0x466c6e
mov dword [ebp - 0x21c], 1
call fcn.00472010
push str._GameHotfix
push 0x587e2c
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.00434a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00430c10
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x466c4a
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 0x4669f0
mov eax, 3
cmp ax, di
jne 0x466cfc
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.00434a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00430c10
movzx eax, word [ebx + 0x68]
test ax, ax
je 0x466cd8
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 0x4669f0
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.004acb88
mov esp, ebp
pop ebp
ret 0x18