Function at 0x14002fdf0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x970]
sub rsp, 0xa70
xor esi, esi
lea rdx, str.tsd_nominal_tsds_lock
xor r9d, r9d
mov dword [0x1403742f4], esi
xor r8d, r8d
lea rcx, [0x1403742a0]
call fcn.140031e70
test al, al
jne 0x1400301ee
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14057b280], eax
cmp eax, 0xffffffff
je 0x1400301ee
mov edx, dword [0x1403742f4]
lea r9, [0x1403742f8]
lea r8, [0x140030eb0]
mov qword [rsp + 0xa88], rdi
mov ecx, eax
mov qword [r9 + rdx*8], r8
inc edx
mov dword [0x1403742f4], edx
lea rdx, [0x14035b100]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140030213
mov qword [rsp + 0xa80], rbx
mov byte [0x140374290], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0xa80]
test rdi, rdi
jne 0x1400301be
mov ecx, 0xa80
call fcn.140020f00
mov rdi, rax
test rax, rax
je 0x140030201
xorps xmm0, xmm0
mov byte [rax], sil
xor eax, eax
mov word [rsp + 0x20], si
xor edx, edx
mov dword [rbp - 0x1e], eax
mov r8d, 0xb0
mov word [rbp - 0x1a], ax
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], al
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], 0x3e8
mov dword [rbp - 0x44], 0x3e8
mov word [rbp - 0x40], 0xffff
movups xmmword [rbp - 0x3e], xmm0
mov qword [rbp - 0x18], rsi
movups xmmword [rbp - 0x2e], xmm0
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
call fcn.1401e1df0
mov qword [rbp + 0xd0], 1
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 1
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xf0], 1
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], rsi
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], 1
mov qword [rbp + 0x138], rsi
mov qword [rbp + 0x140], 1
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], rsi
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], rsi
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], rsi
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], rsi
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], rsi
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], rsi
mov qword [rbp + 0x210], 1
xor eax, eax
mov qword [rbp + 0x218], rsi
xor edx, edx
mov dword [rbp + 0x251], eax
mov r8d, 0x6d8
mov word [rbp + 0x255], ax
lea rcx, [rbp + 0x280]
mov byte [rbp + 0x257], al
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], rsi
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], rsi
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x248], rsi
mov byte [rbp + 0x250], 6
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x260], rsi
mov qword [rbp + 0x268], rsi
mov qword [rbp + 0x270], rsi
mov qword [rbp + 0x278], rsi
call fcn.1401e1df0
lea rcx, [rdi + 8]
mov qword [rbp + 0x958], rsi
lea rdx, [rsp + 0x20]
mov byte [rbp + 0x960], sil
mov r8d, 0xa48
call fcn.1401e1740
mov ecx, dword [0x14057b280]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140030213
lea rax, [rdi + 8]
cmp byte [rax + 0x330], sil
je 0x1400301d5
xor edx, edx
mov rcx, rax
call fcn.140030fa0
mov rdi, qword [rsp + 0xa88]
mov rsi, qword [rsp + 0xa90]
add rsp, 0xa70
pop rbp
ret
mov rsi, qword [rsp + 0xa90]
xor eax, eax
add rsp, 0xa70
pop rbp
ret
lea rcx, str._jemalloc_:_Error_allocating_TSD_n
call fcn.14002ee10
call fcn.1401f5dec
int3
lea rcx, str._jemalloc_:_Error_setting_TSD_n
call fcn.14002ee10
call fcn.1401f5dec
int3