Function at 0x14000c620
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_console_l2_2_0.dll_GetConsoleTitleW]
nop dword [rax + rax]
cmp qword [r14 + 0x70], 0
je 0x14001c5f2
lea rcx, [rsp + 0x30]
call fcn.14000af14
cmp byte [rsp + 0x240], 0
je 0x14000c68e
mov edi, 0x7fe7
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000ca40
test eax, eax
js 0x14001c5e8
mov rax, qword [r14 + 0x70]
cmp word [rax + 2], 0x3a
je 0x14000c954
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14000b9c0
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000c9b5
cmp esi, 0xfffffffe
je 0x14001c5e8
mov rax, rsi
shl rax, 5
lea r13, [0x140032d38]
mov r13, qword [rax + r13]
test r13, r13
je 0x14001c616
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14001c627
mov ecx, 0x2f
mov word [rax], cx
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14001c631
xor r15d, r15d
mov word [rax + 2], r15w
mov rdx, qword [rsp + 0x238]
test rdx, rdx
je 0x14001c63b
mov r8d, 2
mov rcx, qword [r14 + 0x78]
call fcn.14000d3f0
mov rbx, rax
cmp esi, 0xa
je 0x14000c8ac
cmp esi, 0x1f
je 0x14000c76a
mov r8d, 1
mov rdx, rbx
mov ecx, esi
call fcn.14000bd38
test al, al
jne 0x14001c5e8
test rbx, rbx
je 0x14000c840
mov r12, 0xffffffffffffffff
movzx r15d, word [rsp + 0x20]
cmp word [rbx], 0
je 0x14000c83d
mov edx, 0x22
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
xor r9d, r9d
test rax, rax
jne 0x14000c8de
mov r8, rbx
mov rdx, r12
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x14000c7b0
inc rdx
lea rax, [rdx - 1]
cmp rax, 0x7ffffffe
ja 0x14001c64e
mov rax, rbx
mov edi, 0x7ffffffe
sub rdi, rdx
sub r8, rbx
nop dword [rax + rax]
lea rcx, [rdi + rdx]
test rcx, rcx
je 0x14000c800
movzx ecx, word [r8 + rax]
test cx, cx
je 0x14000c800
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14000c7e0
test rdx, rdx
je 0x14001c645
mov word [rax], r9w
test r15b, 1
jne 0x14000c9e2
test r15b, 2
jne 0x14000ca1b
mov rax, r12
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14000c824
lea rbx, [rbx + rax*2]
add rbx, 2
jne 0x14000c780
xor r15d, r15d
mov rcx, r14
call fcn.14000cb40
test rax, rax
je 0x14000c856
mov rcx, rax
call fcn.14000cad4
nop
mov rcx, r14
mov rax, r13
call qword [0x140033e78]
mov edi, eax
cmp qword [0x140045b10], 0
je 0x14000c9d0
lea rcx, [rsp + 0x30]
call fcn.14001855c
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140018f80
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rbx, rbx
je 0x14000c74d
mov r8d, 4
lea rdx, [0x1400342d8]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x14000c76a
jmp 0x14000c74d
movzx eax, r9w
lea r8, [0x140045bd0]
mov rdi, r8
mov ecx, 0x2000
rep stosw word [rdi], ax
mov rcx, r12
nop word [rax + rax]
inc rcx
cmp word [rbx + rcx*2], r9w
jne 0x14000c900
mov rdx, r9
mov rax, r9
movsxd rdi, ecx
test ecx, ecx
jle 0x14000c93a
nop word [rax + rax]
movzx ecx, word [rbx + rax*2]
cmp cx, 0x22
je 0x14000c932
mov word [r8 + rdx*2], cx
inc rdx
inc rax
cmp rax, rdi
jl 0x14000c920
add rdx, rdx
cmp rdx, 0x4000
jae 0x14000ca2a
mov word [rdx + r8], r9w
jmp 0x14000c7ad
movzx ecx, word [rax]
call fcn.14001291c
test eax, eax
je 0x14001c5de
mov rax, qword [r14 + 0x70]
movzx ecx, word [rax]
call fcn.1400089c0
test eax, eax
jne 0x14001c5fc
mov rax, qword [r14 + 0x70]
movzx ecx, word [rax]
call qword [sym.imp.msvcrt.dll_towupper]
nop dword [rax + rax]
sub ax, 0x40
mov rcx, qword [r14 + 0x70]
mov r12, 0xffffffffffffffff
nop word [rax + rax]
inc r12
cmp word [rcx + r12*2], 0
jne 0x14000c9a0
cmp r12, 2
je 0x14001c60e
mov rcx, r14
call fcn.140015c6c
mov edi, eax
lea rcx, [rsp + 0x30]
call fcn.14001855c
mov eax, edi
jmp 0x14000c87e
cmp byte [0x140045b2c], 0
je 0x14000c872
jmp 0x14001c6b8
cmp word [rbx + 2], 0x3a
jne 0x14000c817
movzx ecx, word [rbx]
call fcn.14001291c
test eax, eax
je 0x14001c684
cmp esi, 4
je 0x14000c817
movzx ecx, word [rbx]
call fcn.1400089c0
test eax, eax
je 0x14000c817
jmp 0x14001c660
cmp word [rbx], 0x2f
jne 0x14000c821
jmp 0x14001c69d
call fcn.140019158
int3
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.140003278
lea rcx, [rsp + 0x30]
call fcn.14001855c
mov eax, 1
jmp 0x14000c87e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
xor edx, edx
jmp 0x14001c5e3
movzx ecx, ax
call fcn.14002ec14
lea rcx, [rsp + 0x30]
call fcn.14001855c
xor eax, eax
jmp 0x14000c87e
lea rax, [rsp + 0x30]
jmp 0x14000c700
lea rax, [rsp + 0x30]
jmp 0x14000c719
lea rdx, [rsp + 0x30]
jmp 0x14000c732
sub rax, 2
jmp 0x14000c809
test rdx, rdx
je 0x14000c80d
mov word [rbx], r9w
jmp 0x14000c80d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
xor edx, edx
call fcn.140003278
mov dword [0x14004598c], 1
jmp 0x14001c5e8
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.140003278
mov dword [0x14004598c], 1
jmp 0x14001c5e8
xor edx, edx
mov ecx, 0x232a
call fcn.140003278
mov dword [0x14004598c], 1
jmp 0x14001c5e8
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_console_l2_2_0.dll_SetConsoleTitleW]
nop dword [rax + rax]
mov byte [0x140045b2c], 0
mov dword [0x140045ad0], r15d
jmp 0x14000c872