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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x288], rax
mov rbx, rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400ad83f
lock inc dword [rax + 8]
mov rax, qword [rdx]
mov qword [rbp - 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x78], rax
movdqa xmmword [rbp - 0x70], xmm0
mov rax, qword [rdx + 0x18]
test rax, rax
je 0x1400ad860
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x70], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x68], rax
mov eax, dword [rdx + 0x20]
mov dword [rbp - 0x60], eax
add rdx, 0x28
lea rcx, [rbp - 0x58]
call fcn.1400b6900
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ad8b2
nop
cmp qword [rax], rbx
je 0x1400adab5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ad8a0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x80]
mov ecx, 0x330
call fcn.140062870
mov rbx, rax
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14013cd10]
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
lea rcx, [rbx + 0x38]
mov qword [rsp + 0x20], rcx
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
mov rax, qword [rbp - 0x78]
mov qword [rcx + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
mov rax, qword [rbp - 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp - 0x68]
mov qword [rcx + 0x18], rax
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rcx + 0x20], eax
add rcx, 0x28
lea rdx, [rbp - 0x58]
call fcn.1400b6880
nop
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140156110
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
test al, al
je 0x1400ad9ec
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14013cd10
nop
lea rcx, [rsp + 0x58]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x38]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x20]
call fcn.1400c1c60
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1400ada2c
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ada2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400ada2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1400ada5e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ada5e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400ada5e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400ada8e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400ada8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400ada8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.1402806f0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400ad8b2
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14009b090
nop
nop
jmp 0x1400ad9ec