Function at 0x14001e820
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + 0x48]
test al, al
je 0x14001ebba
cmp qword [rbx + 0x1b0], 0
je 0x14001e88c
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x14001e88c
mov rax, qword [rcx]
lea rdx, [rbx + 0x7c]
xor r8d, r8d
call qword [rax + 0x10]
mov ebp, eax
jmp 0x14001e88e
xor ebp, ebp
lea rsi, [rbx + 0x1a8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x14001ebaf
cmp byte [0x1401b9694], 0
jne 0x14001e955
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001e945
cmp eax, 6
je 0x14001e945
mov byte [0x1401b9694], 1
mov dword [rsp + 0x40], eax
lea rax, str.game_window_detected__show:__d_
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x242
lea rax, str.OOPManager::WaitRestore
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov edx, 2
mov r9d, 0xffffff
mov r8d, edx
lea rcx, vtable.FlushLogger.0
call fcn.140010300
mov ebp, 6
mov dl, 1
mov rcx, rbx
call fcn.14001ef00
mov rcx, rbx
call fcn.14001edb0
movzx eax, byte [0x1401b9694]
jmp 0x14001e94d
xor al, al
mov byte [0x1401b9694], al
test al, al
je 0x14001ebaf
mov r14d, dword [rbx + 0x84]
sub r14d, dword [rbx + 0x7c]
mov r15d, dword [rbx + 0x88]
sub r15d, dword [rbx + 0x80]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
setne dil
cmp byte [rbx + 0x72], dil
jne 0x14001e994
xor dil, dil
jmp 0x14001ea72
mov byte [rbx + 0x72], dil
lea rcx, str.minimized
lea rax, str.restore
test dil, dil
cmovne rax, rcx
mov qword [rsp + 0x40], rax
lea rax, str.window_state_changed:__s
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x1ba
lea rax, str.OOPManager::UpdateWindowState
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov edx, 2
mov r9d, 0xffffff
mov r8d, edx
lea rcx, vtable.FlushLogger.0
call fcn.140010300
mov rcx, qword [rbx + 0x68]
test dil, dil
je 0x14001ea0e
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x1d1], 0
jmp 0x14001ea6f
mov edi, dword [rbx + 0x84]
sub edi, dword [rbx + 0x7c]
mov r12d, dword [rbx + 0x88]
sub r12d, dword [rbx + 0x80]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8d, dword [rbx + 0x7c]
cmp r8d, 0xffff8300
je 0x14001ea6f
mov dword [rsp + 0x30], 0x214
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], edi
mov r9d, dword [rbx + 0x80]
xor edx, edx
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x14001ea6f
mov dl, 1
mov rcx, rbx
call fcn.14001ef00
mov dil, 1
mov rcx, rbx
call fcn.14001ee90
test ebp, ebp
jg 0x14001ea83
test dil, dil
je 0x14001eaaa
cmp byte [rbx + 0x72], 0
jne 0x14001eaa5
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, dword [rbx + 0x80]
mov edx, dword [rbx + 0x7c]
mov rcx, rbx
call fcn.14001e610
jmp 0x14001ead2
test dil, dil
jne 0x14001eab7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
test al, al
je 0x14001eab9
mov al, 1
or dil, al
je 0x14001eac8
cmp byte [rbx + 0x72], 0
jne 0x14001eac8
mov dl, 1
jmp 0x14001eaca
xor edx, edx
mov rcx, rbx
call fcn.14001ef00
cmp r14d, dword [rbx + 0x74]
jne 0x14001eae3
cmp r15d, dword [rbx + 0x78]
jne 0x14001eae3
xor dil, dil
jmp 0x14001eae6
mov dil, 1
cmp byte [0x1401b96a8], 0
je 0x14001eafc
test dil, dil
jne 0x14001eafc
mov rcx, rbx
call fcn.14001ee90
mov byte [0x1401b96a8], dil
cmp byte [rbx + 0x72], 0
jne 0x14001ebba
test dil, dil
jne 0x14001eb9a
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b9788], eax
jg 0x14001ebe8
cmp byte [rbx + 0x90], 0
jne 0x14001eb6d
cmp byte [0x1401b9784], 0
jne 0x14001eb6d
mov rcx, qword [rbx + 0x100]
test rcx, rcx
je 0x14001eb6d
mov rax, qword [rcx]
call qword [rax + 0x50]
test al, al
jne 0x14001eb6d
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x14001ebbc
cmp byte [rbx + 0x91], 0
jne 0x14001eb8e
mov byte [rbx + 0x90], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test al, al
je 0x14001eb8e
mov al, 1
jmp 0x14001ebbc
mov rcx, rbx
call fcn.14001c180
test al, al
jne 0x14001eb8a
mov r8d, r15d
mov edx, r14d
mov rcx, rbx
call fcn.14001ec30
test al, al
setne al
jmp 0x14001ebbc
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140050f90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1401b9788]
call fcn.140052110
cmp dword [0x1401b9788], 0xffffffff
jne 0x14001eb36
call fcn.140020950
movzx ecx, byte [rax + 0x9d]
mov byte [0x1401b9784], cl
lea rcx, [0x1401b9788]
call fcn.1400520b0
jmp 0x14001eb36