Function at 0x1400515a0
Capabilities:
Create thread
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400fa070]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov r14d, ecx
mov edx, reloc.WS2_32.dll_sendto
lea ecx, [rdx - 0x12]
call fcn.14004c2d0
movsxd rdx, eax
lea rcx, [rbp - 0x11]
call fcn.14004c060
cmp qword [rax + 0x18], 0x10
jb 0x1400515fb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140051642
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005163d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005163d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009a918
mov cl, 0x79
mov dword [rbp - 0x51], 0xf1c1d79
mov dword [rbp - 0x4d], 0x100c1b54
mov dword [rbp - 0x49], 0x40261d15
xor eax, eax
mov byte [rbp - 0x45], al
xor r13d, r13d
xor byte [rbp + rax - 0x50], cl
inc rax
cmp rax, 0xb
jae 0x140051674
movzx ecx, byte [rbp - 0x51]
jmp 0x140051661
mov byte [rbp - 0x45], r13b
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x140051683
lea rdx, [rbp - 0x50]
lea rsi, [0x1400fa1c8]
mov rcx, rsi
call fcn.140001460
mov rax, qword [rbx]
mov qword [0x1400fad50], rax
mov byte [rbp - 0x51], Ordinal_41
mov al, 0x4b
mov cl, 0x47
mov dl, 0x44
movzx r8d, cl
mov r9b, 0x5a
mov r10b, 8
mov r11b, Ordinal_26
mov bl, 0x49
xor edi, edi
xor al, 0x28
mov byte [rbp - 0x50], al
xor cl, 0x28
mov byte [rbp - 0x4f], cl
xor dl, 0x28
mov byte [rbp - 0x4e], dl
xor r8b, 0x28
mov byte [rbp - 0x4d], r8b
xor r9b, 0x28
mov byte [rbp - 0x4c], r9b
xor r10b, 0x28
mov byte [rbp - 0x4b], r10b
xor r11b, 0x28
mov byte [rbp - 0x4a], r11b
xor bl, 0x28
mov byte [rbp - 0x49], bl
mov byte [rbp - 0x48], dil
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [rbp - 0x3d], Ordinal_50
mov al, listen
movzx ecx, al
mov dl, 0x48
mov r8b, 0x5a
mov r9b, 0x46
xor al, 0x2f
mov byte [rbp - 0x3c], al
xor cl, 0x2f
mov byte [rbp - 0x3b], cl
xor dl, 0x2f
mov byte [rbp - 0x3a], dl
xor r8b, 0x2f
mov byte [rbp - 0x39], r8b
xor r9b, 0x2f
mov byte [rbp - 0x38], r9b
mov byte [rbp - 0x37], dil
lea ecx, [rdi + 0x10]
call fcn.14009a8dc
lea rcx, [rbp - 0x3c]
mov qword [rax], rcx
lea rcx, [0x14004dde0]
mov qword [rax + 8], rcx
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140052f90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140051ad0
lea rax, [rbp - 0x11]
mov qword [rbp + 0xf], rax
mov rdx, qword [0x1400fad50]
mov qword [rbp - 0x11], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400517b2
lea rcx, [rbp - 0x11]
call fcn.140001460
nop
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
mov rdi, qword [0x1400fa1d8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1400fa1c8]
cmp rdi, 0x10
jae 0x140051800
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
jmp 0x14005187d
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140051857
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051ae0
mov rcx, rax
call fcn.14009a8dc
mov rcx, rax
test rax, rax
je 0x140051850
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140051863
call fcn.14009a8dc
jmp 0x140051866
mov rax, r13
mov qword [rbp - 0x31], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x21], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.14004c400
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
test r14d, r14d
je 0x140051a94
lea r15, [0x1400fada0]
lea r14, [0x1400fa0d0]
lea r12, [0x1400fa208]
nop dword [rax]
lea rdx, [0x140051340]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
lea rdx, [0x1400fa228]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1400fa228]
mov r8, qword [0x1400fa238]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015c0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
mov rcx, rbx
call fcn.140052bf0
mov dword [0x1400fad3c], r13d
mov byte [rbp - 0x41], reloc.WS2_32.dll_WSASetLastError
mov al, 0x50
xor ecx, ecx
xor al, 0x70
mov byte [rbp - 0x40], al
mov byte [rbp - 0x3f], cl
lea rax, [0x1400fa1e8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x1400fa1e8]
mov qword [0x1400fad90], rax
mov word [rbp - 0x59], 0x72
mov byte [rbp - 0x58], cl
lea rax, [rbp - 0x58]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], cl
jne 0x140051980
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.140001460
lea r8, [0x1400fad98]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x1400fad90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov qword [0x1400fad58], rax
test rax, rax
je 0x140051a23
nop dword [rax]
mov rdx, rax
lea rcx, [0x1400fa0e0]
call fcn.140052520
movsxd rdx, dword [0x1400fad3c]
shl rdx, 5
add rdx, r15
mov rcx, r14
call fcn.140052a00
mov rax, qword [0x1400fa0d0]
movsxd rcx, dword [rax + 4]
add rcx, r14
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea r8, [0x1400fad98]
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov qword [0x1400fad58], rax
inc dword [0x1400fad3c]
test rax, rax
jne 0x1400519c0
mov rdx, r15
cmp qword [0x1400fadb8], 0x10
cmovae rdx, qword [0x1400fada0]
mov r8, qword [0x1400fadb0]
mov rcx, r12
call fcn.140001460
mov rbx, qword [0x1400fa218]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
jb 0x140051a65
mov rdi, qword [0x1400fa208]
add rbx, rdi
mov rsi, rdi
jmp 0x140051a6e
add rbx, r12
mov rdi, r12
mov rsi, r12
cmp rdi, rbx
je 0x140051a8a
sub rsi, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rsi], al
inc rdi
cmp rdi, rbx
jne 0x140051a76
call fcn.140051380
jmp 0x1400518d0
cmp dword [rbp + 0x1f], 0
je 0x140051aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14009a620
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 0x1f], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001340
int3