Function at 0x1400011a0
Capabilities:
Connect socket
Convert ip address from string
Create thread
Initialize winsock library
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edi, edi
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov dword [rsp + 0x30], 0x14003c
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], 0x13003b
lea r8, [rsp + 0x38]
lea edx, [rdi + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
lea rdx, str.Initializing_Winsock...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
lea rdx, [0x1400017b0]
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 ecx, 0x202
lea rdx, [0x140005730]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000129f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Failed._Error_Code:
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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 eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140001850
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
mov esi, 2
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400058c8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400012d2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Could_not_create_socket._Error_Code:
jmp 0x14000124c
mov word [0x140005710], si
mov ecx, 0x22b8
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140005712], ax
lea r8, [0x140005714]
lea rdx, str.192.168.1.48
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x14000131d
lea rdx, str.Invalid_address__Address_not_supported.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
jmp 0x140001265
mov ecx, 8
call fcn.140001b0c
lea rcx, [0x140001020]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140001810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000155d
mov qword [rsp + 0x30], rdi
nop dword [rax + rax]
mov edi, 1
lea r8d, [rdi + 0xf]
lea rdx, [0x140005710]
mov rcx, qword [0x1400058c8]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x140001480
nop word [rax + rax]
mov rcx, qword [0x1400058c8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400058c8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000140a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, str.Could_not_create_socket._Error_Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, str.attempt
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
mov rdx, rdi
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str.____Connection_failed._Error_Code:
call fcn.1400015e0
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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]
inc rdi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140005710]
mov rcx, qword [0x1400058c8]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x1400013a0
lea rdx, str.Connected_to_server.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
lea rdx, [0x1400017b0]
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 byte [0x140005720], 1
movzx eax, byte [0x140005720]
test al, al
je 0x140001370
nop dword [rax]
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400014d0
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1400058c8]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x14000150e
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x140005720]
test al, al
jne 0x1400014c0
jmp 0x140001370
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, str.Send_failed._Error_Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015e0
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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, qword [0x1400058c8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov byte [0x140005720], 0
jmp 0x140001370
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3