Function at 0x4a43a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x515638
mov esi, 0x4fccb0
mov edi, 0x4fccd8
mov ebp, 0x5155fc
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_IsIconic
test eax, eax
je 0x4a444e
mov dword [0x515604], 0x2c
push 0x515604
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_GetWindowPlacement
test byte [0x515608], 2
jne 0x4a4970
xor ecx, ecx
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx], eax
mov edx, dword [0x51562c]
sub edx, dword [0x515624]
mov dword [ebx + 0xc], edx
mov ecx, dword [0x515628]
sub ecx, dword [0x515620]
mov dword [ebx + 8], ecx
push 0x20
call fcn.004eb050
add eax, eax
sub dword [ebx + 8], eax
push 0x21
call fcn.004eb050
add eax, eax
push eax
push 4
call fcn.004eb050
pop edx
add edx, eax
push edx
push 0xf
call fcn.004eb050
pop ecx
add ecx, eax
sub dword [ebx + 0xc], ecx
jmp 0x4a445a
push ebx
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_GetClientRect
xor eax, eax
mov dword [0x515600], eax
mov dword [ebp], eax
mov dword [0x5155f8], eax
mov dword [0x5155f4], eax
xor edx, edx
mov dword [0x515634], edx
mov dword [0x515630], edx
cmp dword [0x4fcf7c], 0
je 0x4a4544
cmp dword [0x4fcf78], 0
je 0x4a452a
mov eax, dword [0x4fcf90]
push eax
mov ecx, dword [ebx + 8]
add ecx, 2
push ecx
push 0x4fcfb8
call fcn.0042138c
mov eax, dword [0x4fcf78]
cmp eax, dword [0x4fa6d4]
jne 0x4a44ec
mov edx, dword [0x4fa6e4]
cmp edx, dword [0x4fcf90]
jne 0x4a44ec
push 0x50
mov ecx, dword [0x4fcf90]
push ecx
mov eax, dword [ebx + 8]
add eax, 2
push eax
push 0
push 0
push 0
mov edx, dword [0x4fcf7c]
push edx
call sub.USER32.dll_SetWindowPos
jmp 0x4a4511
push 0x98
mov ecx, dword [0x4fcf90]
push ecx
mov eax, dword [ebx + 8]
add eax, 2
push eax
push 0
push 0
push 0
mov edx, dword [0x4fcf7c]
push edx
call sub.USER32.dll_SetWindowPos
mov eax, dword [0x4fcf90]
mov dword [ebp], eax
mov dword [0x515600], eax
mov dword [0x515630], 1
jmp 0x4a4538
push 0
mov edx, dword [0x4fcf7c]
push edx
call sub.USER32.dll_ShowWindow
mov ecx, dword [0x4fcf7c]
push ecx
call sub.USER32.dll_UpdateWindow
cmp dword [edi], 0
je 0x4a477a
cmp dword [0x4fccb4], 0
je 0x4a4768
mov eax, dword [ebx + 0xc]
add eax, 2
push eax
mov edx, dword [ebx + 8]
add edx, 2
push edx
push 0x4fcb9c
call fcn.0042138c
xor ecx, ecx
mov dword [0x51564c], ecx
mov eax, dword [0x4fa6e4]
cmp eax, dword [0x4fcf90]
jne 0x4a45c5
mov edx, dword [0x4fccb4]
cmp edx, dword [0x4fa6d8]
jne 0x4a45c5
mov ecx, dword [0x4fcccc]
cmp ecx, dword [0x4fa6dc]
jne 0x4a45c5
mov eax, dword [esi]
cmp eax, dword [0x4fa6e0]
jne 0x4a45c5
mov edx, dword [0x4fcf78]
cmp edx, dword [0x4fa6d4]
jne 0x4a45c5
mov dword [0x51564c], 1
cmp dword [0x4fcccc], 3
jne 0x4a4635
xor ecx, ecx
mov dword [0x5155f4], ecx
mov eax, 0x52
mov dword [0x5155f8], eax
cmp dword [0x51564c], 0
je 0x4a460b
push 0x50
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp]
sub ecx, edx
push ecx
push eax
push edx
mov edx, dword [ebx + 8]
sub edx, eax
push edx
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4a475c
push 0x98
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp]
sub ecx, edx
push ecx
mov eax, dword [0x5155f8]
push eax
push edx
mov ecx, dword [ebx + 8]
sub ecx, eax
push ecx
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4a475c
cmp dword [0x4fcccc], 2
jne 0x4a46a0
mov eax, 0x52
mov dword [0x5155f4], eax
mov dword [0x5155f8], 0x52
cmp dword [0x51564c], 0
je 0x4a4679
push 0x50
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp]
sub ecx, edx
push ecx
push eax
push edx
push 0
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4a475c
push 0x98
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp]
sub edx, eax
push edx
mov edx, dword [0x5155f4]
push edx
push eax
push 0
push 0
mov ecx, dword [edi]
push ecx
call sub.USER32.dll_SetWindowPos
jmp 0x4a475c
cmp dword [0x4fcccc], 1
jne 0x4a46ff
cmp dword [0x51564c], 0
je 0x4a46d1
push 0x50
mov eax, dword [esi]
inc eax
push eax
mov edx, dword [ebx + 8]
add edx, 2
push edx
mov ecx, dword [ebp]
push ecx
push 0
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4a46f1
push 0x98
mov edx, dword [esi]
inc edx
push edx
mov ecx, dword [ebx + 8]
add ecx, 2
push ecx
mov eax, dword [ebp]
push eax
push 0
push 0
mov edx, dword [edi]
push edx
call sub.USER32.dll_SetWindowPos
mov eax, dword [esi]
inc eax
add dword [ebp], eax
add dword [0x515600], eax
jmp 0x4a475c
xor edx, edx
mov dword [0x4fcccc], edx
cmp dword [0x51564c], 0
je 0x4a4731
push 0x50
mov eax, dword [esi]
inc eax
push eax
mov edx, dword [ebx + 8]
add edx, 2
push edx
mov ecx, dword [ebx + 0xc]
sub ecx, eax
push ecx
push 0
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
jmp 0x4a4753
push 0x98
mov eax, dword [esi]
inc eax
push eax
mov edx, dword [ebx + 8]
add edx, 2
push edx
mov ecx, dword [ebx + 0xc]
sub ecx, eax
push ecx
push 0
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_SetWindowPos
mov edx, dword [esi]
inc edx
add dword [0x515600], edx
mov dword [0x515634], 1
jmp 0x4a4772
push 0
mov ecx, dword [edi]
push ecx
call sub.USER32.dll_ShowWindow
mov eax, dword [edi]
push eax
call sub.USER32.dll_UpdateWindow
mov edx, dword [0x4fcf78]
mov dword [0x4fa6d4], edx
mov ecx, dword [0x4fccb4]
mov dword [0x4fa6d8], ecx
mov eax, dword [0x4fcccc]
mov dword [0x4fa6dc], eax
mov edx, dword [esi]
mov dword [0x4fa6e0], edx
mov ecx, dword [0x4fcf90]
mov dword [0x4fa6e4], ecx
push 0x10
mov eax, dword [ebx + 0xc]
sub eax, dword [0x515600]
push eax
mov edx, dword [ebx + 8]
sub edx, dword [0x5155f8]
push edx
mov ecx, dword [ebp]
push ecx
mov eax, dword [0x5155f4]
push eax
push 1
mov edx, dword [0x4fd9f0]
push edx
call sub.USER32.dll_SetWindowPos
cmp dword [0x515630], 0
je 0x4a481a
push 0x53
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [0x4fcf7c]
push ecx
call sub.USER32.dll_SetWindowPos
push 0
push 0
mov eax, dword [0x4fcf7c]
push eax
call sub.USER32.dll_InvalidateRect
mov edx, dword [0x4fcf7c]
push edx
call sub.USER32.dll_UpdateWindow
cmp dword [0x515634], 0
je 0x4a484b
push 0x53
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [edi]
push ecx
call sub.USER32.dll_SetWindowPos
push 0
push 0
mov eax, dword [edi]
push eax
call sub.USER32.dll_InvalidateRect
mov edx, dword [edi]
push edx
call sub.USER32.dll_UpdateWindow
xor ecx, ecx
mov dword [0x5155f0], ecx
mov eax, dword [0x4fd9f0]
push eax
call sub.USER32.dll_GetTopWindow
mov dword [0x515648], eax
mov ebx, dword [0x515648]
test ebx, ebx
je 0x4a48b8
push ebx
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x4a48b8
mov eax, dword [0x515648]
push eax
call fcn.004eae80
mov dword [0x5155f0], eax
mov eax, dword [0x5155f0]
test eax, eax
je 0x4a48b8
cmp dword [eax + 0x5dc], 0
je 0x4a48b8
cmp byte [eax + 0x4e9], 0
je 0x4a48aa
push eax
call fcn.00456584
jmp 0x4a48b8
push 0
mov edx, dword [0x515648]
push edx
call fcn.0041c430
mov eax, dword [0x4f1c80]
test eax, eax
je 0x4a48e9
cmp dword [eax + 0x5dc], 0
je 0x4a48e9
push 1
mov edx, dword [eax]
push edx
call fcn.0041c430
cmp dword [0x5155f0], 0
jne 0x4a48e9
mov ecx, dword [0x4f1c80]
push ecx
call fcn.004562a8
mov eax, dword [0x4fd9f0]
push eax
call sub.USER32.dll_UpdateWindow
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0x228
mov ecx, dword [0x4fd9f0]
push ecx
call sub.USER32.dll_SendMessageA
cmp dword [0x4fa6a4], 0
je 0x4a4932
push 0
push 0x7c
push 0x111
mov eax, dword [0x4fd9ec]
push eax
call sub.USER32.dll_PostMessageA
cmp dword [0x4fa69c], 0
je 0x4a4952
push 0
push 0x7a
push 0x111
mov edx, dword [0x4fd9ec]
push edx
call sub.USER32.dll_PostMessageA
jmp 0x4a4970
cmp dword [0x4fa6a0], 0
je 0x4a4970
push 0
push 0x7b
push 0x111
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_PostMessageA
pop ebp
pop edi
pop esi
pop ebx
ret