Function at 0x42286c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4228a1
mov eax, dword [ebp - 4]
test byte [eax + 0x119], 4
je 0x4228a1
mov ecx, 0xf031
mov dl, 1
mov eax, 0x412a1c
call fcn.00408cc4
call fcn.0040311c
mov eax, dword [ebp - 4]
or byte [eax + 0x119], 4
xor eax, eax
push ebp
push 0x422bce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x422bb6
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc7], 0
je 0x422ab1
xor eax, eax
push ebp
push 0x4228fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffdc
call fcn.00402c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422911
mov eax, dword [ebp - 4]
cmp byte [eax + 0x117], 4
jne 0x4229bf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x116], 1
jne 0x422967
mov eax, dword [reloc.user32.dll_IsZoomed]
mov eax, dword [eax + 0x28]
call fcn.004146cc
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x2c]
sar ebx, 1
jns 0x422949
adc ebx, 0
mov eax, dword [reloc.user32.dll_IsZoomed]
mov eax, dword [eax + 0x28]
call fcn.00414710
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x30]
sar esi, 1
jns 0x422999
adc esi, 0
jmp 0x422999
mov eax, dword [reloc.user32.dll_IsWindowVisible]
call fcn.004231b8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x2c]
sar ebx, 1
jns 0x422980
adc ebx, 0
mov eax, dword [reloc.user32.dll_IsWindowVisible]
call fcn.004231b0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x30]
sar esi, 1
jns 0x422999
adc esi, 0
test ebx, ebx
jge 0x42299f
xor ebx, ebx
test esi, esi
jge 0x4229a5
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x117], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x116], 1
jne 0x422a8c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x112], 2
jne 0x422a1b
push 0
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
push 0x223
mov eax, dword [reloc.user32.dll_IsZoomed]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x130]
push eax
call sub.user32.dll_SendMessageA
push 3
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_ShowWindow
jmp 0x422a6a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x112]
mov eax, dword [eax*4 + 0x4985d8]
push eax
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
shl eax, 0x10
mov edx, dword [ebp - 4]
or eax, dword [edx + 0x2c]
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
push 0x405e14
call sub.user32.dll_CallWindowProcA
mov eax, dword [ebp - 4]
call fcn.00414cd4
push 0
push 0
push 0x234
mov eax, dword [reloc.user32.dll_IsZoomed]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x130]
push eax
call sub.user32.dll_SendMessageA
jmp 0x422bb6
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x112]
mov eax, dword [eax*4 + 0x4985d8]
push eax
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_ShowWindow
jmp 0x422bb6
xor eax, eax
push ebp
push 0x422ad5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov bx, 0xffdd
call fcn.00402c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422aec
mov eax, dword [reloc.user32.dll_IsWindowVisible]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp - 4]
jne 0x422b03
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00421e3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x116], 1
jne 0x422b1c
mov eax, dword [ebp - 4]
call fcn.004166c0
jmp 0x422bb6
mov eax, dword [ebp - 4]
test byte [eax + 0x119], 8
je 0x422b47
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x422bb6
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004181f0
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x422b7d
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x422b7d
mov eax, dword [ebp - 4]
call fcn.004181f0
call fcn.0041f004
mov ebx, eax
test ebx, ebx
je 0x422ba6
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x422bb6
push 0
mov eax, dword [ebp - 4]
call fcn.004181f0
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422bd5
mov eax, dword [ebp - 4]
and byte [eax + 0x119], 0xfb
ret