Function at 0x1400179e0
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 0x140017a58
call fcn.14001ee50
mov ecx, eax
jmp 0x140017a9a
lea ebx, [rsi - 0x7fffffff]
call fcn.14001ee50
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x140017a96
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140017a96
nop dword [rax]
lea rcx, [0x1401508e0]
call fcn.14001ee50
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140017a80
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 0x140017af7
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 0x140017aff
mov rcx, r12
call fcn.140011d40
sub r14, 1
jne 0x140017a40
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140011000
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 0x140017b67
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b7b4
movdqa xmm0, xmmword [0x14013c820]
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, 0x933eccc6ea13feba
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp - 0x29], rax
movabs rcx, 0x73829c127094a81e
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp - 0x21], rax
movabs rax, 0x931a9893a55db1f9
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 0x140017c47
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.14007b320
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 0x140017bff
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.1400115e0
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 0x140017cff
mov qword [rbx + 0x68], r14
jmp 0x140017d0d
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 0x140017d2f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140017d2f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rdi]
add rax, 4
test rbx, rbx
je 0x140017c06
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 0x140017c1a