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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xbf0]
sub rsp, 0xcf0
mov rax, qword [0x1403622b0]
xor rax, rsp
mov qword [rbp + 0xbe8], rax
lea rax, [0x14032c180]
mov r15d, edx
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rcx, str.__sec_
mov dword [rsp + 0x54], reloc.WS2_32.dll_setsockopt
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 9
mov qword [rbp + 0xa10], rax
xor r12d, r12d
lea rax, [rbp + 0x9f0]
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x68], rax
mov r14, r8
lea rax, str.n_lock_ops
mov dword [rbp + 0x9f0], 1
mov qword [rbp + 0xa00], rax
lea rax, [rbp + 0x9f0]
mov qword [rbp + 0xa38], rax
lea rax, [rbp + 0xa18]
mov qword [rbp + 0xa08], rax
lea rax, [rbp + 0xa18]
mov qword [rbp + 0xa60], rax
lea rax, [rbp + 0xa40]
mov qword [rbp + 0xa30], rax
lea rax, str.n_waiting
mov qword [rbp + 0xa50], rax
lea rax, [rbp + 0xa40]
mov qword [rbp + 0xa88], rax
lea rax, [rbp + 0xa68]
mov qword [rbp + 0xa58], rax
lea rax, [rbp + 0xa68]
mov qword [rbp + 0xab0], rax
lea rax, [rbp + 0xa90]
mov qword [rbp + 0xa80], rax
lea rax, str.n_spin_acq
mov qword [rbp + 0xaa0], rax
lea rax, [rbp + 0xa90]
mov qword [rbp + 0xad8], rax
lea rax, [rbp + 0xab8]
mov qword [rbp + 0xaa8], rax
lea rax, [rbp + 0xab8]
mov qword [rbp + 0xb00], rax
lea rax, [rbp + 0xae0]
mov qword [rbp + 0xad0], rax
lea rax, str.n_owner_switch
mov qword [rbp + 0xaf0], rax
lea rax, [rbp + 0xae0]
mov qword [rbp + 0xb28], rax
lea rax, [rbp + 0xb08]
mov qword [rbp + 0xaf8], rax
lea rax, [rbp + 0xb08]
mov qword [rbp + 0xb50], rax
lea rax, [rbp + 0xb30]
mov dword [rbp + 0x9f4], reloc.WS2_32.dll_recv
mov dword [rbp + 0x9f8], 9
mov dword [rbp + 0xa18], 1
mov dword [rbp + 0xa1c], 8
mov dword [rbp + 0xa20], 9
mov qword [rbp + 0xa28], rcx
mov dword [rbp + 0xa40], 1
mov dword [rbp + 0xa44], reloc.WS2_32.dll_recv
mov dword [rbp + 0xa48], 9
mov dword [rbp + 0xa68], 1
mov dword [rbp + 0xa6c], 8
mov dword [rbp + 0xa70], 9
mov qword [rbp + 0xa78], rcx
mov dword [rbp + 0xa90], 1
mov dword [rbp + 0xa94], reloc.WS2_32.dll_recv
mov dword [rbp + 0xa98], 9
mov dword [rbp + 0xab8], 1
mov dword [rbp + 0xabc], 8
mov dword [rbp + 0xac0], 9
mov qword [rbp + 0xac8], rcx
mov dword [rbp + 0xae0], 1
mov dword [rbp + 0xae4], reloc.WS2_32.dll_recv
mov dword [rbp + 0xae8], 9
mov dword [rbp + 0xb08], 1
mov dword [rbp + 0xb0c], 8
mov dword [rbp + 0xb10], 9
mov qword [rbp + 0xb18], rcx
mov qword [rbp + 0xb20], rax
lea rdx, str.mutexes
lea rax, str.total_wait_ns
mov qword [rbp + 0xb68], rcx
mov qword [rbp + 0xb40], rax
mov rcx, rbx
lea rax, [rbp + 0xb30]
mov dword [rbp + 0xb30], 1
mov qword [rbp + 0xb78], rax
lea rax, [rbp + 0xb58]
mov qword [rbp + 0xb48], rax
lea rax, [rbp + 0xb58]
mov qword [rbp + 0xba0], rax
lea rax, [rbp + 0xb80]
mov qword [rbp + 0xb70], rax
lea rax, str.max_wait_ns
mov qword [rbp + 0xb90], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0xb80]
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x78]
mov qword [rbp + 0xb98], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, str.max_n_thds
mov qword [rbp - 0x78], rax
mov dword [rbp + 0xb34], reloc.WS2_32.dll_recv
mov dword [rbp + 0xb38], 9
mov dword [rbp + 0xb58], 1
mov dword [rbp + 0xb60], 9
mov dword [rbp + 0xb80], 1
mov dword [rbp + 0xb84], reloc.WS2_32.dll_recv
mov dword [rbp + 0xb88], 9
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], ntohs
mov dword [rbp - 0x80], 9
mov dword [rbp + 0xb5c], 0xa
call fcn.1400397a0
mov rcx, rbx
call fcn.140039830
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14003a2f0
mov qword [rsp + 0x40], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
jne 0x14004e466
mov ecx, 0xa50
call fcn.140030980
mov rsi, rax
test rax, rax
je 0x14004e94d
xorps xmm0, xmm0
mov byte [rax], r12b
xor eax, eax
mov word [rbp - 0x60], r12w
xor edx, edx
mov dword [rbp + 0x62], eax
mov r8d, 0xb0
mov word [rbp + 0x66], ax
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], al
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x38], 0x3e8
mov dword [rbp + 0x3c], 0x3e8
mov word [rbp + 0x40], 0xffff
movups xmmword [rbp + 0x42], xmm0
mov qword [rbp + 0x68], r12
movups xmmword [rbp + 0x52], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], r12
call fcn.1401e1df0
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], r12
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], r12
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], r12
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], r12
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], r12
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], r12
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], r12
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], r12
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], r12
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], r12
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x248], r12
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], r12
mov qword [rbp + 0x260], 1
mov qword [rbp + 0x268], r12
mov qword [rbp + 0x270], 1
mov qword [rbp + 0x278], r12
mov qword [rbp + 0x280], 1
mov qword [rbp + 0x288], r12
mov qword [rbp + 0x290], 1
xor eax, eax
mov qword [rbp + 0x298], r12
xor edx, edx
mov dword [rbp + 0x2d1], eax
mov r8d, 0x6d8
mov word [rbp + 0x2d5], ax
lea rcx, [rbp + 0x300]
mov byte [rbp + 0x2d7], al
mov qword [rbp + 0x2a0], 1
mov qword [rbp + 0x2a8], r12
mov qword [rbp + 0x2b0], 1
mov qword [rbp + 0x2b8], r12
mov qword [rbp + 0x2c0], 1
mov qword [rbp + 0x2c8], r12
mov byte [rbp + 0x2d0], 6
mov qword [rbp + 0x2d8], r12
mov qword [rbp + 0x2e0], r12
mov qword [rbp + 0x2e8], r12
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2f8], r12
call fcn.1401e1df0
lea rcx, [rsi + 8]
mov qword [rbp + 0x9d8], r12
lea rdx, [rbp - 0x60]
mov byte [rbp + 0x9e0], r12b
mov r8d, 0xa48
call fcn.1401e1740
mov ecx, dword [0x14057b280]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14004e95f
lea rax, [rsi + 8]
cmp byte [rax + 0x330], r12b
je 0x14004e47d
xor edx, edx
mov rcx, rax
call fcn.140030fa0
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
lea r9, str.stats.arenas
mov rcx, rax
lea rdx, [rbp + 0xbb0]
call fcn.140079350
test eax, eax
jne 0x14004e971
mov qword [rbp + 0xbc0], r15
mov qword [rsp + 0x40], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
jne 0x14004e7e4
mov ecx, 0xa50
call fcn.140030980
mov rsi, rax
test rax, rax
je 0x14004e983
xorps xmm0, xmm0
mov byte [rax], r12b
xor eax, eax
mov word [rbp - 0x60], r12w
xor edx, edx
mov dword [rbp + 0x62], eax
mov r8d, 0xb0
mov word [rbp + 0x66], ax
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], al
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x38], 0x3e8
mov dword [rbp + 0x3c], 0x3e8
mov word [rbp + 0x40], 0xffff
movups xmmword [rbp + 0x42], xmm0
mov qword [rbp + 0x68], r12
movups xmmword [rbp + 0x52], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], r12
call fcn.1401e1df0
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], r12
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], r12
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], r12
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], r12
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], r12
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], r12
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], r12
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], r12
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], r12
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], r12
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x248], r12
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], r12
mov qword [rbp + 0x260], 1
mov qword [rbp + 0x268], r12
mov qword [rbp + 0x270], 1
mov qword [rbp + 0x278], r12
mov qword [rbp + 0x280], 1
mov qword [rbp + 0x288], r12
mov qword [rbp + 0x290], 1
xor eax, eax
mov qword [rbp + 0x298], r12
xor edx, edx
mov dword [rbp + 0x2d1], eax
mov r8d, 0x6d8
mov word [rbp + 0x2d5], ax
lea rcx, [rbp + 0x300]
mov byte [rbp + 0x2d7], al
mov qword [rbp + 0x2a0], 1
mov qword [rbp + 0x2a8], r12
mov qword [rbp + 0x2b0], 1
mov qword [rbp + 0x2b8], r12
mov qword [rbp + 0x2c0], 1
mov qword [rbp + 0x2c8], r12
mov byte [rbp + 0x2d0], 6
mov qword [rbp + 0x2d8], r12
mov qword [rbp + 0x2e0], r12
mov qword [rbp + 0x2e8], r12
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2f8], r12
call fcn.1401e1df0
lea rcx, [rsi + 8]
mov qword [rbp + 0x9d8], r12
lea rdx, [rbp - 0x60]
mov byte [rbp + 0x9e0], r12b
mov r8d, 0xa48
call fcn.1401e1740
mov ecx, dword [0x14057b280]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14004e995
lea rax, [rsi + 8]
cmp byte [rax + 0x330], r12b
je 0x14004e7fb
xor edx, edx
mov rcx, rax
call fcn.140030fa0
lea rcx, [rsp + 0x40]
mov r8d, 3
mov qword [rsp + 0x20], rcx
lea r9, str.mutexes
mov rcx, rax
lea rdx, [rbp + 0xbb0]
call fcn.140079350
test eax, eax
jne 0x14004e9a7
lea rsi, str.dx__
lea r15, [0x14035bc60]
nop word [rax + rax]
mov rdi, qword [rsi]
mov rcx, rbx
mov rdx, rdi
call fcn.1400397a0
mov rcx, rbx
call fcn.140039830
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x9f0]
mov r8, rdi
mov edx, 4
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xbb0]
call fcn.14003b120
lea r9, [rsp + 0x78]
mov rcx, rbx
lea r8, [rbp + 0x9f0]
lea rdx, [rsp + 0x48]
call fcn.14003a6a0
mov eax, dword [rbx]
cmp eax, 1
ja 0x14004e8dc
dec dword [rbx + 0x18]
mov byte [rbx + 0x1c], 1
cmp eax, 1
je 0x14004e8cd
lea rdx, [0x1402264b0]
mov rcx, rbx
call fcn.140039f20
mov rcx, rbx
call fcn.140039670
lea rdx, [0x14022796c]
mov rcx, rbx
call fcn.140039f20
add rsi, 8
cmp rsi, r15
jl 0x14004e840
mov eax, dword [rbx]
cmp eax, 1
ja 0x14004e922
dec dword [rbx + 0x18]
mov byte [rbx + 0x1c], 1
cmp eax, 1
je 0x14004e913
lea rdx, [0x1402264b0]
mov rcx, rbx
call fcn.140039f20
mov rcx, rbx
call fcn.140039670
lea rdx, [0x14022796c]
mov rcx, rbx
call fcn.140039f20
mov rcx, qword [rbp + 0xbe8]
xor rcx, rsp
call fcn.1401df0b0
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
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
lea rcx, str._jemalloc_:_Failure_in_ctl_mibnametomib___n
call fcn.14002ee10
call fcn.1401f5dec
int3
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
lea rcx, str._jemalloc_:_Failure_in_ctl_mibnametomib___n
call fcn.14002ee10
call fcn.1401f5dec
int3