Function at 0x4fb748
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov byte [esp], dl
mov ebx, eax
mov eax, dword [ebx + 0x284]
and eax, 0x80
cmp eax, 0x80
je 0x4fbb4f
xor esi, esi
mov eax, ebx
call fcn.0051b240
mov eax, dword [ebx + 0x260]
call fcn.004f5fc0
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4fbb4f
mov edx, dword [ebx + 0x284]
or edx, 0x80
mov eax, ebx
call fcn.0051b85c
cmp dword [ebx + 0x25c], 0
je 0x4fb7b8
lea eax, [ebx + 0x25c]
call fcn.0040e634
push 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4fa474]
call fcn.004d97dc
mov edi, eax
mov dword [ebx + 0x25c], edi
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x2e0], 0
je 0x4fb7f7
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [edi + 0xd0]
wait
jmp 0x4fb809
xor eax, eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], 0x406fe000
mov eax, dword [ebx + 0x25c]
mov edx, dword [ebx + 0x2a4]
mov dword [eax + 0xc0], edx
mov eax, dword [ebx + 0x274]
call fcn.00458204
mov edi, dword [ebx + 0x25c]
mov dword [edi + 0xbc], eax
cmp byte [ebx + 0x46], 0
je 0x4fb85d
mov eax, dword [ebx + 0x260]
call fcn.004f5fc0
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
mov al, byte [eax + 8]
mov edx, dword [ebx + 0x25c]
mov byte [edx + 0xb8], al
jmp 0x4fb864
mov byte [edi + 0xb8], 0xff
mov eax, dword [ebx + 0x260]
call fcn.004f5fc0
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xa
jbe 0x4fb8da
mov eax, dword [ebx + 0x260]
call fcn.004f5fc0
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fld dword [0x4fbb58]
call fcn.00402e70
mov eax, dword [ebx + 0x25c]
movzx eax, byte [eax + 0xb8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
call fcn.00402e68
mov eax, dword [ebx + 0x25c]
fstp qword [eax + 0xc8]
wait
jmp 0x4fb8fe
mov eax, dword [ebx + 0x25c]
xor edx, edx
mov dl, byte [eax + 0xb8]
mov ecx, 0xff
sub ecx, edx
mov dword [esp + 4], ecx
fild dword [esp + 4]
fstp qword [eax + 0xc8]
wait
mov edx, 0xa
mov eax, dword [ebx + 0x25c]
call fcn.004d9734
mov eax, dword [ebx + 0x2a4]
test eax, eax
je 0x4fba28
mov cl, 0xff
xor edx, edx
call fcn.00517124
mov edi, dword [ebx + 0x274]
cmp byte [edi + 0x2e0], 0
je 0x4fb94b
push 2
push 0
push 0x1fffffff
mov eax, edi
call fcn.00458204
push eax
call dword [0x54b4f0]
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x24], 1
push 0x60b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x274]
call fcn.00458204
xor ecx, ecx
xor edx, edx
call fcn.004e0438
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004d9724
push 0
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
mov ecx, 0xf012
mov edx, 0x112
call fcn.00452b98
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x17], 0
mov eax, dword [ebx + 0x2a4]
cmp dword [eax + 4], 0xffffffff
je 0x4fbb40
cmp dword [eax + 8], 0xffffffff
je 0x4fbb40
mov eax, dword [ebx + 0x2a4]
mov ebp, dword [eax + 8]
test ebp, ebp
jge 0x4fbb40
mov edx, dword [0x5481d0]
cmp dword [edx], 6
jl 0x4fbb40
mov edx, dword [ebx + 0x2a4]
mov edi, dword [edx + 0x28]
mov edx, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x4c]
push edx
mov ecx, ebp
mov edx, dword [eax + 4]
mov eax, edi
mov edi, dword [eax]
call dword [edi + 0x84]
jmp 0x4fbb40
mov edi, dword [ebx + 0x274]
cmp byte [edi + 0x2e0], 0
jne 0x4fbb16
mov eax, edi
call fcn.00458204
call fcn.004fab8c
mov esi, eax
cmp dword [ebx + 0x2a4], 0
jne 0x4fba84
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4fba84
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004fcfb4
mov edi, eax
push 0
push edi
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4fbacf
push 0xffffffffffffffec
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0xff
push 0x1fffffff
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call dword [0x54b4f0]
push 0x185
push 0
push 0
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004d9724
cmp byte [esp], 0
je 0x4fbb40
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x274]
call fcn.00452b98
cmp byte [esp], 0
je 0x4fbb4f
mov edx, esi
mov eax, ebx
call fcn.004fb2c0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret