Function at 0x140041e1e
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
cmp byte [rcx + 0x19], 0
je 0x140041e44
mov byte [rbp + 0x27], 3
jmp 0x140041e5d
call sym.std::panicking::panic_count::get_count::h140d89ceebd8a452
cmp rax, 1
jbe 0x140041e55
mov byte [rbp + 0x27], 1
jmp 0x140041e5d
call sym.std::panic::get_backtrace_style::h5d3a6caa0696203a
mov byte [rbp + 0x27], al
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x10], rax
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call sym.std::panicking::payload_as_str::h5750c8415bb8986c
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov ecx, dword [0x1401251b0]
test ecx, ecx
je 0x140042026
dec ecx
call fcn.14009e504
cmp rax, 3
jb 0x140041eb8
lea rdx, [0x140125048]
cmp rax, rdx
je 0x140041ecc
lock inc qword [rax - 0x10]
jle 0x140042046
add rax, 0xfffffffffffffff0
push 1
pop r8
mov rdx, rax
jmp 0x140041ecf
mov qword [rbp + 8], 2
push 9
pop rax
lea rcx, str._unnamed_thread__panicked_at__n
jmp 0x140041ef4
xor r8d, r8d
lea rcx, [rbp + 8]
mov qword [rcx], r8
mov qword [rcx + 8], rdx
call sym.std::thread::Thread::name::he5db9ed5e6a56ca4
test rax, rax
lea rcx, str._unnamed_thread__panicked_at__n
cmovne rcx, rax
push 9
pop rax
cmovne rax, rdx
lea rdx, [rbp - 0x60]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rbp - 0x50], rdx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x27]
mov qword [rbp - 0x38], rax
xor ecx, ecx
call sym.std::io::stdio::try_set_output_capture::hac8ca6c7b581a46b
mov rbx, rax
mov rdi, rdx
lea rsi, [rbp]
mov qword [rsi - 8], rax
mov qword [rsi], rdx
test rax, rax
sete al
test rdx, rdx
setne r15b
and r15b, al
je 0x140041f79
mov qword [rbp + 0x18], rdi
lea rbx, [rdi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x140042039
mov rax, qword [0x140125130]
shl rax, 1
test rax, rax
je 0x140041f96
call sym.std::panicking::panic_count::is_zero_slow_path::h3b4484f7469b6e13
mov r14d, eax
xor r14b, 1
jmp 0x140041f99
lea rdx, [rbp - 0x20]
and dword [rdx], 0
mov byte [rdx + 4], 0
lea r8, [sym.std::io::Write::write_fmt::h069e2b6c84d9098a]
lea rcx, [rbp - 0x50]
call sym.std::panicking::default_hook::__u7b__u7b_closure_u7d__u7d_::hb80b3593167d02d2
jmp 0x140041fd1
xor r14d, r14d
mov al, byte [rdi + 0x11]
lea rdx, [rdi + 0x18]
lea r8, [sym.std::io::Write::write_fmt::hf7e98441f848442d]
lea rcx, [rbp - 0x50]
call sym.std::panicking::default_hook::__u7b__u7b_closure_u7d__u7d_::hb80b3593167d02d2
mov rcx, rbx
mov edx, r14d
call sym.core::ptr::drop_in_place_std::io::stdio::StdinLock_::h7f3d274a8c0bb00d
mov rcx, qword [rbp + 0x18]
call sym.std::io::stdio::try_set_output_capture::hac8ca6c7b581a46b
test rax, rax
je 0x140042004
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp]
lea rcx, [rbp + 8]
call sym.core::ptr::drop_in_place_core::option::Option_std::thread::Thread__::ha98162375e03e619
test rdi, rdi
sete al
or al, bl
or r15b, al
test r15b, 1
jne 0x140041ff3
mov rcx, rsi
call sym._ZN4core3ptr101drop_in_place_LT_alloc..sync..Arc_LT_std..sync..mutex..Mutex_LT_alloc..vec..Vec_LT_u8_GT__GT__GT__GT_17h00372c4
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x20], 1
test rdx, rdx
je 0x140041fc9
lock dec qword [rdx]
jne 0x140041fc9
lea rcx, [rbp - 0x18]
call sym.alloc::sync::Arc_T_A_::drop_slow::h38b62a96280e8554
jmp 0x140041fc9
lea rcx, [0x140125198]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h5f4686820bf88fde
mov ecx, eax
jmp 0x140041e89
mov rcx, rbx
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::h37c35293098c5639
jmp 0x140041f5c
ud2