Function at 0x14000fff0
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 [0x1400390f8]
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]
cmp qword [r14 + 0x70], 0
je 0x14001c1aa
lea rcx, [rsp + 0x30]
call fcn.1400105f0
cmp byte [rsp + 0x240], 0
je 0x140010058
mov edi, 0x7fe7
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400104d0
test eax, eax
js 0x14001c1a0
mov rax, qword [r14 + 0x70]
cmp word [rax + 2], 0x3a
je 0x140010374
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140010920
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400103c6
cmp esi, 0xfffffffe
je 0x14001c1a0
mov rax, rsi
shl rax, 5
lea r13, fcn.140015210
mov r13, qword [rax + r13]
test r13, r13
je 0x14001c1bc
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14001c1cd
mov ecx, 0x2f
mov word [rax], cx
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14001c1d7
xor r15d, r15d
mov word [rax + 2], r15w
mov rdx, qword [rsp + 0x238]
test rdx, rdx
je 0x14001c1e1
mov r8d, 2
mov rcx, qword [r14 + 0x78]
call fcn.14000d920
mov rbx, rax
cmp esi, 0xa
je 0x1400102da
cmp esi, 0x1f
je 0x140010134
mov r8d, 1
mov rdx, rbx
mov ecx, esi
call fcn.140010c4c
test al, al
jne 0x14001c1a0
test rbx, rbx
je 0x140010210
or r15, 0xffffffffffffffff
movzx r12d, word [rsp + 0x20]
nop word [rax + rax]
cmp word [rbx], 0
je 0x14001020d
mov edx, 0x22
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
xor r9d, r9d
test rax, rax
jne 0x140010306
mov r8, rbx
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140010180
inc rax
lea rcx, [rax - 1]
cmp rcx, 0x7ffffffe
ja 0x14001c1f4
mov rdx, rbx
mov edi, 0x7ffffffe
sub rdi, rax
sub r8, rbx
nop dword [rax]
lea rcx, [rdi + rax]
test rcx, rcx
je 0x1400101d0
movzx ecx, word [r8 + rdx]
test cx, cx
je 0x1400101d0
mov word [rdx], cx
add rdx, 2
sub rax, 1
jne 0x1400101b0
test rax, rax
je 0x14001c1eb
mov word [rdx], r9w
test r12b, 1
jne 0x1400103e7
test r12b, 2
jne 0x140010420
mov rax, r15
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x1400101f4
lea rbx, [rbx + rax*2]
add rbx, 2
jne 0x140010150
xor r15d, r15d
mov rcx, r14
call fcn.14000fbb0
test rax, rax
je 0x140010226
mov rcx, rax
call fcn.140010d00
nop
lea rax, [fcn.140004b30]
mov rcx, r14
cmp r13, rax
je 0x14001028c
lea rax, [fcn.1400026c0]
cmp r13, rax
je 0x140010260
lea rax, [fcn.1400122f0]
cmp r13, rax
je 0x140010267
lea rax, [fcn.140007050]
cmp r13, rax
jne 0x14001026e
call fcn.140007050
jmp 0x140010291
call fcn.1400026c0
jmp 0x140010291
call fcn.1400122f0
jmp 0x140010291
lea rax, [fcn.140015210]
cmp r13, rax
je 0x140010285
mov rax, r13
call qword [0x14002fd18]
jmp 0x140010291
call fcn.140015210
jmp 0x140010291
call fcn.140004b30
mov edi, eax
cmp qword [0x1400502b0], 0
je 0x1400103d5
lea rcx, [rsp + 0x30]
call fcn.1400106a8
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400173b0
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 0x140010117
mov r8d, 4
lea rdx, [0x140030398]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x140010134
jmp 0x140010117
movzx eax, r9w
lea r8, [0x140050520]
mov rdi, r8
mov ecx, 0x2000
rep stosw word [rdi], ax
mov rcx, r15
nop
inc rcx
cmp word [rbx + rcx*2], r9w
jne 0x140010320
mov rdx, r9
mov rax, r9
movsxd rdi, ecx
test ecx, ecx
jle 0x14001035a
nop word [rax + rax]
movzx ecx, word [rbx + rax*2]
cmp cx, 0x22
je 0x140010352
mov word [r8 + rdx*2], cx
inc rdx
inc rax
cmp rax, rdi
jl 0x140010340
add rdx, rdx
cmp rdx, 0x4000
jae 0x14001042f
mov word [rdx + r8], r9w
jmp 0x140010177
movzx ecx, word [rax]
call fcn.140012d74
test eax, eax
je 0x14001c172
mov rax, qword [r14 + 0x70]
movzx ecx, word [rax]
call fcn.140016d68
test eax, eax
jne 0x14001c179
mov rax, qword [r14 + 0x70]
movzx ecx, word [rax]
call qword [sym.imp.msvcrt.dll_towupper]
sub ax, 0x40
mov rcx, qword [r14 + 0x70]
or r15, 0xffffffffffffffff
inc r15
cmp word [rcx + r15*2], 0
jne 0x1400103b1
cmp r15, 2
je 0x14001c1b4
mov rcx, r14
call fcn.1400142c8
mov edi, eax
jmp 0x1400102a1
cmp byte [0x1400398a4], 0
je 0x1400102a1
jmp 0x14001c23d
cmp word [rbx + 2], 0x3a
jne 0x1400101e7
movzx ecx, word [rbx]
call fcn.140012d74
test eax, eax
je 0x14001c224
cmp esi, 4
je 0x1400101e7
movzx ecx, word [rbx]
call fcn.140016d68
test eax, eax
je 0x1400101e7
jmp 0x14001c206
cmp word [rbx], 0x2f
jne 0x1400101f1
jmp 0x14001c18a
call 0x140017584
int3
mov ecx, 0xf
jmp 0x14001c181
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.140014d90
jmp 0x14001c1a0
xor edx, edx
mov ecx, 0x232a
call fcn.140014d90
mov dword [0x140047c4c], 1
lea rcx, [rsp + 0x30]
call fcn.1400106a8
mov eax, 1
jmp 0x1400102ad
movzx ecx, ax
call fcn.14002b0ec
lea rcx, [rsp + 0x30]
call fcn.1400106a8
xor eax, eax
jmp 0x1400102ad
lea rax, [rsp + 0x30]
jmp 0x1400100ca
lea rax, [rsp + 0x30]
jmp 0x1400100e3
lea rdx, [rsp + 0x30]
jmp 0x1400100fc
sub rdx, 2
jmp 0x1400101d9
test rax, rax
je 0x1400101dd
mov word [rbx], r9w
jmp 0x1400101dd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.140014d90
mov dword [0x140047c4c], 1
jmp 0x14001c1a0
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.140014d90
mov dword [0x140047c4c], 1
jmp 0x14001c1a0
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_console_l2_2_0.dll_SetConsoleTitleW]
mov byte [0x1400398a4], 0
mov dword [0x140039868], r15d
jmp 0x1400102a1