Function at 0x180007850
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180023048]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov byte [rdx + 8], 0
cmp r9d, 0x10
je 0x180007ac7
cmp r9d, 0x232
je 0x1800079e1
cmp r9d, 0x312
jne 0x180007cac
cmp qword [rbp + 0x50], 0x64
jne 0x180007cac
mov rcx, r8
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rbx, qword [0x180024b08]
mov rbx, qword [rbx]
test eax, eax
je 0x180007945
cmp byte [rbx + 0x19], 0
jne 0x180007935
nop dword [rax]
mov rcx, qword [rbx + 0x28]
call sym.multi_window_windows_plugin.dll_public:_struct_HWND______ptr64___cdecl_Win32Window::GetHandle_void____ptr64
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180007910
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18000790b
cmp rbx, qword [rax + 0x10]
jne 0x18000790b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800078f8
mov rbx, rax
jmp 0x18000792f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18000792f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180007920
cmp byte [rbx + 0x19], 0
je 0x1800078d0
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x180007c9b
cmp byte [rbx + 0x19], 0
jne 0x1800079c5
nop dword [rax + rax]
mov rcx, qword [rbx + 0x28]
call sym.multi_window_windows_plugin.dll_public:_struct_HWND______ptr64___cdecl_Win32Window::GetHandle_void____ptr64
mov rdi, rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18000799f
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18000799a
cmp rbx, qword [rax + 0x10]
jne 0x18000799a
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180007987
mov rbx, rax
jmp 0x1800079bf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1800079bf
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800079b0
cmp byte [rbx + 0x19], 0
je 0x180007950
mov edx, 5
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x180007c9b
mov rdx, r14
call fcn.18000c1d0
mov edx, eax
test eax, eax
js 0x180007cac
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rcx
mov byte [rbp - 0x28], cl
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], 0xa
movsd xmm0, qword [str.windowMove]
movsd qword [rbp - 0x48], xmm0
movzx eax, word [0x180019c30]
mov word [rbp - 0x40], ax
mov byte [rbp - 0x3e], cl
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x48]
mov rcx, rbx
call fcn.18000ac10
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180007a83
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180015d34
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180007cac
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007c8f
call fcn.180015d34
jmp 0x180007cac
mov rdx, r14
call fcn.18000c1d0
mov edx, eax
mov dword [rbp - 0x50], eax
cmp qword [rbp + 0x50], 0
jne 0x180007cac
test eax, eax
jle 0x180007bc6
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rcx
mov byte [rbp - 0x28], cl
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], 5
mov eax, dword [str.close]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x180019c24]
mov byte [rbp - 0x44], al
mov byte [rbp - 0x43], cl
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x48]
mov rcx, rbx
call fcn.18000ac10
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180007b76
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007b70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007b70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180015d34
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180007bb1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007c8f
call fcn.180015d34
lea rdx, [rbp - 0x50]
lea rcx, [0x180024b08]
call fcn.18000b2c0
jmp 0x180007cac
jne 0x180007cac
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rcx
mov byte [rbp - 0x28], cl
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], 5
mov eax, dword [str.close]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x180019c24]
mov byte [rbp - 0x44], al
mov byte [rbp - 0x43], cl
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x48]
xor edx, edx
mov rcx, rbx
call fcn.18000ac10
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180007c5d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180015d34
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180007c9b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180015d34
mov qword [rsi], 1
cmp byte [rsi + 8], 0
jne 0x180007cac
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180016470
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret