Function at 0x4e5bc8
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 + 0x260]
and eax, 0x80
cmp eax, 0x80
je 0x4e5fae
xor esi, esi
mov eax, ebx
call fcn.00504634
mov eax, dword [ebx + 0xc8]
call fcn.004e0dd0
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4e5fae
or dword [ebx + 0x260], 0x80
cmp dword [ebx + 0x238], 0
je 0x4e5c2c
lea eax, [ebx + 0x238]
call fcn.0040e16c
push 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e4a30]
call fcn.00484094
mov edi, eax
mov dword [ebx + 0x238], edi
mov eax, dword [ebx + 0x27c]
cmp byte [eax + 0x2e0], 0
je 0x4e5c68
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
fild dword [esp + 4]
fstp qword [edi + 0x78]
wait
jmp 0x4e5c74
xor eax, eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], 0x406fe000
mov eax, dword [ebx + 0x238]
mov edx, dword [ebx + 0x298]
mov dword [eax + 0x88], edx
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
mov edi, dword [ebx + 0x238]
mov dword [edi + 0x8c], eax
cmp byte [ebx + 0x84], 0
je 0x4e5cc5
mov eax, dword [ebx + 0xc8]
call fcn.004e0dd0
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
mov al, byte [eax + 8]
mov edx, dword [ebx + 0x238]
mov byte [edx + 0x70], al
jmp 0x4e5cc9
mov byte [edi + 0x70], 0xff
mov eax, dword [ebx + 0xc8]
call fcn.004e0dd0
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xc
jbe 0x4e5d36
mov eax, dword [ebx + 0xc8]
call fcn.004e0dd0
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fld dword [0x4e5fb8]
call fcn.00402d90
mov eax, dword [ebx + 0x238]
movzx eax, byte [eax + 0x70]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
call fcn.00402d88
mov eax, dword [ebx + 0x238]
fstp qword [eax + 0x80]
wait
jmp 0x4e5d57
mov eax, dword [ebx + 0x238]
xor edx, edx
mov dl, byte [eax + 0x70]
mov ecx, 0xff
sub ecx, edx
mov dword [esp + 4], ecx
fild dword [esp + 4]
fstp qword [eax + 0x80]
wait
mov edx, 0xc
mov eax, dword [ebx + 0x238]
call fcn.00484008
mov eax, dword [ebx + 0x298]
test eax, eax
je 0x4e5e84
mov cl, 0xff
xor edx, edx
call fcn.005007fc
mov edi, dword [ebx + 0x27c]
cmp byte [edi + 0x2e0], 0
je 0x4e5da7
push 2
push 0
push 0x1fffffff
mov eax, edi
call fcn.0045fda0
push eax
mov eax, dword [0x523174]
mov eax, dword [eax]
call eax
mov eax, dword [ebx + 0x298]
mov byte [eax + 0x30], 1
push 0x60b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
xor ecx, ecx
xor edx, edx
call fcn.004cc698
mov dl, 1
mov eax, dword [ebx + 0x238]
call fcn.00483ff8
push 0
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
mov ecx, 0xf012
mov edx, 0x112
call fcn.0045a620
mov eax, dword [ebx + 0x298]
mov byte [eax + 0x1d], 0
mov eax, dword [ebx + 0x298]
cmp dword [eax + 0xc], 0xffffffff
je 0x4e5f9f
cmp dword [eax + 0x10], 0xffffffff
je 0x4e5f9f
mov eax, dword [ebx + 0x298]
mov ebp, dword [eax + 0x10]
test ebp, ebp
jge 0x4e5f9f
mov edx, dword [0x523068]
cmp dword [edx], 6
jl 0x4e5f9f
mov edx, dword [ebx + 0x298]
mov edi, dword [edx + 0x20]
mov edx, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x4c]
push edx
mov ecx, ebp
mov edx, dword [eax + 0xc]
mov eax, edi
mov edi, dword [eax]
call dword [edi + 0x84]
jmp 0x4e5f9f
mov edi, dword [ebx + 0x27c]
cmp byte [edi + 0x2e0], 0
jne 0x4e5f75
mov eax, edi
call fcn.0045fda0
call fcn.004e5120
mov esi, eax
cmp dword [ebx + 0x298], 0
jne 0x4e5ee0
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4e5ee0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e71bc
mov edi, eax
push 0
push edi
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4e5f2b
push 0xffffffffffffffec
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0xff
push 0x1fffffff
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
mov eax, dword [0x523174]
mov eax, dword [eax]
call eax
push 0x185
push 0
push 0
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [ebx + 0x238]
call fcn.00483ff8
cmp byte [esp], 0
je 0x4e5f9f
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x27c]
call fcn.0045a620
cmp byte [esp], 0
je 0x4e5fae
mov edx, esi
mov eax, ebx
call fcn.004e57b4
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret