Function at 0x10006365c
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
and dword [rax - 0x14], 0
and dword [rax - 0x10], 0
and dword [rax - 0xc], 0
mov al, byte [rcx + 0x454]
mov edi, dword [rcx + 0x450]
mov rbx, rcx
test al, al
je 0x100063693
neg edi
test al, al
sete al
lea rdx, [rsp + 0x30]
mov byte [rcx + 0x454], al
mov rcx, qword [rcx + 0x488]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10006391f
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx + 0x488]
and dword [rsp + 0x28], 0
add eax, edi
add r8d, edi
sub r9d, edx
mov dword [rsp + 0x3c], eax
sub eax, r8d
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x478]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10006391f
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx + 0x478]
and dword [rsp + 0x28], 0
add eax, edi
add r8d, edi
sub r9d, edx
mov dword [rsp + 0x3c], eax
sub eax, r8d
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x468]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10006391f
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx + 0x468]
and dword [rsp + 0x28], 0
add eax, edi
add r8d, edi
sub r9d, edx
mov dword [rsp + 0x3c], eax
sub eax, r8d
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x458]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10006391f
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx + 0x458]
and dword [rsp + 0x28], 0
add eax, edi
add r8d, edi
sub r9d, edx
mov dword [rsp + 0x3c], eax
sub eax, r8d
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r11b, byte [rbx + 0x454]
neg r11b
lea rcx, [rbx + 0x458]
sbb edx, edx
neg edx
add edx, 0x1839
call fcn.10002c5f0
mov r11b, byte [rbx + 0x454]
mov rcx, qword [rbx + 0x420]
neg r11b
sbb edx, edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10006391f
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx + 8]
add eax, edi
mov dword [rsp + 0x3c], eax
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 8]
mov r9d, 5
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret