Function at 0x14000ce40
Capabilities:
Get thread local storage value
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4a0
mov rax, qword [0x1400f3680]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov dword [rsp + 0x44], r9d
mov rbx, r8
mov r12, rdx
mov rbp, rcx
mov r15, qword [rsp + 0x500]
mov r13, qword [rsp + 0x508]
mov qword [rsp + 0x48], r15
mov ecx, dword [0x1400fd308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
test rax, rax
je 0x14000cea5
mov rdx, qword [rax + 8]
jmp 0x14000cea8
mov rdx, rsi
mov r9d, 8
mov r8d, 0x1e8
movzx ecx, byte [rsp + 0x40]
call fcn.14000c9e0
mov rdi, rax
mov rax, qword [r12 + 0x18]
xor r8d, r8d
mov r14d, r8d
mov ecx, r8d
test rax, rax
je 0x14000cee0
mov rcx, qword [r12 + 0x10]
mov r14, rax
lock inc dword [rax + 0xc]
mov qword [rdi + 0x20], r8
lea rax, [0x140026030]
mov qword [rdi + 0x28], rax
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], r8
mov dword [rdi + 0x30], r8d
mov qword [rdi + 0x38], r8
mov qword [rdi + 0x40], r8
test r14, r14
je 0x14000cf1c
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x40], r14
lock inc dword [r14 + 0xc]
lea rcx, [rdi + 0x48]
mov rax, rbx
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14000cf30
mov rax, qword [rax]
mov qword [rcx], rax
mov rax, qword [r15 + 8]
mov qword [rdi + 0x158], rax
mov rdx, qword [r15 + 0x20]
mov qword [r15 + 0x20], r8
mov rcx, qword [r15 + 0x18]
mov qword [r15 + 0x18], r8
mov rax, qword [r15 + 0x10]
mov qword [r15 + 0x10], r8
mov qword [rdi + 0x160], rax
mov qword [rdi + 0x168], rcx
mov qword [rdi + 0x170], rdx
mov rax, qword [r15 + 0x28]
mov qword [rdi + 0x178], rax
mov rax, qword [r15 + 0x30]
mov qword [rdi + 0x180], rax
mov rax, qword [r15 + 0x38]
mov qword [rdi + 0x188], rax
mov rax, qword [r15 + 0x40]
mov qword [rdi + 0x190], rax
mov eax, dword [r15 + 0x48]
mov dword [rdi + 0x198], eax
mov qword [rdi + 0x1a0], r8
mov qword [rdi + 0x1a8], r8
mov rax, qword [r15 + 0x50]
mov qword [rdi + 0x1a0], rax
mov rax, qword [r15 + 0x58]
mov qword [rdi + 0x1a8], rax
mov qword [r15 + 0x50], r8
mov qword [r15 + 0x58], r8
lea rcx, [rdi + 0x1b0]
mov r9, r13
xor edx, edx
call fcn.140013c10
test r14, r14
je 0x14000d051
mov eax, 0xffffffff
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x14000d051
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
xor esi, esi
mov r8d, esi
mov qword [rsp + 0x480], rsi
mov ecx, esi
mov qword [rsp + 0x488], rcx
mov rdx, qword [rbx + 0x100]
shl rdx, 4
add rdx, rbx
cmp rbx, rdx
je 0x14000d0d6
nop dword [rax + rax]
cmp r8, 0x40
jae 0x14000d0d6
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
add r8, r8
movq qword [rsp + r8*8 + 0x88], xmm0
mov rax, qword [rbx + 8]
mov dword [rsp + r8*8 + 0x80], eax
mov rcx, qword [rsp + 0x488]
add rcx, rax
mov qword [rsp + 0x488], rcx
add rbx, 0x10
mov r8, qword [rsp + 0x480]
inc r8
mov qword [rsp + 0x480], r8
cmp rbx, rdx
jne 0x14000d080
test byte [r12 + 8], 0x10
je 0x14000d102
test rcx, rcx
jne 0x14000d102
mov rax, qword [rbp + 8]
lock inc dword [rax + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp + 8]
call fcn.140030380
jmp 0x14000d196
mov rax, qword [rbp + 8]
lock inc dword [rax + 0x30]
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
jne 0x14000d12b
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rbp + 8]
call fcn.140030380
jmp 0x14000d196
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x274d
cmp eax, 0x4d2
cmove eax, ecx
test ebx, ebx
je 0x14000d18a
cmp eax, 0x3e5
je 0x14000d18a
mov r9d, dword [rsp + 0x70]
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rbp + 8]
call fcn.140030380
jmp 0x14000d196
mov rdx, rdi
mov rcx, qword [rbp + 8]
call fcn.140030650
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x48]
call fcn.140034510
nop
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140097850
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret