Function at 0x4f7cdc
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 ebx, eax
cmp dword [ebx + 0x10], 0
je 0x4f81f0
mov eax, dword [0x520284]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4f81f0
cmp byte [ebx + 0x20], 0
jne 0x4f81f0
mov eax, ebx
call fcn.004f828c
test eax, eax
je 0x4f81f0
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4f81f0
mov eax, dword [ebx + 4]
mov edx, dword [0x4e33e4]
call fcn.00403d40
test al, al
je 0x4f7dd6
mov eax, dword [ebx + 4]
call fcn.004e40d8
test al, al
jne 0x4f81f0
mov eax, dword [ebx + 8]
cmp byte [eax + 0x10], 0
jne 0x4f81f0
mov eax, dword [ebx + 4]
cmp byte [eax + 0x78], 0
je 0x4f81f0
mov eax, dword [ebx + 4]
test byte [eax + 0x1c], 8
jne 0x4f7d92
mov edx, dword [eax + 0x1e4]
test byte [edx + 0x1c], 8
je 0x4f7d9e
xor edx, edx
call fcn.004f43fc
jmp 0x4f81f0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x1e4]
cmp byte [eax + 0x57], 0
je 0x4f7dc1
mov eax, dword [0x520284]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f7deb
push 0
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_ShowWindow
jmp 0x4f81f0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f81f0
mov byte [ebx + 0x20], 1
mov eax, dword [ebx + 8]
cmp byte [eax + 0x2d], 0
je 0x4f7e03
mov eax, ebx
call fcn.004f83b8
mov byte [esp], 1
mov edi, dword [ebx + 4]
mov eax, edi
mov esi, dword [0x4e33e4]
mov edx, esi
call fcn.00403d40
test al, al
je 0x4f7e54
cmp byte [edi + 0x1bc], 0
je 0x4f7e54
mov eax, ebx
call fcn.004f828c
xor ecx, ecx
mov edx, ebx
call fcn.004e3db4
mov edi, eax
lea edx, [esp + 0x34]
mov eax, ebx
call fcn.004f82d0
mov ebp, dword [esp + 0x38]
mov eax, ebx
call fcn.004e3e5c
add ebp, eax
add edi, ebp
mov dword [esp + 4], edi
jmp 0x4f7e5f
mov eax, ebx
call fcn.004f8238
mov dword [esp + 4], eax
mov eax, ebx
call fcn.004f828c
xor ecx, ecx
mov edx, ebx
call fcn.004e3db4
push eax
mov eax, ebx
call fcn.004e3e3c
mov edi, eax
pop eax
sub edi, eax
lea edx, [esp + 0x34]
mov eax, ebx
call fcn.004f82d0
add edi, dword [esp + 0x34]
mov dword [esp + 8], edi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebp, eax
mov eax, ebx
call fcn.004f828c
mov dword [esp + 0x20], eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4f7ed7
mov dl, 3
mov eax, dword [ebx + 0x10]
call fcn.0045e208
jmp 0x4f7f26
mov eax, dword [ebx + 4]
mov edx, esi
call fcn.00403d40
test al, al
jne 0x4f7f26
push 0xfffffffffffffff0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x4f7f26
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowLongA
mov esi, 0x610
cmp byte [esp], 0
jne 0x4f7f41
mov eax, dword [ebx + 0x10]
cmp edi, dword [eax + 0x48]
jne 0x4f7f41
mov eax, dword [ebx + 0x10]
cmp ebp, dword [eax + 0x4c]
je 0x4f7f48
mov byte [esp + 0x1c], 1
jmp 0x4f7f50
or esi, 1
mov byte [esp + 0x1c], 0
cmp byte [esp], 0
jne 0x4f7f59
or esi, 8
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 8]
mov eax, dword [ebx + 0x10]
call fcn.0044391c
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 4]
mov eax, dword [ebx + 0x10]
call fcn.00443940
mov edx, edi
mov eax, dword [ebx + 0x10]
call fcn.00443968
mov edx, ebp
mov eax, dword [ebx + 0x10]
call fcn.0044398c
call fcn.004c2aac
and al, byte [esp + 0x1c]
je 0x4f81ca
cmp byte [ebx + 0xc], 0
jne 0x4f81ca
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 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.00417e80
mov edi, dword [ebx + 4]
mov eax, edi
mov edx, dword [0x4e33e4]
call fcn.00403d40
test al, al
je 0x4f800b
mov eax, dword [edi + 0x1e4]
cmp byte [eax + 0x2e0], 0
je 0x4f800b
mov eax, dword [edi + 0x1e4]
mov al, byte [eax + 0x2e1]
mov edx, dword [0x51fe30]
mov byte [edx + 2], al
jmp 0x4f8017
mov eax, dword [0x51fe30]
mov dl, byte [esp + 1]
mov byte [eax + 2], dl
mov eax, dword [0x51fe30]
mov byte [eax], 0
mov eax, dword [0x51fe30]
mov byte [eax + 1], 0
mov eax, dword [0x51fe30]
mov byte [eax + 3], 1
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044a994
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 [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, ebx
call fcn.004f83e4
push eax
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowRgn
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov edi, dword [ebx + 4]
mov eax, edi
mov edx, dword [0x4e33e4]
call fcn.00403d40
test al, al
je 0x4f811d
mov eax, dword [edi + 0x1e4]
cmp byte [eax + 0x22b], 2
jne 0x4f811d
mov eax, dword [ebx + 8]
mov edi, dword [eax + 0x38]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebp, eax
lea edx, [esp + 0x34]
mov eax, ebx
call fcn.004f82d0
sub ebp, dword [esp + 0x40]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x1e4]
call fcn.0044a994
mov cl, 1
mov edx, ebx
call fcn.004e3db4
mov edx, ebp
sub edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
mov dword [esp + 0x10], edi
mov edx, edi
mov eax, dword [ebx + 0x10]
call fcn.0044398c
push 2
mov eax, dword [0x51fe30]
push eax
push 0x1fffffff
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x38]
call fcn.00428d38
call fcn.00424894
push eax
lea eax, [esp + 0x20]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
mov eax, dword [0x51fdf0]
mov eax, dword [eax]
call eax
cmp byte [esp + 1], 0
jne 0x4f8185
push 0xfffffffffffffff0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_SetWindowLongA
push 4
mov eax, dword [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_ShowWindow
cmp byte [esp + 1], 0
jne 0x4f81c0
push 0xfffffffffffffff0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, ebx
call fcn.004f828c
push eax
call sub.user32.dll_SetWindowLongA
push 0
push esi
call sub.user32.dll_ReleaseDC
jmp 0x4f81ec
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 [ebx + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
mov byte [ebx + 0x20], 0
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret