Function at 0x180091890
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rsi, rcx
lea r15, vtable.CVolObject.0
xor r14d, r14d
lea r12, vtable.CVolMem.0
cmp qword [0x180340fe0], r14
jne 0x1800919d4
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x180340fe8], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x180340fe0], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
lea rax, vtable.CWString.0
mov qword [rbp - 0x29], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], rcx
mov qword [rbp - 9], r15
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
mov qword [rbp - 9], r12
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x27], 0x40
mov qword [rbp - 0x11], r14
mov qword [rbp + 0x27], 0xfe
lea rax, vtable.CWConstString.0
mov qword [rbp - 0x29], rax
lea rax, str.0W_vN
mov qword [rbp - 0x11], rax
lea rcx, [0x1802d7730]
mov rax, qword [rbp - 0x11]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
nop
lea rax, [rbp - 9]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 9], r12
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1800919b1
lea rcx, [rbp - 9]
mov rax, qword [rbp - 9]
call qword [rax + 0x18]
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x17], r14
mov qword [rbp - 9], r15
mov qword [rbp - 0x29], r15
xor edx, edx
mov rcx, qword [0x180340fe8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea r8, [0x1802ded5c]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.1800a7360
mov rdi, rax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x88]
mov rcx, qword [rdi + 8]
mov qword [rsi + 8], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov qword [rsi + 0x18], rcx
mov rdx, qword [rsi + 0x20]
lea rcx, [rsi + 0x20]
call qword [rdx + 0x88]
lea rdx, [rdi + 0x20]
lea rcx, [rsi + 0x20]
call fcn.1800056e0
nop
lea rax, [rbp - 9]
mov qword [rbp + 0x67], rax
mov qword [rbp - 9], r12
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x180091a4a
lea rcx, [rbp - 9]
mov rax, qword [rbp - 9]
call qword [rax + 0x18]
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x17], r14
mov qword [rbp - 9], r15
mov qword [rbp - 0x29], r15
mov rdx, qword [rsi + 0x18]
test rdx, rdx
je 0x180091a7c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x180091a70
jmp 0x180091a9b
mov rax, qword [rsi + 0x48]
test rax, rax
jne 0x180091a91
mov rax, r14
lea rdx, [0x1802d7730]
jmp 0x180091a9b
shr rax, 1
dec rax
mov rdx, qword [rsi + 0x38]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rcx, qword [0x180340fe0]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret