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

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x41bc2d
mov byte [rsp + 0x37], 0
mov rax, qword [0x00557088]
cmp rax, 3
jne 0x41bbd9
cmp byte [rsp + 0x37], 0
jne 0x41bbee
mov ecx, dword [0x0044e0d0]
test ecx, ecx
je 0x41bbf4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41ba1d
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x41bab7
mov ecx, dword [0x0044e0d0]
test ecx, ecx
je 0x41bc07
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x41ba69
mov rsi, rax
cmp rax, 1
jne 0x41bab1
lea rax, [0x0054e978]
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, dbg.drop_in_place____
lea r8, [rsp + 0x38]
mov edx, 0x46
call dbg.unwrap_failed
movzx eax, byte [0x00557030]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x41bc4c
mov rsi, rax
lea rax, dbg.destroy_value_u8_
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x0044e0d0]
test ecx, ecx
je 0x41bc1a
dec ecx
mov rdx, rsi
call fcn.0044b24c
mov word [rsi + 8], 1
add rsi, 9
mov rax, qword [0x00557050]
cmp rax, rsi
jne 0x41bae9
mov eax, dword [0x00557080]
inc eax
jne 0x41bb09
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
lea r8, [0x0054ede8]
mov edx, 0x26
call dbg.expect_failed
lea rcx, [0x00557048]
call sub.KERNEL32.dll_TryAcquireSRWLockExclusive
test al, al
je 0x41bbee
mov qword [0x00557050], rsi
mov eax, 1
mov dword [0x00557080], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x55], 0
mov dword [rsp + 0x51], 0
cmp qword [0x00557058], 0
jne 0x41bc45
mov qword [0x00557058], 0xffffffffffffffff
cmp byte [0x00557078], 0
jne 0x41bb7e
lea rcx, [0x00557060]
call dbg.flush_buf<std::io::stdio::StdoutRaw>
mov qword [rsp + 0x58], rax
test rax, rax
je 0x41bb7e
lea rcx, [rsp + 0x58]
call dbg.drop_in_place<std::io::error::Error>
cmp qword [0x00557060], 0
je 0x41bb99
mov rcx, qword [0x00557068]
mov edx, 1
call sym.__rust_dealloc
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x00557070], xmm1
movups xmmword [0x00557060], xmm0
inc qword [0x00557058]
dec dword [0x00557080]
jne 0x41bbee
mov qword [0x00557050], 0
lea rcx, [0x00557048]
call fcn.0044b2bc
jmp 0x41bbee
lea rcx, [rsp + 0x37]
call sym.std::sync::once_lock::OnceLock_T_::initialize::hb02039178d6d93e7
cmp byte [rsp + 0x37], 0
je 0x41b9f5
add rsp, 0x60
pop rsi
ret
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
jmp 0x41ba05
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
jmp 0x41ba2d
lea rcx, dbg.destroy_value_u8_
call dbg.init
mov ecx, eax
jmp 0x41baa9
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_89e2160c4ca5808657ed55392620ed1dbbce78d1library_alloc_srccollections_btree_navigate.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
call dbg.panic_already_borrowed
ud2
mov ecx, 8
mov edx, 0x10
call dbg.handle_alloc_error
mov rsi, rax
cmp qword [0x00557060], 0
je 0x41bc79
mov rcx, qword [0x00557068]
mov edx, 1
call sym.__rust_dealloc
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x00557070], xmm1
movups xmmword [0x00557060], xmm0
inc qword [0x00557058]
jmp 0x41bcd2
dec dword [0x00557080]
jne 0x41bcf1
mov qword [0x00557050], 0
lea rcx, [0x00557048]
call fcn.0044b2bc
mov rcx, rsi
call dbg._Unwind_Resume
cmp qword [rsp + 0x38], 0
je 0x41bd10
mov rcx, qword [rsp + 0x40]
mov edx, 1
call sym.__rust_dealloc
call dbg.panic_in_cleanup
int3