Function at 0x4dc4d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x3f8
push ebx
push ebp
push esi
push edi
call fcn.004d4990
mov eax, dword [0x5b4318]
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x4dc526
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4dc526
mov ecx, dword [0x5b4318]
push 0
push 0
push 0xb
push ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dc52e
mov dword [esp + 0x1c], 0
mov edx, dword [0x5b4314]
mov edi, dword [sym.imp.USER32.dll_GetSystemMenu]
push 1
push edx
call edi
mov eax, dword [0x5b4314]
push 0
push eax
call edi
mov ebp, eax
test ebp, ebp
je 0x4dc887
xor edx, edx
mov ecx, 0x17f4
call fcn.0041d620
mov ebx, dword [sym.imp.USER32.dll_InsertMenuA]
push eax
push 0x109
push 0x409
push 0
push ebp
call ebx
xor edx, edx
mov ecx, 0x17f3
call fcn.0041d620
mov ecx, dword [0x5ac9d0]
neg ecx
push eax
sbb ecx, ecx
push 0x105
and ecx, 8
or ecx, 0x400
push ecx
push 1
push ebp
call ebx
push 0x583b74
push 0
push 0xc00
push 2
push ebp
call ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
test esi, esi
je 0x4dc668
xor edx, edx
mov ecx, 0x17d5
call fcn.0041d620
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push eax
push 0x100
push 0
push esi
call edi
xor edx, edx
mov ecx, 0x17d6
call fcn.0041d620
push eax
push 0x101
push 0
push esi
call edi
xor edx, edx
mov ecx, 0x17d7
call fcn.0041d620
push eax
push 0xfa
push 0
push esi
call edi
xor edx, edx
mov ecx, 0x17d8
call fcn.0041d620
push eax
push esi
push 0x410
push 3
push ebp
call ebx
push 0x583b74
push 0
push 0xc00
push 4
push ebp
call ebx
mov eax, dword [0x5aa620]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [esp + 0x14], 5
je 0x4dc657
push 0x3c
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4dc675
mov edx, dword [0x5b4310]
push 0x3c
push edx
call edi
mov esi, eax
test esi, esi
jne 0x4dc675
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov al, byte [0x5a9da8]
test al, al
je 0x4dc68c
push 0
push 0xc3
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [0x59bc34]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
je 0x4dc69f
push 8
jmp 0x4dc6a1
push 0
push 0x6e
push esi
call edi
mov eax, dword [0x59bd80]
test eax, eax
je 0x4dc6b3
push 8
jmp 0x4dc6b5
push 0
push 0x6f
push esi
call edi
mov eax, dword [0x59bd48]
test eax, eax
je 0x4dc6c7
push 8
jmp 0x4dc6c9
push 0
push 0x70
push esi
call edi
mov eax, dword [0x59bc30]
test eax, eax
je 0x4dc6e2
push 8
push 0x78
push esi
call edi
push 0
jmp 0x4dc6eb
push 0
push 0x78
push esi
call edi
push 8
push 0x79
push esi
call edi
mov eax, dword [0x5aa0e8]
test eax, eax
je 0x4dc70a
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [0x5aa0e8], 0
mov eax, dword [0x59bc34]
test eax, eax
je 0x4dc73d
mov eax, dword [0x5b4314]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [0x5b4314]
push esi
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_SetMenu]
test edi, edi
je 0x4dc7fd
push edi
jmp 0x4dc7f7
mov edx, dword [0x5b4314]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, eax
mov eax, dword [0x5b4314]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
push 0
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
je 0x4dc7da
jmp 0x4dc780
push 0x400
push 0x3e7
lea ecx, [esp + 0x28]
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jle 0x4dc7da
push 0x400
push 0
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
lea edx, [esp + 0x20]
push edx
push edi
mov edi, dword [esp + 0x1c]
push 0x410
push edi
push ebp
call ebx
inc edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
push 0
inc edi
push esi
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
jne 0x4dc780
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4dc7f6
mov eax, dword [esp + 0x14]
push 0x583b74
push 0
push 0xc00
push eax
push ebp
call ebx
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edx, 1
xor ecx, ecx
call fcn.004d3710
mov eax, dword [0x59bc30]
test eax, eax
jne 0x4dc883
call fcn.004db430
mov esi, eax
test esi, esi
je 0x4dc883
lea edx, [esp + 0x10]
mov ecx, 0x8e
call fcn.004dc450
mov ebp, eax
test ebp, ebp
je 0x4dc883
xor edx, edx
mov ecx, 0x9f
call fcn.004dc450
mov edi, eax
test edi, edi
je 0x4dc883
mov edx, dword [esp + 0x10]
push 0x400
push 0x3e7
lea ecx, [esp + 0x28]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jle 0x4dc883
mov eax, dword [esp + 0x10]
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x410
push 0
push edi
call ebx
mov esi, dword [esp + 0x18]
mov edx, dword [0x5b4314]
push edx
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4dc8d2
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5b4318]
push 0
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00542c90
mov ecx, eax
call fcn.00496b00
mov ecx, dword [0x5b4314]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3f8
ret