Function at 0x140082060
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 [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
cmp byte [rcx + 0x978e9], 0
mov rsi, rcx
jne 0x1400822c0
lea rdx, [rcx + 0x978fc]
mov qword [r11 + 0x10], r12
mov rcx, qword [rcx]
mov dword [rdx], 0x2c
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x28], r15
mov rcx, qword [rcx + 0x18]
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 0x140082130
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 + 0x978e8], 0
je 0x140082140
mov ebx, 3
jmp 0x14008219e
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x831
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
setne al
mov byte [rsi + 0x978ea], al
test al, al
je 0x140082180
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 + 0xb98]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rcx, [rsi + 0xbd0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsi]
xor edx, edx
mov dword [rsi + 0x97ad8], ebx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsi + 0x978e8], 0
jne 0x1400821e7
mov rax, qword [rsi]
mov edx, 0xfffffff0
mov r8d, 0x80000000
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
mov ecx, 0x2cf0000
cmove rax, rcx
mov qword [rsi + 0x978f0], rax
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 + 0x97aa8]
call fcn.14006c840
mov rcx, qword [rsi + 0x97ac0]
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 + 0x97ac0]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsi + 0x890]
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 0x1400823c8
mov rcx, qword [rcx]
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
xor dword [rsi + 0x97ad8], 1
lea rcx, [rsi + 0x97aa8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
cmp byte [rsi + 0x978e8], 0
jne 0x140082392
cmp byte [rsi + 0x978ea], 0
je 0x140082313
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 + 0xb98]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rcx, [rsi + 0xbd0]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp byte [rsi + 0x978e8], 0
jne 0x140082392
mov rcx, qword [rsi]
mov edx, 0xfffffff0
mov r8, qword [rsi + 0x978f0]
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 + 0x978fc]
cmp dword [rdx], 0
mov rcx, qword [rcx + 0x18]
je 0x1400823bd
cmp dword [rsi + 0x97904], 3
jne 0x1400823b5
mov edx, 3
jmp 0x1400823c2
call qword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x1400823c8
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsi + 0x978e9], 0
mov rcx, qword [rsi]
sete al
xor r9d, r9d
mov byte [rsi + 0x978e9], al
xor r8d, r8d
mov rcx, qword [rcx + 0x18]
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rsi + 0x978e8], 0
je 0x140082451
mov rcx, qword [rsi + 0x97ac0]
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 + 0x97ac0]
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.140168660
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret