Function at 0x1400016c0
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], r8
call fcn.140003be0
test al, al
je 0x1400017e2
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 0
lea rax, [rbp - 0x50]
mov qword [rbp + 8], rax
lea rdi, [rbp + 8]
mov qword [rbp + 0x30], rdi
lea rax, [0x140001190]
mov qword [rbp + 0x38], rax
lea rax, str.e_0__a
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 2
mov qword [rbp - 8], 0
lea rbx, [rbp + 0x30]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 1
mov byte [rbp + 0x4e], 1
lea rdx, [0x1400254c0]
lea rcx, [rbp + 0x18]
lea r8, [rbp - 0x28]
call fcn.14001de40
mov rcx, qword [rbp + 0x20]
test al, al
je 0x1400017f9
test rcx, rcx
jne 0x140001804
lea rax, str.crossterm::terminal::SetTitle_str_crossterm::terminal::SetSize
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x23
mov qword [rbp + 8], rbx
lea rax, [0x140001170]
mov qword [rbp + 0x10], rax
lea rax, str.__::write_ansi_incorrectly_errored
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 2
mov qword [rbp - 8], 0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 1
mov byte [rbp + 0x4e], 0
lea rdx, [0x140025670]
lea rcx, [rbp - 0x28]
call fcn.140023f60
jmp 0x140001952
mov rcx, rsi
call fcn.14000ab10
test rax, rax
je 0x140001813
mov dl, 1
mov rsi, rax
jmp 0x1400018fa
mov byte [rbp + 0x4e], 0
call fcn.1400013f0
xor ecx, ecx
test rcx, rcx
setne dl
cmovne rsi, rcx
jmp 0x1400018fa
lea rax, [rbp - 0x40]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x40], 0
lea rax, [rbp + 0x18]
mov qword [rbp + 8], rax
lea rax, [0x140001190]
mov qword [rbp + 0x10], rax
lea rax, [0x1400256c8]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
mov qword [rbp - 8], 0
lea rax, [rbp + 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 1
mov byte [rbp + 0x4f], 1
lea rdx, [0x140025490]
lea rcx, [rbp + 0x30]
lea r8, [rbp - 0x28]
call fcn.14001de40
test al, al
jne 0x140001926
mov rdx, qword [rbp + 0x40]
cmp rdx, qword [rbp + 0x30]
jne 0x1400018ac
mov byte [rbp + 0x4f], 1
lea rcx, [rbp + 0x30]
call fcn.140001d70
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x38]
mov word [rax + rdx*2], 0
inc qword [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x38]
mov qword [rbp - 0x30], rcx
call sub.KERNEL32.dll_SetConsoleTitleW
test eax, eax
je 0x14000190c
xor edi, edi
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x1400018f0
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x30]
call fcn.140002c50
test rdi, rdi
setne dl
cmovne rsi, rdi
movzx eax, dl
mov rdx, rsi
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rdx, qword [rbp + 0x28]
test rdx, rdx
jne 0x1400018de
jmp 0x1400018f0
mov byte [rbp + 0x4f], 1
lea rax, [0x140025760]
mov qword [rsp + 0x20], rax
lea rcx, str.formatting_failedC:Users_tvry2.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrossterm_0.22.1_src_terminal_syswindows.rs
lea r9, [0x140025460]
lea r8, [rbp - 0x28]
mov edx, 0x11
call fcn.140024360
ud2