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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xa0], r8
mov byte [rsp + 0x2f], dl
mov rsi, rcx
mov rax, qword [rcx]
lea r13, [0x1400cc088]
xorps xmm6, xmm6
movaps xmm7, xmmword [0x1400cd270]
xor r12d, r12d
lea rbp, [0x140120b09]
jmp 0x14009222e
cmp byte [rsp + 0x2f], 0
je 0x140092833
mov rax, r14
mov ecx, 2
lock cmpxchg qword [rsi], rcx
je 0x1400926c8
mov r14, rax
test rax, rax
je 0x14009221b
cmp r14, 1
je 0x140092210
cmp r14, 3
je 0x1400926ff
mov eax, r14d
and eax, 3
cmp eax, 2
je 0x14009226f
jmp 0x140092818
mov eax, r14d
and eax, 3
cmp eax, 2
jne 0x1400926c0
mov rcx, qword [0x1400cc088]
test rcx, rcx
jne 0x140092286
mov rcx, r13
call fcn.140092980
mov rcx, rax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400922b0
mov r15, rax
cmp qword [rax], 0
je 0x1400922b0
add r15, 8
jmp 0x140092350
mov rcx, qword [0x1400cc088]
test rcx, rcx
jne 0x1400922c7
mov rcx, r13
call fcn.140092980
mov rcx, rax
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x1400922e0
mov rdi, rax
cmp rax, 1
jne 0x140092325
jmp 0x1400927b9
mov ecx, 0x20
mov edx, 8
call fcn.140009b20
test rax, rax
je 0x1400927a8
mov rdi, rax
mov qword [rax], 0
mov qword [rax + 0x18], r13
mov rcx, qword [0x1400cc088]
test rcx, rcx
jne 0x14009231d
mov rcx, r13
call fcn.140092980
mov rcx, rax
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
lea r15, [rdi + 8]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi], 0
mov qword [rdi], 1
movups xmmword [rdi + 8], xmm6
je 0x140092350
test rcx, rcx
je 0x140092350
lock dec qword [rcx]
jne 0x140092350
call fcn.140092b20
nop
cmp qword [r15], 0
jne 0x14009273b
mov qword [r15], 0xffffffffffffffff
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x1400923d3
mov qword [rsp + 0x58], 0
mov ecx, 0x30
mov edx, 8
call fcn.140009b20
test rax, rax
je 0x140092766
mov rcx, rax
movups xmmword [rax], xmm7
mov qword [rsp + 0x88], rax
mov qword [rax + 0x10], 0
mov rax, qword [0x14015b0d8]
nop dword [rax + rax]
mov rdx, rax
inc rdx
je 0x140092723
lock cmpxchg qword [0x14015b0d8], rdx
jne 0x1400923b0
mov qword [rcx + 0x20], rdx
mov byte [rcx + 0x28], 0
mov qword [r15 + 8], rcx
lock inc qword [rcx]
jle 0x140092737
inc qword [r15]
mov rax, r14
and rax, 0xfffffffffffffffc
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x48], rax
mov rax, r14
lea rcx, [rsp + 0x42]
lock cmpxchg qword [rsi], rcx
je 0x140092685
mov r14, rax
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140092260
lock dec qword [rax]
jne 0x140092260
mov rcx, qword [rsp + 0x40]
call fcn.140092b20
jmp 0x140092260
mov rax, qword [0x1400cc088]
test rax, rax
jne 0x140092454
mov rcx, r13
call fcn.140092980
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140092480
mov rbx, rax
cmp qword [rax], 0
je 0x140092480
add rbx, 8
jmp 0x140092520
mov rax, qword [0x1400cc088]
test rax, rax
jne 0x140092494
mov rcx, r13
call fcn.140092980
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x1400924b0
mov rdi, rax
cmp rax, 1
jne 0x1400924f4
jmp 0x1400927fb
mov ecx, 0x20
mov edx, 8
call fcn.140009b20
test rax, rax
je 0x1400927e7
mov rdi, rax
mov qword [rax], 0
mov qword [rax + 0x18], r13
mov rax, qword [0x1400cc088]
test rax, rax
jne 0x1400924ea
mov rcx, r13
call fcn.140092980
mov ecx, eax
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
lea rbx, [rdi + 8]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi], 0
mov qword [rdi], 1
movups xmmword [rdi + 8], xmm6
je 0x140092520
test rcx, rcx
je 0x140092520
lock dec qword [rcx]
jne 0x140092520
call fcn.140092b20
nop dword [rax]
cmp qword [rbx], 0
jne 0x14009277a
mov qword [rbx], 0xffffffffffffffff
mov rdi, qword [rbx + 8]
test rdi, rdi
jne 0x1400925a3
mov qword [rsp + 0x58], 0
mov ecx, 0x30
mov edx, 8
call fcn.140009b20
test rax, rax
je 0x1400927d3
mov rdi, rax
movups xmmword [rax], xmm7
mov qword [rsp + 0x88], rax
mov qword [rax + 0x10], 0
mov rax, qword [0x14015b0d8]
nop dword [rax + rax]
mov rcx, rax
inc rcx
je 0x14009272d
lock cmpxchg qword [0x14015b0d8], rcx
jne 0x140092580
mov qword [rdi + 0x20], rcx
mov byte [rdi + 0x28], 0
mov qword [rbx + 8], rdi
lock inc qword [rdi]
jle 0x140092737
inc qword [rbx]
mov qword [rsp + 0x30], rdi
lock dec byte [rdi + 0x28]
je 0x140092670
add rdi, 0x28
mov rbx, qword [0x14015b110]
test rbx, rbx
je 0x1400925f2
nop
mov r8d, 1
mov rcx, rdi
mov rdx, rbp
mov r9d, 0xffffffff
call rbx
mov al, 1
lock cmpxchg byte [rdi], r12b
jne 0x1400925d0
jmp 0x140092670
mov rcx, qword [0x1400cc040]
cmp rcx, 0xffffffffffffffff
jne 0x140092654
mov qword [rsp + 0x98], 0xffffffffffffffff
mov rax, qword [0x1400cc060]
lea rcx, [rsp + 0x98]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rax
test eax, eax
jne 0x14009287d
mov rcx, qword [rsp + 0x98]
mov rax, 0xffffffffffffffff
lock cmpxchg qword [0x1400cc040], rcx
je 0x140092654
mov rbx, rax
call sub.kernel32.dll_CloseHandle
mov rcx, rbx
mov rax, qword [0x1400cc070]
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call rax
xor eax, eax
xchg byte [rdi], al
nop word [rax + rax]
mov rax, qword [rsp + 0x30]
lock dec qword [rax]
jne 0x140092685
mov rcx, qword [rsp + 0x30]
call fcn.140092b20
movzx eax, byte [rsp + 0x50]
test al, al
je 0x140092440
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400926c0
lock dec qword [rax]
jne 0x1400926c0
mov rcx, qword [rsp + 0x40]
call fcn.140092b20
mov rax, qword [rsi]
jmp 0x14009222e
mov rax, qword [rsi]
jmp 0x14009222e
cmp r14, 1
sete byte [rsp + 0x60]
mov qword [rsp + 0x58], 3
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140092bd0
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140091d10
jmp 0x1400928e5
call fcn.140091d10
jmp 0x1400928e5
ud2
lea rax, [0x1401223f8]
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowedthere_is_no_such_thing_as_a_release_loadH_
lea r9, [0x140120c48]
lea r8, [rsp + 0x58]
mov edx, 0x10
call fcn.14000f580
ud2
mov ecx, 0x30
mov edx, 8
call fcn.14000a410
jmp 0x1400928e5
lea rax, [0x1401223f8]
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowedthere_is_no_such_thing_as_a_release_loadH_
lea r9, [0x140120c48]
lea r8, [rsp + 0x58]
mov edx, 0x10
call fcn.14000f580
jmp 0x1400928e5
mov ecx, 0x20
mov edx, 8
call fcn.14000a410
ud2
lea rcx, [0x140121415]
lea r8, str.library_std_src_threadmod.rsuse_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
mov edx, 0x5e
call fcn.14000f170
ud2
mov ecx, 0x30
mov edx, 8
call fcn.14000a410
jmp 0x1400928e5
mov ecx, 0x20
mov edx, 8
call fcn.14000a410
jmp 0x1400928e5
lea rcx, [0x140121415]
lea r8, str.library_std_src_threadmod.rsuse_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
mov edx, 0x5e
call fcn.14000f170
jmp 0x1400928e5
lea rcx, str.assertion_failed:_state_and_queue.addr____STATE_MASK__RUNNINGOnce_instance_has_previously_been_poisoned
mov edx, 0x40
mov r8, qword [rsp + 0x140]
call fcn.14000e4f0
ud2
lea rax, [0x140122160]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 0
lea rax, str._rustc_897e37553bba8b42751c67658967889d11ecd120librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_release_store
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x58]
mov rdx, qword [rsp + 0x140]
call fcn.14000d3a0
ud2
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x88], rax
lea rax, [0x140013130]
mov qword [rsp + 0x90], rax
lea rax, str.Unable_to_create_keyed_event_handle:_error
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rdx, str.library_std_src_syswindows_thread_parker.rs
lea rcx, [rsp + 0x58]
call fcn.14000d3a0
ud2