Function at 0x140006780
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push r15
sub rsp, 0x70
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebp, ecx
mov r15, rdx
lea rcx, str.May_25_2024
call fcn.140005a70
lea rcx, [0x14000841c]
call fcn.140005a70
lea rcx, str.21:25:27
call fcn.140005a70
lea rcx, [0x140008594]
call fcn.140005a70
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x44]
mov r9d, 0x1e0
mov edx, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x113
call qword [sym.imp.USER32.dll_MoveWindow]
call fcn.140005950
test eax, eax
je 0x140006839
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_initialize_ENet__n
call fcn.140005a70
mov eax, 1
jmp 0x140006a05
mov qword [rsp + 0x90], rsi
lea rcx, [0x1400059e0]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r14
call fcn.140006ff8
xor r14d, r14d
mov ebx, 1
cmp ebp, ebx
jle 0x1400068f1
mov edi, ebx
lea rsi, [r15 + 0x10]
lea r12, str.__port
nop dword [rax]
mov rdx, qword [r15 + rdi*8]
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r12 + rax - 1]
jne 0x1400068a6
cmp rax, 7
jne 0x140006890
jmp 0x1400068b7
cmp byte [rdx], 0x2d
jne 0x1400068db
cmp byte [rdx + 1], 0x70
jne 0x1400068db
cmp byte [rdx + 2], 0
jne 0x1400068db
inc ebx
mov r14d, 1
cmp ebx, ebp
jge 0x1400069bc
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
inc rdi
mov dword [rsp + 0x38], eax
add rsi, 8
inc ebx
inc rdi
add rsi, 8
cmp ebx, ebp
jl 0x140006880
test r14d, r14d
jne 0x140006970
lea rcx, str.Enter_Port__0_65535_:
call fcn.140005a70
lea rdx, [rsp + 0x38]
lea rcx, [0x140008600]
call fcn.140005ad0
cmp eax, 1
je 0x140006954
lea rbx, str.Error:_Failed_to_read_the_input_or_end_of_input_reached__n
nop word [rax + rax]
test eax, eax
lea rcx, str.Error:_Input_format_mismatch._Please_enter_a_valid_integer__n
cmovne rcx, rbx
call fcn.140005a70
lea rcx, str.Enter_Port__0_65535_:
call fcn.140005a70
lea rdx, [rsp + 0x38]
lea rcx, [0x140008600]
call fcn.140005ad0
cmp eax, 1
jne 0x140006920
mov edx, dword [rsp + 0x38]
lea rcx, str.Client:_Using_port__d_UDP_n
call fcn.140005a70
lea rcx, [0x14000841c]
call fcn.140005a70
movzx eax, word [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x30], 0
call section..text
mov qword [0x14000a800], rax
test rax, rax
jne 0x1400069db
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:_Failed_to_create_an_ENet_server_host__n
call fcn.140005a20
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:___port_or__p_requires_a_value__n
call fcn.140005a20
mov eax, r14d
jmp 0x1400069eb
mov edx, dword [rsp + 0x38]
lea rcx, str.Server:_Ready_on_port__d_n_n
call fcn.140005a70
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140006db0
add rsp, 0x70
pop r15
pop rbp
pop rbx
ret