Function at 0x14008b410
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov rcx, qword [rcx]
cmp byte [rsi + 0x979e1], 0
jne 0x14008b672
mov qword [r11 + 0x10], r12
lea rdx, [rsi + 0x979f4]
mov dword [rdx], 0x2c
mov rcx, qword [rcx + 0x18]
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x28], r15
call qword [sym.imp.USER32.dll_GetWindowPlacement]
xor ecx, ecx
xor r12d, r12d
xor r13d, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, 1
mov edi, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [rsi]
lea edx, [rbx + 1]
mov r15d, eax
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea rdx, [rbp + 7]
mov dword [rbp + 7], 0x28
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x14008b4e0
movups xmm1, xmmword [rbp + 0xb]
movups xmmword [rbp - 0x29], xmm1
mov r15d, dword [rbp - 0x1d]
mov r12d, dword [rbp - 0x25]
movdqa xmm0, xmm1
mov r13d, dword [rbp - 0x29]
movd eax, xmm1
psrldq xmm0, 8
movd edi, xmm0
sub edi, eax
mov rax, qword [rbp - 0x29]
shr rax, 0x20
sub r15d, eax
cmp byte [rsi + 0x979e0], 0
je 0x14008b4f0
mov ebx, 3
jmp 0x14008b54c
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x831
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
setne cl
mov byte [rsi + 0x979e2], cl
je 0x14008b52e
mov rcx, qword [rsi]
mov r9, rbx
xor r8d, r8d
mov edx, 0x830
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsi + 0xc08]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rcx, [rsi + 0xc40]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsi]
xor edx, edx
mov dword [rsi + 0x97bd0], ebx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsi + 0x979e0], 0
jne 0x14008b599
mov rax, qword [rsi]
mov edx, 0xfffffff0
mov r8d, 0x80000000
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [rsi + 0x979e8], rax
test rax, rax
jne 0x14008b599
mov qword [rsi + 0x979e8], 0x2cf0000
mov rcx, qword [rsi]
mov edx, 5
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi]
mov r9d, r12d
mov dword [rsp + 0x30], 0x24
mov r8d, r13d
mov dword [rsp + 0x28], r15d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
movzx edx, byte [rsi + 0x484]
lea rcx, [rsi + 0x97ba0]
call fcn.140076a00
mov rcx, qword [rsi + 0x97bb8]
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi]
lea rdx, [rbp - 9]
mov edi, dword [rbp - 0x11]
mov ebx, dword [rbp - 0xd]
sub edi, dword [rbp - 0x19]
mov rcx, qword [rcx + 0x18]
sub ebx, dword [rbp - 0x15]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp - 1]
mov r9d, edi
mov r8d, dword [rbp - 5]
sub edx, edi
mov rcx, qword [rsi + 0x97bb8]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsi + 0x8d0]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetFocus]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xd8]
jmp 0x14008b777
mov rcx, qword [rcx + 0x18]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor dword [rsi + 0x97bd0], 1
lea rcx, [rsi + 0x97ba0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
cmp byte [rsi + 0x979e0], 0
jne 0x14008b741
cmp byte [rsi + 0x979e2], 0
je 0x14008b6c2
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x830
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsi + 0xc08]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rcx, [rsi + 0xc40]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp byte [rsi + 0x979e0], 0
jne 0x14008b741
mov rcx, qword [rsi]
mov edx, 0xfffffff0
mov r8, qword [rsi + 0x979e8]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rsi]
xor r9d, r9d
mov dword [rsp + 0x30], 0x27
xor r8d, r8d
mov dword [rsp + 0x28], 0
xor edx, edx
mov dword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi]
mov edx, 5
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi]
lea rdx, [rsi + 0x979f4]
cmp dword [rdx], 0
mov rcx, qword [rcx + 0x18]
je 0x14008b76c
cmp dword [rsi + 0x979fc], 3
jne 0x14008b764
mov edx, 3
jmp 0x14008b771
call qword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x14008b777
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsi + 0x979e1], 0
mov rcx, qword [rsi]
sete al
xor r9d, r9d
mov byte [rsi + 0x979e1], al
xor r8d, r8d
mov rcx, qword [rcx + 0x18]
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rsi + 0x979e0], 0
je 0x14008b800
mov rcx, qword [rsi + 0x97bb8]
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi]
lea rdx, [rbp - 9]
mov edi, dword [rbp - 0x11]
mov ebx, dword [rbp - 0xd]
sub edi, dword [rbp - 0x19]
mov rcx, qword [rcx + 0x18]
sub ebx, dword [rbp - 0x15]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rbp - 5]
lea eax, [rdi + rdi]
mov edx, dword [rbp - 1]
inc r8d
mov rcx, qword [rsi + 0x97bb8]
sub edx, eax
mov dword [rsp + 0x28], 0
mov r9d, edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14017f700
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret