Function at 0x140009aa0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x1400f0e40]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 7]
call fcn.140003170
mov r12, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x19]
call fcn.140003170
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rcx, rdx
sub rcx, r8
cmp rcx, 0xe
jb 0x140009b8f
lea rax, [r8 + 0xe]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rdx, 0xf
jbe 0x140009b23
mov rdi, qword [rbx]
lea rax, [0x1400a6ece]
mov r15d, recv
lea rsi, str.mode_con_cols
cmp rax, rdi
jbe 0x140009b57
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140009b57
cmp rdi, rsi
ja 0x140009b4f
xor r14d, r14d
jmp 0x140009b5a
mov r14, rdi
sub r14, rsi
jmp 0x140009b5a
mov r14, r15
inc r8
lea rcx, [rdi + 0xe]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rsi + 0xe]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140009bbd
mov r15d, recv
mov qword [rsp + 0x28], r15
lea rsi, str.mode_con_cols
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov edx, r15d
mov rcx, rbx
call fcn.140002b00
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x69], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x61]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x140009c39
lea rax, [rcx + 7]
mov qword [rbp - 0x69], rax
lea rbx, [rbp - 0x79]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x79]
add rbx, rcx
mov r8d, 7
lea rdx, str._lines
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
lea rax, [rbp - 0x79]
jmp 0x140009c5d
mov qword [rsp + 0x20], 7
lea r9, str._lines
movzx r8d, byte [rsp + 0x30]
mov edx, 7
lea rcx, [rbp - 0x79]
call fcn.140002970
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, r12
lea r8, [rbp - 0x39]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x59]
call fcn.140003550
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140009cd4
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f838
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140009d12
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009d0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f838
movdqa xmm0, xmmword [0x1400a7970]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140009d61
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009d5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f838
movdqa xmm0, xmmword [0x1400a7970]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140009db0
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009dab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009dab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f838
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140009e02
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009dfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009f838
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14009fba0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret