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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor edi, edi
mov dword [rbp - 0x68], 1
xor r8d, r8d
mov qword [rbp - 0x60], rdi
lea rdx, [rbp - 0x68]
mov qword [rbp - 0x58], rdi
lea rcx, [0x140007790]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
je 0x14000143a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.No_foi_possvel_inicializar_o_WinSock__Err_
call fcn.140002210
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, [0x1400023f0]
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]
jmp 0x140001496
mov ebx, 2
xor r8d, r8d
mov ecx, ebx
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x1400014c3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.No_foi_possvel_criar_o_socket__Err_
mov ebx, eax
call fcn.140002210
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, [0x1400023f0]
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_WSACleanup]
mov eax, 1
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140002800
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x3039
mov word [rsp + 0x78], bx
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x7c]
mov ecx, ebx
lea rdx, str.127.0.0.1
mov word [rsp + 0x7a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x78]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000154d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.No_foi_possvel_conectar_ao_servidor__Err_
mov ebx, eax
call fcn.140002210
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, [0x1400023f0]
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 [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140001490
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], pe_nt_image_headers64
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp + 0x150]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140001575
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x150]
inc r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov ecx, 0x18
mov byte [rsp + 0x60], 1
call fcn.140002820
lea rcx, [rsp + 0x60]
mov r9, rax
lea r8, [0x140002720]
xor edx, edx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rax + 8], rcx
lea rcx, [0x140001800]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140001706
lea rax, [rsp + 0x68]
mov ecx, 0x20
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
call fcn.140002820
movups xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov r9, rax
movups xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea r8, [0x140002760]
movups xmmword [rax], xmm0
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
movups xmmword [rax + 0x10], xmm1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400016f6
cmp dword [rsp + 0x38], edi
je 0x1400016ea
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400016ea
xorps xmm0, xmm0
movabs rdi, 0x7ffffffdabf41bff
movdqa xmmword [rsp + 0x30], xmm0
movabs rsi, 0x2540be400
movabs rbx, 0x7fffffffffffffff
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400011c0
mov rax, qword [rsp + 0x30]
cmp rax, rdi
jge 0x1400016d9
lea rcx, [rax + rsi]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
call fcn.1400025a0
jmp 0x1400016b0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
call fcn.1400025a0
jmp 0x1400016b0
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x70], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3