Function at 0x66a70c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x66a839
mov eax, esi
call fcn.005a5c70
test al, al
je 0x66a839
mov edx, esp
mov eax, ebx
call fcn.0066b018
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x66a78e
mov eax, esp
call fcn.004109c4
test al, al
jne 0x66a78e
mov edx, dword [esp]
neg edx
mov eax, esp
xor ecx, ecx
call fcn.004109dc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test al, al
je 0x66a78e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 8]
test al, al
je 0x66a780
mov eax, esp
xor ecx, ecx
mov edx, 2
call fcn.004109dc
jmp 0x66a78e
mov eax, esp
xor ecx, ecx
mov edx, 1
call fcn.004109dc
mov eax, esp
call fcn.004109c4
test al, al
je 0x66a7ae
push 0
mov eax, dword [ebx + 0x44]
call fcn.005a58bc
push eax
call sub.user32.dll_ShowWindow
jmp 0x66a839
push 5
mov eax, dword [ebx + 0x44]
call fcn.005a58bc
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0066a3a0
test al, al
je 0x66a802
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x44]
call fcn.005a58bc
push eax
call sub.user32.dll_SetWindowPos
jmp 0x66a839
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x44]
call fcn.005a58bc
push eax
call sub.user32.dll_SetWindowPos
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x66a947
mov eax, esi
call fcn.005a5c70
test al, al
je 0x66a947
mov edx, esp
mov eax, ebx
call fcn.0066b290
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x66a89c
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0066b018
lea eax, [esp + 0x20]
call fcn.004109c4
test al, al
jne 0x66a89c
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.0066b018
lea eax, [esp + 0x10]
call fcn.00410288
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.004109dc
mov eax, esp
call fcn.004109c4
test al, al
je 0x66a8bc
push 0
mov eax, dword [ebx + 0x2c]
call fcn.005a58bc
push eax
call sub.user32.dll_ShowWindow
jmp 0x66a947
push 5
mov eax, dword [ebx + 0x2c]
call fcn.005a58bc
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0066a3a0
test al, al
je 0x66a910
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x2c]
call fcn.005a58bc
push eax
call sub.user32.dll_SetWindowPos
jmp 0x66a947
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x2c]
call fcn.005a58bc
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret