Function at 0x4789f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4e4b08
mov esi, 0x4d3770
mov edi, 0x4d3794
mov ebp, 0x4e4acc
mov eax, dword [0x4d429c]
push eax
call sub.USER32.dll_IsIconic
test eax, eax
je 0x478a96
mov dword [0x4e4ad4], 0x2c
push 0x4e4ad4
mov edx, dword [0x4d429c]
push edx
call sub.USER32.dll_GetWindowPlacement
test byte [0x4e4ad8], 2
jne 0x478fb8
xor ecx, ecx
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [ebx], eax
mov edx, dword [0x4e4afc]
sub edx, dword [0x4e4af4]
mov dword [ebx + 0xc], edx
mov ecx, dword [0x4e4af8]
sub ecx, dword [0x4e4af0]
mov dword [ebx + 8], ecx
push 0x20
call fcn.004b7b04
add eax, eax
sub dword [ebx + 8], eax
push 0x21
call fcn.004b7b04
add eax, eax
push eax
push 4
call fcn.004b7b04
pop edx
add edx, eax
push edx
push 0xf
call fcn.004b7b04
pop ecx
add ecx, eax
sub dword [ebx + 0xc], ecx
jmp 0x478aa2
push ebx
mov eax, dword [0x4d429c]
push eax
call sub.USER32.dll_GetClientRect
xor eax, eax
mov dword [0x4e4ad0], eax
mov dword [ebp], eax
mov dword [0x4e4ac8], eax
mov dword [0x4e4ac4], eax
xor edx, edx
mov dword [0x4e4b04], edx
mov dword [0x4e4b00], edx
cmp dword [0x4d3998], 0
je 0x478b8c
cmp dword [0x4d3990], 0
je 0x478b72
mov eax, dword [0x4d399c]
push eax
mov ecx, dword [ebx + 8]
add ecx, 2
push ecx
push 0x4d39c4
call fcn.0040c330
mov eax, dword [0x4d3990]
cmp eax, dword [0x4d12b8]
jne 0x478b34
mov edx, dword [0x4d12c8]
cmp edx, dword [0x4d399c]
jne 0x478b34
push 0x50
mov ecx, dword [0x4d399c]
push ecx
mov eax, dword [ebx + 8]
add eax, 2
push eax
push 0
push 0
push 0
mov edx, dword [0x4d3998]
push edx
call sub.USER32.dll_SetWindowPos
jmp 0x478b59
push 0x98
mov ecx, dword [0x4d399c]
push ecx
mov eax, dword [ebx + 8]
add eax, 2
push eax
push 0
push 0
push 0
mov edx, dword [0x4d3998]
push edx
call sub.USER32.dll_SetWindowPos
mov eax, dword [0x4d399c]
mov dword [ebp], eax
mov dword [0x4e4ad0], eax
mov dword [0x4e4b00], 1
jmp 0x478b80
push 0
mov edx, dword [0x4d3998]
push edx
call sub.USER32.dll_ShowWindow
mov ecx, dword [0x4d3998]
push ecx
call sub.USER32.dll_UpdateWindow
cmp dword [edi], 0
je 0x478dc2
cmp dword [0x4d3774], 0
je 0x478db0
mov eax, dword [ebx + 0xc]
add eax, 2
push eax
mov edx, dword [ebx + 8]
add edx, 2
push edx
push 0x4d365c
call fcn.0040c330
xor ecx, ecx
mov dword [0x4e4b1c], ecx
mov eax, dword [0x4d12c8]
cmp eax, dword [0x4d399c]
jne 0x478c0d
mov edx, dword [0x4d3774]
cmp edx, dword [0x4d12bc]
jne 0x478c0d
mov ecx, dword [0x4d3788]
cmp ecx, dword [0x4d12c0]
jne 0x478c0d
mov eax, dword [esi]
cmp eax, dword [0x4d12c4]
jne 0x478c0d
mov edx, dword [0x4d3990]
cmp edx, dword [0x4d12b8]
jne 0x478c0d
mov dword [0x4e4b1c], 1
cmp dword [0x4d3788], 3
jne 0x478c7d
xor ecx, ecx
mov dword [0x4e4ac4], ecx
mov eax, 0x50
mov dword [0x4e4ac8], eax
cmp dword [0x4e4b1c], 0
je 0x478c53
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 0x478da4
push 0x98
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp]
sub ecx, edx
push ecx
mov eax, dword [0x4e4ac8]
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 0x478da4
cmp dword [0x4d3788], 2
jne 0x478ce8
mov eax, 0x50
mov dword [0x4e4ac4], eax
mov dword [0x4e4ac8], 0x50
cmp dword [0x4e4b1c], 0
je 0x478cc1
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 0x478da4
push 0x98
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp]
sub edx, eax
push edx
mov edx, dword [0x4e4ac4]
push edx
push eax
push 0
push 0
mov ecx, dword [edi]
push ecx
call sub.USER32.dll_SetWindowPos
jmp 0x478da4
cmp dword [0x4d3788], 1
jne 0x478d47
cmp dword [0x4e4b1c], 0
je 0x478d19
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 0x478d39
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 [0x4e4ad0], eax
jmp 0x478da4
xor edx, edx
mov dword [0x4d3788], edx
cmp dword [0x4e4b1c], 0
je 0x478d79
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 0x478d9b
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 [0x4e4ad0], edx
mov dword [0x4e4b04], 1
jmp 0x478dba
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 [0x4d3990]
mov dword [0x4d12b8], edx
mov ecx, dword [0x4d3774]
mov dword [0x4d12bc], ecx
mov eax, dword [0x4d3788]
mov dword [0x4d12c0], eax
mov edx, dword [esi]
mov dword [0x4d12c4], edx
mov ecx, dword [0x4d399c]
mov dword [0x4d12c8], ecx
push 0x10
mov eax, dword [ebx + 0xc]
sub eax, dword [0x4e4ad0]
push eax
mov edx, dword [ebx + 8]
sub edx, dword [0x4e4ac8]
push edx
mov ecx, dword [ebp]
push ecx
mov eax, dword [0x4e4ac4]
push eax
push 1
mov edx, dword [0x4d42a0]
push edx
call sub.USER32.dll_SetWindowPos
cmp dword [0x4e4b00], 0
je 0x478e62
push 0x53
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [0x4d3998]
push ecx
call sub.USER32.dll_SetWindowPos
push 0
push 0
mov eax, dword [0x4d3998]
push eax
call sub.USER32.dll_InvalidateRect
mov edx, dword [0x4d3998]
push edx
call sub.USER32.dll_UpdateWindow
cmp dword [0x4e4b04], 0
je 0x478e93
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 [0x4e4ac0], ecx
mov eax, dword [0x4d42a0]
push eax
call sub.USER32.dll_GetTopWindow
mov dword [0x4e4b18], eax
mov ebx, dword [0x4e4b18]
test ebx, ebx
je 0x478f00
push ebx
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x478f00
mov eax, dword [0x4e4b18]
push eax
call fcn.004b7934
mov dword [0x4e4ac0], eax
mov eax, dword [0x4e4ac0]
test eax, eax
je 0x478f00
cmp dword [eax + 0x524], 0
je 0x478f00
cmp byte [eax + 0x4e5], 0
je 0x478ef2
push eax
call fcn.004392a4
jmp 0x478f00
push 0
mov edx, dword [0x4e4b18]
push edx
call fcn.00409b84
mov eax, dword [0x4ca684]
test eax, eax
je 0x478f31
cmp dword [eax + 0x524], 0
je 0x478f31
push 1
mov edx, dword [eax]
push edx
call fcn.00409b84
cmp dword [0x4e4ac0], 0
jne 0x478f31
mov ecx, dword [0x4ca684]
push ecx
call fcn.00438fc8
mov eax, dword [0x4d42a0]
push eax
call sub.USER32.dll_UpdateWindow
mov edx, dword [0x4d429c]
push edx
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0x228
mov ecx, dword [0x4d42a0]
push ecx
call sub.USER32.dll_SendMessageA
cmp dword [0x4d1294], 0
je 0x478f7a
push 0
push 0x7c
push 0x111
mov eax, dword [0x4d429c]
push eax
call sub.USER32.dll_PostMessageA
cmp dword [0x4d128c], 0
je 0x478f9a
push 0
push 0x7a
push 0x111
mov edx, dword [0x4d429c]
push edx
call sub.USER32.dll_PostMessageA
jmp 0x478fb8
cmp dword [0x4d1290], 0
je 0x478fb8
push 0
push 0x7b
push 0x111
mov ecx, dword [0x4d429c]
push ecx
call sub.USER32.dll_PostMessageA
pop ebp
pop edi
pop esi
pop ebx
ret