Function at 0x6f1cf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov byte [esp], dl
mov esi, eax
test byte [esi + 0x27c], 0x80
jne 0x6f20bf
xor eax, eax
mov dword [esp + 4], eax
mov eax, esi
call fcn.007122f8
mov eax, dword [esi + 0x254]
call fcn.006e4068
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x6f20bf
mov edx, dword [esi + 0x27c]
or edx, 0x80
mov eax, esi
call fcn.00712a20
cmp dword [esi + 0x250], 0
je 0x6f1d63
lea eax, [esi + 0x250]
call fcn.0042e3d4
push 1
mov ecx, esi
mov dl, 1
mov eax, dword [0x6f0350]
call fcn.00666114
mov ebx, eax
mov dword [esi + 0x250], ebx
mov eax, dword [esi + 0x26c]
cmp byte [eax + 0x380], 0
je 0x6f1da2
movzx eax, byte [eax + 0x381]
mov dword [esp + 8], eax
fild dword [esp + 8]
fstp qword [ebx + 0xe0]
wait
jmp 0x6f1db4
xor eax, eax
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], 0x406fe000
mov eax, dword [esi + 0x29c]
mov dword [ebx + 0xd0], eax
mov eax, dword [esi + 0x26c]
call fcn.00538a74
mov dword [ebx + 0xcc], eax
cmp byte [esi + 0x56], 0
je 0x6f1df7
mov eax, dword [esi + 0x254]
call fcn.006e4068
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 0x24]
movzx eax, byte [eax + 8]
mov byte [ebx + 0xc8], al
jmp 0x6f1dfe
mov byte [ebx + 0xc8], 0xff
mov eax, dword [esi + 0x254]
call fcn.006e4068
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 0x24]
cmp word [eax + 4], 0xc
jbe 0x6f1e60
mov eax, dword [esi + 0x254]
call fcn.006e4068
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 0x24]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
fild dword [esp + 8]
fdiv dword [0x6f20c8]
movzx eax, byte [ebx + 0xc8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivrp st(1)
fstp qword [ebx + 0xd8]
wait
jmp 0x6f1e7d
movzx eax, byte [ebx + 0xc8]
mov edx, 0xff
sub edx, eax
mov dword [esp + 8], edx
fild dword [esp + 8]
fstp qword [ebx + 0xd8]
wait
mov edx, 0xc
mov eax, ebx
call fcn.0066604c
mov eax, dword [esi + 0x29c]
test eax, eax
je 0x6f1f8b
mov edi, eax
mov cl, 0xff
xor edx, edx
mov eax, edi
call fcn.0070e16c
mov eax, dword [edi + 0x20]
mov ebx, dword [eax + 0x26c]
cmp byte [ebx + 0x380], 0
je 0x6f1ed0
push 2
push 0
push 0x1fffffff
mov eax, ebx
call fcn.00538a74
push eax
mov eax, dword [0x7a930c]
mov eax, dword [eax]
call eax
mov byte [edi + 0x24], 1
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [edi + 0x28]
call fcn.00538a74
push eax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x26c]
call fcn.00538a74
xor ecx, ecx
xor edx, edx
call fcn.006bf18c
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x250]
mov dl, 1
call fcn.0066603c
push 0
mov eax, dword [edi + 0x28]
mov ecx, 0xf012
mov edx, 0x112
call fcn.00530bf4
mov byte [edi + 0x17], 0
cmp dword [edi + 4], 0xffffffff
je 0x6f20ae
cmp dword [edi + 8], 0xffffffff
je 0x6f20ae
cmp dword [edi + 8], 0
jge 0x6f20ae
mov eax, dword [0x7a9160]
cmp dword [eax], 6
jl 0x6f20ae
mov ebp, dword [edi + 0x28]
mov eax, dword [ebp + 0x58]
push eax
mov eax, dword [ebp + 0x5c]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
mov eax, ebp
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x6f20ae
mov ebx, dword [esi + 0x26c]
cmp byte [ebx + 0x380], 0
jne 0x6f2084
mov eax, ebx
call fcn.00538a74
call fcn.006f1044
mov dword [esp + 4], eax
cmp dword [esi + 0x29c], 0
jne 0x6f1feb
mov eax, dword [esi + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x6f1feb
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.006f34a4
mov ebx, eax
push 0
push ebx
mov eax, dword [esp + 0xc]
call fcn.00538a74
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [esi + 0x26c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
test eax, 0x80000
jne 0x6f2038
mov eax, dword [esi + 0x26c]
call fcn.00538a74
mov edx, 0xffffffec
call fcn.0041652c
or eax, 0x80000
push eax
mov eax, dword [esi + 0x26c]
call fcn.00538a74
mov edx, 0xffffffec
pop ecx
call fcn.00416810
push 2
push 0xff
push 0x1fffffff
mov eax, dword [esi + 0x26c]
call fcn.00538a74
push eax
mov eax, dword [0x7a930c]
mov eax, dword [eax]
call eax
push 0x585
push 0
push 0
mov eax, dword [esi + 0x26c]
call fcn.00538a74
push eax
call sub.user32.dll_RedrawWindow
push 0
mov eax, dword [esp + 8]
call fcn.00538a74
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi + 0x250]
mov dl, 1
call fcn.0066603c
cmp byte [esp], 0
je 0x6f20ae
push 0
mov eax, dword [esi + 0x26c]
mov ecx, 0xf012
mov edx, 0x112
call fcn.00530bf4
cmp byte [esp], 0
je 0x6f20bf
mov edx, dword [esp + 4]
mov eax, esi
call fcn.006f1820
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret