Function at 0x14007aa90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x10
lea r8, [rcx + 0x30]
lea rdx, [rcx + 0x20]
add rsp, 0x28
jmp 0x14007aa90
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rbp - 0x39], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x14007aadf
lock inc dword [rdx + 8]
mov rdx, qword [r8 + 8]
mov rax, qword [r8]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdx
mov rax, qword [r8 + 0x10]
mov qword [rbp - 0x19], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007ab22
nop dword [rax]
cmp qword [rax], rbx
je 0x14007ac7b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14007ab10
lea rax, [rbp - 0x49]
mov qword [rbp + 0x1f], rax
lea rdx, [rbp - 0x49]
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14007ae40]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbx + 0x48], xmm1
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x58], rax
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov rax, qword [rbp - 0x19]
mov qword [rbx + 0x68], rax
mov qword [rbp - 0x19], r14
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x27], r14
test al, al
je 0x14007ac29
mov rax, qword [rdi]
mov qword [rbp - 0x11], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rbp + 7], rax
mov rax, qword [rdi]
mov qword [rbp + 0xf], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rbp + 0x37]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14007ae40
nop
lea rcx, [rbp + 7]
call fcn.14001c760
nop
mov rdx, qword [rbp - 1]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x14007ac5e
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007ac5e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14007ac5e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14007ab22
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.14007bf50
nop
jmp 0x14007ac29