Function at 0x180079ce0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1802c2700]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r15d, r9b
mov rsi, r8
mov rdi, rcx
mov qword [rsp + 0x30], r8
xor r12d, r12d
movups xmm0, xmmword [rdx]
movups xmmword [rcx + 8], xmm0
lea r14, [rcx + 0x130]
cmp r14, r8
je 0x180079d7e
mov rdx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x180079d3e
mov r9, qword [r8]
mov rax, qword [r14 + 0x18]
cmp rdx, rax
ja 0x180079d70
mov rbp, r14
cmp rax, 7
jbe 0x180079d53
mov rbp, qword [r14]
mov qword [r14 + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rbp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rbp], r12w
jmp 0x180079d7e
movzx r8d, byte [rsp + 0x20]
mov rcx, r14
call fcn.180060a10
mov byte [rdi], r15b
test r15b, r15b
je 0x180079df9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
setne cl
mov byte [rdi + 1], cl
test eax, eax
jne 0x180079da6
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x180079df9
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x18], edx
and edx, 0xffffffbf
or edx, 0xc
mov dword [rsp + 0x28], edx
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov rcx, rdi
call fcn.1800794e0
cmp byte [rdi], 0
je 0x180079e22
lea rcx, [rdi + 0x28]
mov r9d, 0x40
mov r8d, 0xa
lea rdx, str.CONOUT_
call fcn.18007c720
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.18005f690
nop
mov r9d, 0x40
mov r8d, 0x12
lea rdx, [rsp + 0x38]
lea rcx, [rdi + 0x150]
call fcn.180077890
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x180079e93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079e8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180079e8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180199d8c
call fcn.1801419c0
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_bool___cdecl_YimMenu::LogHelper::InitImpl_class_std::basic_string_view_char__struct_std::char_traits_char____class_YimMenu::File__bool____ptr64::_2::_lambda_1___void__class_std::shared_ptr_class_al::LogMessage__.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
call fcn.1801413d0
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_bool___cdecl_YimMenu::LogHelper::InitImpl_class_std::basic_string_view_char__struct_std::char_traits_char____class_YimMenu::File__bool____ptr64::_2::_lambda_2___void__class_std::shared_ptr_class_al::LogMessage__.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
call fcn.1801413d0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x180079f1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180079f19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180079f59
mov rcx, r8
call fcn.180199d8c
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180199d30
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3