Function at 0x1400011d0
Capabilities:
Connect socket
Convert ip address from string
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rdx
mov rsi, rcx
mov edx, 1
mov ebp, 2
lea r8d, [rdx + 5]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001230
lea rdx, str.Error:_Unable_to_create_socket_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014b0
xor al, al
jmp 0x140001422
mov word [rsp + 0x20], bp
movzx ecx, word [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x22], ax
cmp qword [rsi + 0x18], 0xf
jbe 0x14000124e
mov rsi, qword [rsi]
lea r8, [rsp + 0x24]
mov rdx, rsi
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000129a
lea rdx, str.Error:_Unable_to_connect_to_server_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014b0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x140001422
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400012a7
mov rdx, qword [rbx]
xor r9d, r9d
mov r8d, dword [rbx + 0x10]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400012c5
lea rdx, str.Error:_Unable_to_send_data_to_server_n
jmp 0x14000127e
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1400012fc
lea rdx, str.Error:_Unable_to_receive_data_from_server_n
jmp 0x14000127e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
movsxd r8, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400016c0
nop
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x40]
cmp r8, 0xa
jne 0x14000139e
lea rdx, str.AUTHORIZED
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000139e
lea rdx, str.Authorization_successful_for_HWID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400014b0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140001376
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001830
lea rdx, [0x140001680]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov bl, 1
jmp 0x1400013e5
lea rdx, str.Authorization_failed_for_HWID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400014b0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400013bf
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001830
lea rdx, [0x140001680]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
cmp rbp, 0xf
jbe 0x14000141f
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001417
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001417
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14003920c
movzx eax, bl
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400391b0
mov rbx, qword [rsp + 0x490]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret