Function at 0x4a8560
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push edi
call fcn.0058ea30
mov esi, eax
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x4a8837
push ebx
mov bl, byte [esp + 0x24]
test bl, 0x10
je 0x4a85a0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0058ed50
add esp, 4
cmp eax, edi
je 0x4a8836
call fcn.00543060
mov edi, eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], edi
call fcn.0058ee70
add esp, 4
test eax, eax
jne 0x4a8661
test bl, 8
je 0x4a85ca
mov ecx, dword [esi]
push 9
push ecx
jmp 0x4a85ec
test bl, 2
je 0x4a85d3
push 3
jmp 0x4a85e9
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a85e7
mov ecx, dword [esi]
push 4
push ecx
jmp 0x4a85ec
push 8
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
jne 0x4a863e
test bl, 1
jne 0x4a8604
cmp dword [0x6a0f48], ebp
je 0x4a863e
cmp edi, ebp
je 0x4a861a
mov eax, dword [esi]
push 0x33
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a863e
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi]
push edx
call fcn.00591430
call fcn.004a7b80
call fcn.00591510
push ebp
call fcn.0055f1c0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebp
call fcn.00423fe0
mov dword [esp + 0x1c], eax
mov eax, dword [0x6a0f44]
add esp, 4
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebp
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x4a86a3
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a86a3
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4a86a9
mov ebp, 1
jmp 0x4a86a9
mov ebp, dword [esi + 0x137c]
mov al, byte [esp + 0x24]
test al, 2
je 0x4a86b6
mov ebp, 1
test al, 8
jne 0x4a871d
test ebp, ebp
je 0x4a871d
mov ecx, dword [0x6a0f44]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push ecx
mov dword [esp + 0x20], 1
call ebx
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4a86fb
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a8702
mov ecx, dword [esi]
push 9
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [0x6a0f44]
push 0
push edx
push 0x222
push eax
call ebx
mov ecx, dword [esi]
push 3
push ecx
call edi
jmp 0x4a8758
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a8737
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a873c
mov ebx, 1
mov ecx, dword [esi]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x4a8758
mov edx, dword [esi]
push 0
push edx
call fcn.004f11b0
add esp, 8
mov ebx, dword [esp + 0x24]
test bl, 4
jne 0x4a87e7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a8784
mov eax, dword [esi]
push 0x33
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a87e7
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edi, ebx
and edi, 1
jne 0x4a87a6
mov eax, dword [0x6a0f48]
test eax, eax
je 0x4a87af
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
push ecx
call fcn.004f1280
add esp, 4
test eax, eax
jne 0x4a87c7
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
jne 0x4a87d4
mov eax, dword [0x6a0f48]
test eax, eax
je 0x4a87de
push 0
call fcn.00573770
add esp, 4
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi]
push ecx
call fcn.00591430
add esp, 4
call fcn.004a7b80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a881d
mov edx, dword [0x6a0f44]
push 0
push 1
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.004a7c10
add esp, 4
jmp 0x4a8822
call fcn.00591510
push 0
call fcn.0055f1c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00423fe0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret