Function at 0x100a8e00
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, 0xa8
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x68], r8
mov r13d, edx
mov rsi, rcx
mov rax, qword [rcx]
lea r15, [rsp + 0x3a]
mov r12d, 2
lea rdi, [0x10110328]
xorps xmm6, xmm6
movaps xmm7, xmmword [0x1011f000]
mov rbx, rax
test rax, rax
jne 0x100a8e7f
jmp 0x100a8e69
test r13b, r13b
je 0x100a91b0
mov rax, rbx
lock cmpxchg qword [rsi], r12
je 0x100a90d4
mov rbx, rax
test rax, rax
je 0x100a8e69
cmp rbx, 1
je 0x100a8e60
cmp rbx, 3
je 0x100a911a
mov eax, ebx
and eax, 3
cmp eax, 2
je 0x100a8eae
jmp 0x100a91f7
mov eax, ebx
and eax, 3
cmp eax, 2
jne 0x100a90c0
mov ecx, dword [0x10110340]
test ecx, ecx
je 0x100a8ed7
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x100a8ef0
mov rbp, rax
cmp qword [rax], 0
je 0x100a8ef0
add rbp, 8
jmp 0x100a8fa0
mov rcx, rdi
call fcn.100a5dd0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x100a8ec5
nop dword [rax]
mov ecx, dword [0x10110340]
test ecx, ecx
je 0x100a8f14
dec ecx
call sub.kernel32.dll_TlsGetValue
test rax, rax
je 0x100a8f30
mov r14, rax
cmp rax, 1
jne 0x100a8f6e
jmp 0x100a9196
mov rcx, rdi
call fcn.100a5dd0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x100a8f06
nop dword [rax + rax]
mov ecx, 0x20
mov edx, 8
call fcn.100028d0
test rax, rax
je 0x100a9185
mov r14, rax
mov qword [rax], 0
mov qword [rax + 0x18], rdi
mov ecx, dword [0x10110340]
test ecx, ecx
je 0x100a907b
dec ecx
mov rdx, r14
call sub.kernel32.dll_TlsSetValue
lea rbp, [r14 + 8]
mov rcx, qword [r14 + 0x10]
cmp qword [r14], 0
mov qword [r14], 1
movups xmmword [r14 + 8], xmm6
je 0x100a8fa0
test rcx, rcx
je 0x100a8fa0
lock dec qword [rcx]
jne 0x100a8fa0
call fcn.10066880
nop dword [rax + rax]
cmp qword [rbp], 0
jne 0x100a9145
mov qword [rbp], 0xffffffffffffffff
mov rcx, qword [rbp + 8]
test rcx, rcx
jne 0x100a9023
mov qword [rsp + 0x28], 0
mov ecx, 0x30
mov edx, 8
call fcn.100028d0
test rax, rax
je 0x100a9174
mov rcx, rax
movups xmmword [rax], xmm7
mov qword [rsp + 0x78], rax
mov qword [rax + 0x10], 0
mov rax, qword [0x1016d200]
nop word [rax + rax]
mov rdx, rax
inc rdx
je 0x100a913e
lock cmpxchg qword [0x1016d200], rdx
jne 0x100a9000
mov qword [rcx + 0x20], rdx
mov byte [rcx + 0x28], 0
mov qword [rbp + 8], rcx
lock inc qword [rcx]
jle 0x100a9170
inc qword [rbp]
mov rax, rbx
and rax, 0xfffffffffffffffc
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
mov rax, rbx
lock cmpxchg qword [rsi], r15
je 0x100a9095
mov rbx, rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x100a8ea0
lock dec qword [rax]
jne 0x100a8ea0
mov rcx, qword [rsp + 0x38]
call fcn.10066880
jmp 0x100a8ea0
mov rcx, rdi
call fcn.100a5dd0
mov ecx, eax
jmp 0x100a8f66
call fcn.10077770
movzx eax, byte [rsp + 0x48]
test al, al
je 0x100a9090
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x100a90c0
lock dec qword [rax]
jne 0x100a90c0
mov rcx, qword [rsp + 0x38]
call fcn.10066880
nop dword [rax + rax]
mov rax, qword [rsi]
mov rbx, rax
test rax, rax
jne 0x100a8e7f
jmp 0x100a8e69
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 1
cmp rbx, 1
mov qword [rsp + 0x38], 3
sete byte [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x28]
call fcn.100a9270
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.10077be0
jmp 0x100a9183
lea rax, [0x10122cc8]
mov qword [rsp + 0x20], rax
lea rcx, [0x101218c6]
lea r9, [0x1011f878]
lea r8, [rsp + 0x28]
mov edx, 0x10
call fcn.100e7b50
ud2
ud2
mov ecx, 0x30
mov edx, 8
call fcn.100db070
ud2
mov ecx, 0x20
mov edx, 8
call fcn.100db070
ud2
lea rcx, str.use_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
lea r8, str.library_std_src_threadmod.rsfailed_to_spawn_thread
mov edx, 0x5e
call fcn.100e7370
ud2
lea rax, [0x101256a8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], 0
lea rax, str.capacity_overflow
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x110]
call fcn.100e75e0
ud2
lea rcx, str.assertion_failed:_state_and_queue.addr____STATE_MASK__RUNNINGOnce_instance_has_previously_been_poisoned
mov edx, 0x40
mov r8, qword [rsp + 0x110]
call fcn.100e76b0
ud2