Function at 0x1400026d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14008c070]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140002400
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 0x10]
lea rdx, str.valid_commands:_t
lea rcx, [rbp - 0x28]
call fcn.1400067c0
lea edx, [r14 + 2]
lea rcx, [rbp - 0x28]
call fcn.1400017b0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 0x17]
lea rdx, str.help_logout_quit_clear_n
lea rcx, [rbp - 0x28]
call fcn.1400067c0
lea edx, [r14 + 0xa]
lea rcx, [rbp - 0x28]
call fcn.1400017b0
inc dword [0x14008d1dc]
mov dword [0x14008d1e0], r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 8]
lea rdx, str.Status:
lea rcx, [rbp - 0x28]
call fcn.1400067c0
lea edx, [r14 + 0xe]
lea rcx, [rbp - 0x28]
call fcn.1400017b0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 0x11]
lea rdx, str.Waiting_for_game_n
lea rcx, [rbp - 0x28]
call fcn.1400067c0
lea edx, [r14 + 0xa]
lea rcx, [rbp - 0x28]
call fcn.1400017b0
inc dword [0x14008d1dc]
mov dword [0x14008d1e0], r14d
cmp byte [0x14008d1cc], r14b
je 0x140002af1
lea r12, str.help
lea r13, str.logout
lea r15, str.clear
cmp byte [0x14008d1d0], 0
jne 0x140002838
mov eax, dword [0x14008d1d4]
cmp dword [0x14008d1d8], eax
jne 0x140002829
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002805
mov dword [0x14008d1d8], eax
lea rdx, [0x14008c0b8]
jmp 0x14000283f
lea rdx, [0x14008c0d8]
lea rcx, [rbp - 0x28]
call fcn.1400065f0
nop
lea rdx, [0x14008c0d8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14008c0d8]
lea rcx, [rbp - 0x28]
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x10]
cmp rsi, 0x10
cmovae rcx, rbx
mov rdi, qword [rbp - 0x18]
cmp rdi, qword [0x14008c0e8]
jne 0x140002891
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140002b1b
lea rdx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rdx, rbx
cmp rdi, 4
jne 0x1400028d6
mov rcx, r14
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x1400028c9
cmp rcx, 4
jne 0x1400028b0
mov eax, r14d
jmp 0x1400028ce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400028d6
mov al, 1
jmp 0x1400028d8
xor al, al
test al, al
je 0x140002951
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.valid_commands:_t
lea rcx, [rbp - 0x48]
call fcn.1400067c0
mov edx, 2
lea rcx, [rbp - 0x48]
call fcn.1400017b0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.help_logout_quit_clear_n
lea rcx, [rbp - 0x48]
call fcn.1400067c0
mov edx, 0xa
lea rcx, [rbp - 0x48]
call fcn.1400017b0
inc dword [0x14008d1dc]
mov dword [0x14008d1e0], r14d
lea rdx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rdx, rbx
cmp rdi, 6
jne 0x14000299e
mov rcx, r14
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x140002989
cmp rcx, 6
jne 0x140002970
mov eax, r14d
jmp 0x14000298e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000299e
xor ecx, ecx
call fcn.140009770
call fcn.140002b70
lea rdx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rdx, rbx
cmp rdi, 4
jne 0x1400029e6
mov rcx, r14
lea r8, str.quit
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400029d9
cmp rcx, 4
jne 0x1400029c0
mov eax, r14d
jmp 0x1400029de
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002b50
lea rdx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rdx, rbx
cmp rdi, 5
jne 0x140002aad
mov rax, r14
nop
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r15 + rax - 1]
jne 0x140002a19
cmp rax, 5
jne 0x140002a00
mov eax, r14d
jmp 0x140002a1e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140002aad
lea ecx, [rax - 1]
call fcn.140001990
call fcn.140001aa0
call fcn.140002400
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.valid_commands:_t
lea rcx, [rbp - 0x48]
call fcn.1400067c0
mov edx, 2
lea rcx, [rbp - 0x48]
call fcn.1400017b0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.help_logout_quit_clear_n
lea rcx, [rbp - 0x48]
call fcn.1400067c0
mov edx, 0xa
lea rcx, [rbp - 0x48]
call fcn.1400017b0
inc dword [0x14008d1dc]
mov dword [0x14008d1e0], r14d
cmp rsi, 0x10
jb 0x140002ae4
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002adc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b67
mov rcx, rbx
call fcn.14006cd20
cmp byte [0x14008d1cc], 0
jne 0x140002805
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006cd00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp rsi, 0x10
jb 0x140002af1
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002b46
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b67
mov rcx, rbx
call fcn.14006cd20
jmp 0x140002af1
mov byte [0x14008d1ce], 1
xor ecx, ecx
call fcn.140009770
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3