Function at 0x1800dc660
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180274300]
xor rax, rsp
mov qword [rbp + 0xb8], rax
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov qword [rbp + 0x90], r14
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18022d100]
lea rdx, str.in.txt
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [r14 + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18022d118]
lea rdx, str.out.txt
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [r14 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18021e280]
lea rdx, str.err.txt
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Lag_Royale
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
lea r8d, [r14 + 0xa]
lea rdx, str.reboot.log
lea rcx, [rbp + 0x98]
call fcn.18005b260
nop
lea ecx, [r14 + 0x50]
call fcn.1801c4294
mov rbx, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex__.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
mov rcx, rdi
call fcn.18006ddd0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
mov rdx, qword [0x18027fb58]
cmp rdx, qword [0x18027fb60]
je 0x1800dc7d7
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
movdqu xmmword [rsp + 0x20], xmm0
mov rdi, qword [0x18027fb58]
lea rax, [rdi + 0x10]
mov qword [0x18027fb58], rax
jmp 0x1800dc7e4
lea r8, [rsp + 0x20]
call fcn.1800fe380
mov rdi, rax
mov rdi, qword [rdi]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.__D__T___n:___v__
lea rcx, [rsp + 0x50]
call fcn.18005b260
nop
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x50]
call fcn.18005f090
nop
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800dc86d
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800dc86d
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800dc86d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, 0x1a8
call fcn.1801c4294
mov rbx, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_spdlog::sinks::basic_file_sink_class_std::mutex__.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
mov qword [rbp - 0x38], r14
mov qword [rbp + 8], r14
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x88], r14
lea r9, [rbp - 0x70]
mov r8b, 1
lea rdx, [rbp + 0x98]
mov rcx, rdi
call fcn.1800ff100
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1800dc8e7
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1800dc900
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1800dc919
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1800dc933
mov rax, qword [rcx]
lea rdx, [rbp - 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov rdx, qword [0x18027fb58]
cmp rdx, qword [0x18027fb60]
je 0x1800dc976
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
movdqu xmmword [rsp + 0x40], xmm0
mov rdi, qword [0x18027fb58]
lea rax, [rdi + 0x10]
mov qword [0x18027fb58], rax
jmp 0x1800dc983
lea r8, [rsp + 0x40]
call fcn.1800fe380
mov rdi, rax
mov rdi, qword [rdi]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.__D__T___n:__l:__v
lea rcx, [rsp + 0x70]
call fcn.18005b260
nop
lea rdx, [rsp + 0x70]
mov rcx, rdi
call rbx
nop
lea rcx, [rsp + 0x70]
call fcn.18005f090
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800dca03
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800dca03
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1800dca03
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 8
lea rdx, str.LogTeams
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 9
lea rdx, str.LogMemory
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 9
lea rdx, str.LogFinder
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogInit
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 6
lea rdx, str.LogNet
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 6
lea rdx, str.LogDev
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 9
lea rdx, str.LogPlayer
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogLoot
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogMinigame
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0xa
lea rdx, str.LogLoading
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogHook
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogAbilities
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 8
lea rdx, str.LogEvent
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogPlaylist
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogGame
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 5
lea rdx, str.LogAI
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.LogInteraction
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogCreative
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogZone
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.LogReplication
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0xa
lea rdx, str.LogMutator
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogVehicles
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 5
lea rdx, str.LogUI
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.LogBots
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogCosmetics
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.LogMatchmaker
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogRebooting
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.LogObjectViewer
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, recv
lea rdx, str.LogLateGame
lea rcx, [rsp + 0x20]
call fcn.18005b260
nop
lea rcx, [rsp + 0x20]
call fcn.1800dc4d0
nop
lea rcx, [rsp + 0x20]
call fcn.18005f090
nop
lea rcx, [rbp + 0x98]
call fcn.18005f090
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1801c3a00
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret