Function at 0x4a5700
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 [0x5de648], 0
je 0x4a572c
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov byte [0x5de648], 1
cmp dword [0x5de9f8], 0
jne 0x4a57ad
push 8
call fcn.00494950
pop ecx
cmp eax, 0
je 0x4a57a8
mov esi, eax
mov dword [ebp - 0x1c], 0
mov eax, str.menuShutdown
cmp eax, 0
je 0x4a5787
push str.menuShutdown
call fcn.0040d340
pop ecx
push eax
push str.menuShutdown
lea ecx, [ebp - 0x1c]
call fcn.00589f70
cmp dword [ebp - 0x1c], 0
je 0x4a5787
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004413f0
cmp dword [ebp - 0x1c], 0
je 0x4a57a0
mov ecx, dword [ebp - 0x1c]
call fcn.00589d70
mov dword [esi], 0x5dea04
mov eax, esi
mov dword [0x5de9f8], eax
call fcn.0056d3b0
cmp al, 0
je 0x4a57c8
push 0
push str.SHELL_TRAYWND
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x20], eax
jmp 0x4a57d8
push 0
push 0x5de9cc
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a57e9
push 0
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004b5e90
cmp al, 0
je 0x4a57fc
call fcn.004b5ec0
mov dword [ebp - 0x20], eax
jmp 0x4a5805
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a582c
cmp dword [0x5de650], 0
jne 0x4a582c
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x5de650], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5de654], eax
jmp 0x4a5839
cmp dword [ebp - 0x20], 0
jne 0x4a5839
mov byte [0x5de648], 0
mov eax, dword [ebp - 0x20]
cmp dword [0x5de654], eax
jne 0x4a596a
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 0x4a5868
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.004b5e90
cmp al, 0
je 0x4a58e2
push 0
push 0
push 0x229
call fcn.004b5ee0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x20], eax
push 0
push dword [ebp - 0x20]
call fcn.0056d610
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.004b5ec0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
add eax, 8
push eax
call fcn.004b5ec0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0xc], eax
jmp 0x4a58fe
push 0
push dword [ebp - 0x20]
call fcn.0056d610
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 0x4a5942
mov edx, dword [ebp - 0x28]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1e8]
cmp al, 0
je 0x4a5942
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x118], 0
je 0x4a5942
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x118]
cmp byte [edx + 0x86], 0
je 0x4a5942
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