Function at 0x1400109d0
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 [0x1400400b0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r13, 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 [r13 + 0x70], 0
je 0x140026906
lea rcx, [rsp + 0x30]
call fcn.1400176ac
cmp byte [rsp + 0x240], 0
je 0x140010a3e
mov edi, 0x7fe7
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140010e10
test eax, eax
js 0x1400268fc
mov rax, qword [r13 + 0x70]
cmp word [rax + 2], 0x3a
je 0x140010d24
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140010600
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140010d85
cmp esi, 0xfffffffe
je 0x1400268fc
mov rax, rsi
shl rax, 5
lea r12, [0x140036328]
mov r12, qword [rax + r12]
test r12, r12
je 0x14002692a
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14002693b
mov cl, 1
test cl, cl
je 0x140026942
mov ecx, 0x2f
mov word [rax], cx
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x14002694c
mov cl, 1
test cl, cl
je 0x140026953
xor r14d, r14d
mov word [rax + 2], r14w
mov rdx, qword [rsp + 0x238]
test rdx, rdx
je 0x14002695d
mov al, 1
test al, al
je 0x140026964
mov r8d, 2
mov rcx, qword [r13 + 0x78]
call fcn.140011180
mov rbx, rax
cmp esi, 0xa
je 0x140010c86
cmp esi, 0x1f
je 0x140010b38
mov r8d, 1
mov rdx, rbx
mov ecx, esi
call fcn.1400115cc
test al, al
jne 0x1400268fc
test rbx, rbx
je 0x140010c10
mov r15, 0xffffffffffffffff
movzx r14d, word [rsp + 0x20]
nop
cmp word [rbx], 0
je 0x140010c0d
mov edx, 0x22
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
xor r9d, r9d
test rax, rax
jne 0x140010cb8
mov r8, rbx
mov rdx, r15
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x140010b80
inc rdx
lea rax, [rdx - 1]
cmp rax, 0x7ffffffe
ja 0x140026977
mov rax, rbx
mov edi, 0x7ffffffe
sub rdi, rdx
sub r8, rbx
nop dword [rax + rax]
lea rcx, [rdi + rdx]
test rcx, rcx
je 0x140010bd0
movzx ecx, word [r8 + rax]
test cx, cx
je 0x140010bd0
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x140010bb0
test rdx, rdx
je 0x14002696e
mov word [rax], r9w
test r14b, 1
jne 0x140010db2
test r14b, 2
jne 0x140010deb
mov rax, r15
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140010bf4
lea rbx, [rbx + rax*2]
add rbx, 2
jne 0x140010b50
xor r14d, r14d
mov rcx, r13
call fcn.140010ed0
test rax, rax
je 0x140010c26
mov rcx, rax
call fcn.140011688
nop
movabs r10, 0xbfbc36cf1053c270
mov rcx, r13
mov rax, r12
call qword [0x1400374c8]
mov edi, eax
cmp qword [0x14004cbb0], 0
je 0x140010da0
lea rcx, [rsp + 0x30]
call fcn.14001e0bc
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001f920
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 0x140010b1b
mov r8d, 4
lea rdx, [0x140037aa0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x140010b38
jmp 0x140010b1b
movzx eax, r9w
lea r8, [0x14004cd80]
mov rdi, r8
mov ecx, 0x2000
rep stosw word [rdi], ax
mov rcx, r15
inc rcx
cmp word [rbx + rcx*2], r9w
jne 0x140010cd1
mov rdx, r9
mov rax, r9
movsxd rdi, ecx
test ecx, ecx
jle 0x140010d0a
nop dword [rax + rax]
movzx ecx, word [rbx + rax*2]
cmp cx, 0x22
je 0x140010d02
mov word [r8 + rdx*2], cx
inc rdx
inc rax
cmp rax, rdi
jl 0x140010cf0
add rdx, rdx
cmp rdx, 0x4000
jae 0x140010dfa
mov word [rdx + r8], r9w
jmp 0x140010b7d
movzx ecx, word [rax]
call fcn.1400176fc
test eax, eax
je 0x1400268f2
mov rax, qword [r13 + 0x70]
movzx ecx, word [rax]
call fcn.14000ce70
test eax, eax
jne 0x140026910
mov rax, qword [r13 + 0x70]
movzx ecx, word [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towupper]
nop dword [rax + rax]
sub ax, 0x40
mov rcx, qword [r13 + 0x70]
mov r15, 0xffffffffffffffff
nop word [rax + rax]
inc r15
cmp word [rcx + r15*2], 0
jne 0x140010d70
cmp r15, 2
je 0x140026922
mov rcx, r13
call fcn.14000d0f4
mov edi, eax
lea rcx, [rsp + 0x30]
call fcn.14001e0bc
mov eax, edi
jmp 0x140010c58
cmp byte [0x14004cbcc], 0
je 0x140010c4c
jmp 0x1400269e1
cmp word [rbx + 2], 0x3a
jne 0x140010be7
movzx ecx, word [rbx]
call fcn.1400176fc
test eax, eax
je 0x1400269ad
cmp esi, 4
je 0x140010be7
movzx ecx, word [rbx]
call fcn.14000ce70
test eax, eax
je 0x140010be7
jmp 0x140026989
cmp word [rbx], 0x2f
jne 0x140010bf1
jmp 0x1400269c6
call fcn.14001fa58
int3
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.140002bfc
lea rcx, [rsp + 0x30]
call fcn.14001e0bc
mov eax, 1
jmp 0x140010c58
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 0x1400268f7
movzx ecx, ax
call fcn.1400325f0
lea rcx, [rsp + 0x30]
call fcn.14001e0bc
xor eax, eax
jmp 0x140010c58
xor cl, cl
jmp 0x140010ab2
lea rax, [rsp + 0x30]
jmp 0x140010aba
xor cl, cl
jmp 0x140010ad5
lea rax, [rsp + 0x30]
jmp 0x140010add
xor al, al
jmp 0x140010af8
lea rdx, [rsp + 0x30]
jmp 0x140010b00
sub rax, 2
jmp 0x140010bd9
test rdx, rdx
je 0x140010bdd
mov word [rbx], r9w
jmp 0x140010bdd
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.140002bfc
mov dword [0x14004ca24], 1
jmp 0x1400268fc
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.140002bfc
mov dword [0x14004ca24], 1
jmp 0x1400268fc
xor edx, edx
mov ecx, 0x232a
call fcn.140002bfc
mov dword [0x14004ca24], 1
jmp 0x1400268fc
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_console_l2_2_0.dll_SetConsoleTitleW]
nop dword [rax + rax]
mov byte [0x14004cbcc], 0
mov dword [0x14004cb70], r14d
jmp 0x140010c4c