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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov rsi, r9
mov r14, r8
movzx r12d, byte [rsp + 0x128]
movzx ebp, byte [rsp + 0x120]
lock inc qword [0x1402b9ef0]
jle 0x14008e544
mov rbx, rdx
mov rdi, rcx
call fcn.14006e670
test rax, rax
jne 0x14008e061
lea rax, [0x14016a698]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
lea r9, [0x14016a0a0]
lea r8, [rsp + 0x48]
mov edx, 0x46
call fcn.140061e90
ud2
cmp byte [rax + 8], 0
jne 0x14008e5e9
inc qword [rax]
mov byte [rax + 8], 1
lea r15, str.called__Option::unwrap____on_a__None__value_rustc_7adc89b69b941afceadcf8609dd6b2999353e550library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x90], r15
lea rax, [0x14016ac50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0xb0], bpl
mov byte [rsp + 0xb1], r12b
lea rcx, [0x1402b9ed0]
call sub.KERNEL32.dll_AcquireSRWLockShared
movzx eax, byte [0x1402b9ed8]
cmp qword [0x1402b9ee0], 0
mov rax, qword [rbx + 0x20]
jne 0x14008e16d
mov rcx, rdi
call rax
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdx
test r12b, r12b
je 0x14008e1c5
mov byte [rsp + 0x37], 3
mov qword [rsp + 0xb8], rsi
mov rcx, rdi
call qword [rbx + 0x18]
movabs rcx, 0xc1a2c89ccd1e7bc1
xor rax, rcx
movabs rcx, 0xfdbc168100b1ef64
xor rdx, rcx
or rdx, rax
jne 0x14008e201
mov rax, rdi
add rax, 8
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
mov ecx, dword [0x1402bbdf0]
test ecx, ecx
jne 0x14008e2c7
lea rcx, [0x1402bbdd8]
call fcn.14006d9b0
mov ecx, eax
jmp 0x14008e2c9
mov rcx, rdi
call rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdx
mov rcx, qword [0x1402b9ee0]
mov rax, qword [0x1402b9ee8]
lea rdx, [rsp + 0x90]
call qword [rax + 0x28]
lea rcx, [0x1402b9ed0]
call sub.KERNEL32.dll_ReleaseSRWLockShared
call fcn.14006e670
test rax, rax
je 0x14008e036
mov byte [rax + 8], 0
test bpl, bpl
je 0x14008e236
call fcn.14008a4f0
ud2
call fcn.14006e670
test rax, rax
jne 0x14008e2b7
lea rax, [0x14016a698]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
lea r9, [0x14016a0a0]
lea r8, [rsp + 0x48]
mov edx, 0x46
call fcn.140061e90
jmp 0x14008e542
mov rcx, rdi
call qword [rbx + 0x18]
movabs rcx, 0xedfc91f3ff01b2c4
xor rax, rcx
movabs rcx, 0xc7b17f6be2f553be
xor rdx, rcx
or rdx, rax
jne 0x14008e33b
mov rax, rdi
add rax, 0x10
jmp 0x14008e136
mov dword [rsp + 0x80], 0
mov byte [rsp + 0x84], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
lea rdx, [0x14016a440]
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x48]
call fcn.1400616c0
mov rdx, qword [rsp + 0x40]
test al, al
je 0x14008e64d
test rdx, rdx
lea rcx, str.formatter_error
cmovne rcx, rdx
jmp 0x14008e65c
cmp qword [rax], 1
jbe 0x14008e324
mov byte [rsp + 0x37], 1
jmp 0x14008e0fe
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14008e2de
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14008e332
mov ecx, dword [0x1402bbdf0]
test ecx, ecx
jne 0x14008e2f8
lea rcx, [0x1402bbdd8]
call fcn.14006d9b0
mov ecx, eax
jmp 0x14008e2fa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14008e34c
mov rsi, rax
cmp rax, 1
jne 0x14008e3b4
mov ecx, 9
lea rax, [0x14016aae0]
xor esi, esi
jmp 0x14008e494
call fcn.14008a500
mov byte [rsp + 0x37], al
jmp 0x14008e0fe
add rdi, 0x10
jmp 0x14008e3e3
mov eax, 0xc
lea rcx, [0x14016aad4]
jmp 0x14008e13c
movzx eax, byte [0x1402b9eb0]
mov ecx, 0x18
mov edx, 8
call fcn.140060030
test rax, rax
jne 0x14008e37b
mov ecx, 8
mov edx, 0x18
call fcn.140060350
jmp 0x14008e542
mov rsi, rax
lea rax, [0x1402bbdd8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1402bbdf0]
test ecx, ecx
jne 0x14008e3aa
lea rcx, [0x1402bbdd8]
call fcn.14006d9b0
mov ecx, eax
jmp 0x14008e3ac
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x14008e3e3
test rcx, rcx
je 0x14008e3e3
lock dec qword [rcx]
jne 0x14008e3e3
call fcn.14006d960
mov rsi, qword [rdi]
test rsi, rsi
jne 0x14008e46c
movzx eax, byte [0x1402b9eb0]
mov ecx, 0x30
mov edx, 8
call fcn.140060030
test rax, rax
jne 0x14008e41e
mov ecx, 8
mov edx, 0x30
call fcn.140060350
jmp 0x14008e542
mov rsi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x18], 0
mov rax, qword [0x1402b9ef8]
nop
mov rcx, rax
inc rcx
je 0x14008e508
lock cmpxchg qword [0x1402b9ef8], rcx
jne 0x14008e440
mov qword [rsi + 0x10], rcx
mov byte [rsi + 0x28], 0
cmp qword [rdi], 0
jne 0x14008e50f
mov qword [rdi], rsi
lock inc qword [rsi]
jg 0x14008e476
ud2
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x14008e48d
mov ecx, 9
lea rax, [0x14016aae0]
jmp 0x14008e494
mov rcx, qword [rsi + 0x20]
dec rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x37]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x78], 0
mov byte [rsp + 0x7c], 0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call fcn.14008dc00
test rsi, rsi
je 0x14008e19b
lock dec qword [rsi]
jne 0x14008e19b
mov rcx, rsi
call fcn.14006d960
jmp 0x14008e19b
call fcn.14006ea60
jmp 0x14008e542
lea rax, str.reentrant_init
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rdx, str._rustc_7adc89b69b941afceadcf8609dd6b2999353e550librarycore_srccellonce.rs
lea rcx, [rsp + 0x48]
call fcn.140060720
ud2
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_7adc89b69b941afceadcf8609dd6b2999353e550library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x90], rax
lea rax, [0x14016ac50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0xb0], bpl
mov byte [rsp + 0xb1], r12b
mov dword [rsp + 0x80], 0
mov byte [rsp + 0x84], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x140062070]
mov qword [rsp + 0x40], rax
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_7adc89b69b941afceadcf8609dd6b2999353e550library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rcx, [rsp + 0x80]
jmp 0x14008e62d
mov dword [rsp + 0x90], 0
mov byte [rsp + 0x94], 0
lea rax, str.thread_panicked_while_processing_panic._aborting._n
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_7adc89b69b941afceadcf8609dd6b2999353e550library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x48]
call fcn.14006db20
test rax, rax
je 0x14008e644
mov rcx, rax
call fcn.14006d8c0
mov ecx, 7
int 0x29
ud2
test rdx, rdx
je 0x14008e65a
mov rcx, rdx
call fcn.14006d8c0
xor ecx, ecx
call fcn.14006d950
mov ecx, 7
int 0x29
ud2