Function at 0x4d9ab0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov byte [esp + 1], cl
mov byte [esp], dl
mov ebp, eax
cmp dword [ebp + 0x10], 0
je 0x4d9f46
mov eax, dword [0x5206b4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4d9f46
cmp byte [ebp + 0x20], 0
jne 0x4d9f46
mov eax, ebp
call fcn.004d9fd8
test eax, eax
je 0x4d9f46
lea eax, [esp + 0x24]
push eax
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4d9f46
mov eax, dword [ebp + 4]
mov edx, dword [0x4c52a8]
call fcn.00403f90
test al, al
je 0x4d9baa
mov eax, dword [ebp + 4]
call fcn.004c5f74
test al, al
jne 0x4d9f46
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
jne 0x4d9f46
mov eax, dword [ebp + 4]
cmp byte [eax + 0x78], 0
je 0x4d9f46
mov eax, dword [ebp + 4]
test byte [eax + 0x1c], 8
jne 0x4d9b66
mov edx, dword [eax + 0x1dc]
test byte [edx + 0x1c], 8
je 0x4d9b72
xor edx, edx
call fcn.004d61dc
jmp 0x4d9f46
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x57], 0
je 0x4d9b95
mov eax, dword [0x5206b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d9bbf
push 0
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_ShowWindow
jmp 0x4d9f46
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d9f46
mov byte [ebp + 0x20], 1
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2d], 0
je 0x4d9bd7
mov eax, ebp
call fcn.004da104
mov byte [esp], 1
mov ebx, dword [ebp + 4]
mov eax, ebx
mov esi, dword [0x4c52a8]
mov edx, esi
call fcn.00403f90
test al, al
je 0x4d9c28
cmp byte [ebx + 0x1b0], 0
je 0x4d9c28
mov eax, ebp
call fcn.004d9fd8
xor ecx, ecx
mov edx, ebp
call fcn.004c5c50
mov ebx, eax
lea edx, [esp + 0x34]
mov eax, ebp
call fcn.004da01c
mov edi, dword [esp + 0x38]
mov eax, ebp
call fcn.004c5cf8
add edi, eax
add ebx, edi
mov dword [esp + 4], ebx
jmp 0x4d9c33
mov eax, ebp
call fcn.004d9f90
mov dword [esp + 4], eax
mov eax, ebp
call fcn.004d9fd8
xor ecx, ecx
mov edx, ebp
call fcn.004c5c50
push eax
mov eax, ebp
call fcn.004c5cd8
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [esp + 0x34]
mov eax, ebp
call fcn.004da01c
add ebx, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
mov eax, ebp
call fcn.004d9fd8
mov dword [esp + 0x20], eax
push 0xffffffffffffffec
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4d9cab
mov dl, 3
mov eax, dword [ebp + 0x10]
call fcn.00460168
jmp 0x4d9cfa
mov eax, dword [ebp + 4]
mov edx, esi
call fcn.00403f90
test al, al
jne 0x4d9cfa
push 0xfffffffffffffff0
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x4d9cfa
push 0xfffffffffffffff0
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_SetWindowLongA
mov esi, 0x610
cmp byte [esp], 0
jne 0x4d9d15
mov eax, dword [ebp + 0x10]
cmp edi, dword [eax + 0x48]
jne 0x4d9d15
mov eax, dword [ebp + 0x10]
cmp ebx, dword [eax + 0x4c]
je 0x4d9d1c
mov byte [esp + 0x1c], 1
jmp 0x4d9d24
or esi, 1
mov byte [esp + 0x1c], 0
cmp byte [esp], 0
jne 0x4d9d2d
or esi, 8
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 8]
mov eax, dword [ebp + 0x10]
call fcn.00445784
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 4]
mov eax, dword [ebp + 0x10]
call fcn.004457a8
mov edx, edi
mov eax, dword [ebp + 0x10]
call fcn.004457d0
mov edx, ebx
mov eax, dword [ebp + 0x10]
call fcn.004457f4
call fcn.004b268c
and al, byte [esp + 0x1c]
je 0x4d9f20
cmp byte [ebp + 0xc], 0
jne 0x4d9f20
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
xor edx, edx
xor eax, eax
call fcn.004182a4
mov ebx, dword [ebp + 4]
mov eax, ebx
mov edx, dword [0x4c52a8]
call fcn.00403f90
test al, al
je 0x4d9ddf
mov eax, dword [ebx + 0x1dc]
cmp byte [eax + 0x2e0], 0
je 0x4d9ddf
mov eax, dword [ebx + 0x1dc]
mov al, byte [eax + 0x2e1]
mov edx, dword [0x52029c]
mov byte [edx + 2], al
jmp 0x4d9deb
mov eax, dword [0x52029c]
mov dl, byte [esp + 1]
mov byte [eax + 2], dl
mov eax, dword [0x52029c]
mov byte [eax], 0
mov eax, dword [0x52029c]
mov byte [eax + 1], 0
mov eax, dword [0x52029c]
mov byte [eax + 3], 1
push 0xffffffffffffffec
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_SetWindowLongA
or esi, 1
or esi, 2
push esi
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, ebp
call fcn.004da130
push eax
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_SetWindowRgn
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 2
mov eax, dword [0x52029c]
push eax
push 0x1fffffff
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
call fcn.00428fb8
call fcn.00424908
push eax
lea eax, [esp + 0x20]
push eax
push 0
push ebx
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
mov eax, dword [0x520258]
mov eax, dword [eax]
call eax
cmp byte [esp + 1], 0
jne 0x4d9edb
push 0xfffffffffffffff0
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_SetWindowLongA
push 4
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_ShowWindow
cmp byte [esp + 1], 0
jne 0x4d9f16
push 0xfffffffffffffff0
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, ebp
call fcn.004d9fd8
push eax
call sub.user32.dll_SetWindowLongA
push 0
push ebx
call sub.user32.dll_ReleaseDC
jmp 0x4d9f42
or esi, 1
or esi, 2
push esi
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0044c7fc
push eax
call sub.user32.dll_SetWindowPos
mov byte [ebp + 0x20], 0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret