Function at 0x4958d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 9
rep stosd dword es:[edi], eax
pop edi
pop ecx
cmp byte [0x5666c0], 0
je 0x4958fc
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov byte [0x5666c0], 1
cmp dword [0x5666fc], 0
jne 0x49597d
push 8
call fcn.00487050
pop ecx
cmp eax, 0
je 0x495978
mov esi, eax
mov dword [ebp - 0x1c], 0
mov eax, str.menuShutdown
cmp eax, 0
je 0x495957
push str.menuShutdown
call fcn.0040e8d0
pop ecx
push eax
push str.menuShutdown
lea ecx, [ebp - 0x1c]
call fcn.0040cb20
cmp dword [ebp - 0x1c], 0
je 0x495957
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00439650
cmp dword [ebp - 0x1c], 0
je 0x495970
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
mov dword [esi], 0x566708
mov eax, esi
mov dword [0x5666fc], eax
call fcn.0052fe80
cmp al, 0
je 0x495998
push 0
push str.SHELL_TRAYWND
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x20], eax
jmp 0x4959a8
push 0
push 0x5666d0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4959b9
push 0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004a75f0
cmp al, 0
je 0x4959cc
call fcn.004a7620
mov dword [ebp - 0x20], eax
jmp 0x4959d5
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4959fc
cmp dword [0x5666c8], 0
jne 0x4959fc
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x5666c8], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5666cc], eax
jmp 0x495a09
cmp dword [ebp - 0x20], 0
jne 0x495a09
mov byte [0x5666c0], 0
mov eax, dword [ebp - 0x20]
cmp dword [0x5666cc], eax
jne 0x495b37
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
cmp eax, 0
jne 0x495a38
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetMenu]
mov dword [ebp - 0x28], 0
call fcn.004a75f0
cmp al, 0
je 0x495ab2
push 0
push 0
push 0x229
call fcn.004a7640
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x20], eax
push 0
push dword [ebp - 0x20]
call fcn.00530070
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x18]
push eax
call fcn.004a7620
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
add eax, 8
push eax
call fcn.004a7620
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0xc], eax
jmp 0x495ace
push 0
push dword [ebp - 0x20]
call fcn.00530070
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x28], 0
je 0x495b0f
mov edx, dword [ebp - 0x28]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1bc]
cmp al, 0
je 0x495b0f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x100], 0
je 0x495b0f
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x100]
cmp byte [edx + 0x6a], 0
je 0x495b0f
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
push 1
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_MoveWindow]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret