Function at 0x140017a20
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14014a140]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov esi, dword [0x140150878]
dec esi
mov r13d, 0x80000000
xor esi, r13d
mov r14d, 0x20
lea r12, [0x14014a398]
nop dword [rax]
lea rcx, [0x1401508e0]
cmp esi, 0x7fffffff
jne 0x140017a98
call fcn.14001ea40
mov ecx, eax
jmp 0x140017ada
lea ebx, [rsi - 0x7fffffff]
call fcn.14001ea40
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x140017ad6
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140017ad6
nop dword [rax]
lea rcx, [0x1401508e0]
call fcn.14001ea40
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140017ac0
shr rcx, 0x20
lea eax, [rcx + r13]
xor eax, r13d
lea rcx, [0x140150868]
cmp qword [0x140150880], 0xf
cmova rcx, qword [0x140150868]
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [0x14014a3a8]
mov rdx, qword [0x14014a3b0]
cmp rcx, rdx
jae 0x140017b37
lea rax, [rcx + 1]
mov qword [0x14014a3a8], rax
mov rax, r12
cmp rdx, 0xf
cmova rax, qword [0x14014a398]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140017b3f
mov rcx, r12
call fcn.140011d70
sub r14, 1
jne 0x140017a80
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140011020
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140017ba7
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017ba2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b8c4
movdqa xmm0, xmmword [0x14013c880]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r15], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rdi, [r15 + 8]
movabs rax, 0xf31eab3c5a9ee3be
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp - 0x29], rax
movabs rcx, 0x82d458cc98ef9d26
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp - 0x21], rax
movabs rax, 0xf33aff6915d0acfd
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x17], rax
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rbp - 0x29]
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x29], xmm0
lea rbx, [rdi + 8]
cmp qword [rbx + 0x80], 0
je 0x140017c87
mov rax, qword [rdi]
add rax, 4
movsxd rcx, dword [rax]
add rcx, rdi
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14007b430
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, 0xa
mov r8d, 0x40
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rsi, rax
test rax, rax
je 0x140017c3f
mov byte [rbx + 0x7c], 1
mov byte [rbx + 0x71], 0
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor r14d, r14d
mov qword [rbp - 9], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 7], r14
lea r9, [rbp + 7]
lea r8, [rbp + 0x17]
lea rdx, [rbp - 9]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rbp + 7]
mov qword [rsp + 0x30], r9
mov r8, qword [rbp + 0x17]
mov qword [rsp + 0x28], r8
mov rdx, qword [rbp - 9]
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbx + 0x80], rsi
mov rax, qword [0x14014f180]
mov qword [rbx + 0x74], rax
mov qword [rbx + 0x68], r14
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140011610
mov rsi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x140017d3f
mov qword [rbx + 0x68], r14
jmp 0x140017d4d
mov qword [rbx + 0x68], rsi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140017d6f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140017d6f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
add rax, 4
test rbx, rbx
je 0x140017c46
movsxd rcx, dword [rax]
add rcx, rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140017c5a