Function at 0x18005d290
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor edi, edi
lea rcx, str._n_________________________________________n_n
call fcn.180013f60
lea rdx, str.Abyss
lea rcx, [rsp + 0x40]
call fcn.18000a010
nop
lea r8d, [rdi + 5]
lea rdx, str._Kill
lea rcx, [rsp + 0x40]
call fcn.18000ffc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18005d35c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005d357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180062d44
movdqa xmm0, xmmword [0x1800704b0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18005d3af
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005d3aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005d3aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180062d44
movdqa xmm0, xmmword [0x1800704b0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rcx, qword [0x18007f028]
mov rcx, qword [rcx + 0x68]
call fcn.18000eec0
lea rcx, str.GameSettings___Restore_Fullscreen_n
call fcn.180013f60
cmp byte [0x18007f309], 0
je 0x18005d3f8
call fcn.180011cc0
lea rcx, str.Borderless___Restore_n
call fcn.180013f60
lea rax, [0x18007d948]
cmp qword [0x18007d960], 0x10
cmovae rax, qword [0x18007d948]
mov qword [0x18007d958], rdi
mov byte [rax], 0
mov byte [0x18007f330], 0
mov byte [0x18007f308], 0
mov dword [0x18007f334], edi
call fcn.180056d10
call fcn.180056910
call fcn.180056d10
call fcn.180056910
call fcn.180056d10
call fcn.180056910
call fcn.180056d10
call fcn.180056910
mov r8, qword [0x18007f0c0]
mov edx, 0xfffffffc
mov rcx, qword [0x18007f140]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rdx, qword [0x18007f328]
mov rcx, qword [0x18007f318]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x18007f320]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rbx, qword [0x18007f070]
mov qword [0x18007f070], rbx
call fcn.180018cb0
mov qword [0x18007f070], rdi
test rbx, rbx
je 0x18005d4d1
mov rcx, rbx
call fcn.18002efa0
mov rax, qword [0x18007f070]
test rax, rax
je 0x18005d4c8
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.Menu___Kill_n
call fcn.180013f60
call fcn.18000a410
mov rcx, qword [rax]
cmp rcx, qword [rax + 8]
je 0x18005d4ef
mov qword [rax + 8], rcx
lea rcx, str.Modules___Kill_n
call fcn.180013f60
mov qword [0x18007f028], rdi
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f1e8]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f1a0]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f220]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f238]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f290]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f2a8]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f230]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f248]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f240]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f228]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f270]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f298]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f168]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f208]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f1d8]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f210]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f150]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f148]
call qword [rax + 0xb8]
mov rcx, qword [0x18007f1b0]
mov rax, qword [rcx]
mov rdx, qword [0x18007f190]
call qword [rax + 0xb8]
lea rcx, str.SDK___Kill_n
call fcn.180013f60
mov rcx, qword [0x18007f0d8]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, str.Java___Kill_n
call fcn.180013f60
mov rbx, rdi
mov esi, 1
xor eax, eax
lock cmpxchg dword [0x18007f088], esi
je 0x18005d711
cmp rbx, 0x20
jae 0x18005d6fa
xor ecx, ecx
jmp 0x18005d6fc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18007f088], esi
jne 0x18005d6f0
cmp qword [0x18007f090], 0
je 0x18005d791
xor ecx, ecx
call fcn.180056480
test eax, eax
jne 0x18005d791
mov rcx, qword [0x18007f080]
mov qword [0x18007f080], rdi
test rcx, rcx
je 0x18005d759
nop dword [rax]
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x18005d740
mov r8, qword [0x18007f110]
xor edx, edx
mov rcx, qword [0x18007f090]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18007f090]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x18007f090], rdi
mov qword [0x18007f110], rdi
mov qword [0x18007f118], rdi
xchg dword [0x18007f088], edi
lea rcx, str.Min_Hook___Kill_n
call fcn.180013f60
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.Logger___Kill_n
call fcn.180013f60
cmp byte [0x18007f34d], 0
je 0x18005d7e3
mov rcx, qword [0x18007f0d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x18007f0c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor r8d, r8d
mov rdx, qword [0x18007f340]
lea rcx, str.C:WindowsMediaWindows_Hardware_Remove.wav
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp qword [sym.imp.WINMM.dll_PlaySoundA]