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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14006d018]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov edi, r8d
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000c6ac
mov rdx, qword [rdx]
lea r8, [rcx + 0x8009c]
mov esi, 2
mov ecx, esi
call qword [sym.imp.WS2_32.dll_inet_pton]
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [r15 + 0x8009a], ax
mov word [r15 + 0x80098], si
mov qword [rsp + 0x60], 0x11170
xor r12d, r12d
mov ecx, 0x202
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000c739
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000c732
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000c72d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c9d7
mov rcx, r8
call fcn.14001a344
xor al, al
jmp 0x14000c988
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [r15 + 0x80090], rax
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x60]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [r15 + 0x80098]
mov rcx, qword [r15 + 0x80090]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14000c7a0
mov rcx, qword [r15 + 0x80090]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14000c6f8
mov byte [r15], 1
mov rcx, r15
call fcn.14000de40
mov rcx, r15
call fcn.14000e320
mov ecx, 8
call fcn.14001a34c
lea rcx, [0x14000ca30]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140016770]
xor edx, edx
xor ecx, ecx
call fcn.1400415a0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000c9dd
cmp dword [rsp + 0x58], 0
je 0x14000c9ed
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.14001923c
test eax, eax
jne 0x14000c9f8
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [r15 + 0x80018]
call fcn.140017270
mov ecx, 8
call fcn.14001a34c
lea rcx, [0x14000cbf0]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140016770]
xor edx, edx
xor ecx, ecx
call fcn.1400415a0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000ca00
cmp dword [rsp + 0x48], 0
je 0x14000ca10
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.14001923c
test eax, eax
jne 0x14000ca1b
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov ecx, r12d
mov rax, r12
mov edx, 0x53
lea r8, [0x14006dc60]
cmp byte [rax + r8], 0
je 0x14000c8dc
nop dword [rax]
inc ecx
inc rax
cmp byte [rax + r8], 0
jne 0x14000c8d0
inc ecx
inc rax
sub rdx, 1
jne 0x14000c8c6
movsxd r14, ecx
add r14, r8
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r14 + rdi], 0
jne 0x14000c8f4
mov esi, r12d
test edi, edi
je 0x14000c93a
nop word [rax + rax]
mov r8d, edi
sub r8d, esi
mov edx, esi
add rdx, r14
xor r9d, r9d
mov rcx, qword [r15 + 0x80090]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x14000c9b8
add esi, eax
cmp esi, edi
jb 0x14000c910
cmp dword [rsp + 0x48], 0
jne 0x14000c9cb
cmp dword [rsp + 0x58], 0
jne 0x14000c9d1
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000c986
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000c981
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c9d7
mov rcx, r8
call fcn.14001a344
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], r12
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14001a320
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsp + 0x48], 0
jne 0x14000c9cb
cmp dword [rsp + 0x58], 0
jne 0x14000c9d1
jmp 0x14000c6f8
call fcn.14003dd80
nop
call fcn.14003dd80
nop
call fcn.14003af50
nop
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.1400191ec
nop
mov ecx, 1
call fcn.1400191ec
int3
mov ecx, eax
call fcn.1400191b0
nop
mov dword [rsp + 0x48], r12d
mov ecx, 6
call fcn.1400191ec
nop
mov ecx, 1
call fcn.1400191ec
int3
mov ecx, eax
call fcn.1400191b0
int3