Function at 0x140017800
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 [0x14014d140]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov esi, dword [0x1401536b8]
dec esi
mov r13d, 0x80000000
xor esi, r13d
mov r14d, 0x20
lea r12, [0x14014d288]
nop dword [rax]
lea rcx, [0x140153710]
cmp esi, 0x7fffffff
jne 0x140017878
call fcn.14001e3e0
mov ecx, eax
jmp 0x1400178ba
lea ebx, [rsi - 0x7fffffff]
call fcn.14001e3e0
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1400178b6
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400178b6
nop dword [rax]
lea rcx, [0x140153710]
call fcn.14001e3e0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400178a0
shr rcx, 0x20
lea eax, [rcx + r13]
xor eax, r13d
lea rcx, [0x1401536a8]
cmp qword [0x1401536c0], 0xf
cmova rcx, qword [0x1401536a8]
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [0x14014d298]
mov rdx, qword [0x14014d2a0]
cmp rcx, rdx
jae 0x140017917
lea rax, [rcx + 1]
mov qword [0x14014d298], rax
mov rax, r12
cmp rdx, 0xf
cmova rax, qword [0x14014d288]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001791f
mov rcx, r12
call fcn.140011a20
sub r14, 1
jne 0x140017860
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140010ce0
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 0x140017987
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017982
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ef64
movdqa xmm0, xmmword [0x14013f740]
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, 0xa61f9a434a9ae8d8
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp - 0x29], rax
movabs rcx, 0xb614802bc9527a24
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp - 0x21], rax
movabs rax, 0xa63bce1605d4a79b
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 0x140017a67
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.14007eba0
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 0x140017a1f
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 [0x140151fc8]
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.1400112c0
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 0x140017b1f
mov qword [rbx + 0x68], r14
jmp 0x140017b2d
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 0x140017b4f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140017b4f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
add rax, 4
test rbx, rbx
je 0x140017a26
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 0x140017a3a