Function at 0x140114cf0
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 rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm9
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movdqa xmmword [rsp + 0x80], xmm6
mov ecx, dword [0x14021e060]
test ecx, ecx
je 0x140114d4d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140114d66
cmp qword [rax], 0
je 0x140114d66
add rax, 8
jmp 0x140114fa0
lea rcx, [0x14021e048]
call fcn.140188b70
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140114d3e
mov ecx, dword [0x14021e060]
test ecx, ecx
je 0x140114f81
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140114f9e
mov r14, rax
test rax, rax
jne 0x140114df4
mov rcx, qword [0x14031a128]
test rcx, rcx
jne 0x140114db1
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14011502d
mov rcx, rax
mov qword [0x14031a128], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14011502d
mov r14, rax
mov qword [rax], 0
lea rax, [0x14021e048]
mov qword [r14 + 0x10], rax
mov ecx, dword [0x14021e060]
test ecx, ecx
je 0x140114fd5
dec ecx
mov rdx, r14
call sub.kernel32.dll_TlsSetValue
call fcn.1401b0690
test rax, rax
je 0x140115002
movdqu xmm8, xmmword [rax]
inc qword [rax]
pshufd xmm7, xmm8, 0x44
pxor xmm7, xmmword [0x14021ffc0]
pshufd xmm6, xmm8, 0xee
pxor xmm6, xmmword [0x14021ffd0]
lea r15, [rsp + 0x68]
xor esi, esi
xorps xmm9, xmm9
lea r12, [rsp + 0x30]
lea r13, [rsp + 0x28]
nop dword [rax + rax]
inc rsi
je 0x140114fe8
movdqa xmmword [rsp + 0x30], xmm8
mov qword [rsp + 0x40], 0
movdqu xmmword [rsp + 0x48], xmm7
movdqu xmmword [rsp + 0x58], xmm6
movups xmmword [r15], xmm9
mov qword [rsp + 0x28], rsi
mov r8d, 8
mov rcx, r12
mov rdx, r13
call fcn.1401481e0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
shl rbx, 0x38
or rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
add rdi, rcx
rol rcx, 0xd
xor rax, rbx
xor rcx, rdi
rol rdi, 0x20
mov rdx, qword [rsp + 0x50]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add rdi, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, rdi
xor rcx, rdx
rol rdx, 0x20
xor rdi, rbx
add rdi, rcx
rol rcx, 0xd
xor rcx, rdi
rol rdi, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add rdi, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, rdi
add rdi, rcx
rol rcx, 0xd
xor rcx, rdi
rol rdi, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add rdi, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, rdi
add rdi, rcx
rol rcx, 0xd
xor rcx, rdi
add rdx, rax
rol rax, 0x10
xor rax, rdx
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rcx, rax
xor rcx, rdx
je 0x140114e40
lea rax, [r14 + 8]
mov qword [r14], 1
mov qword [r14 + 8], rcx
jmp 0x140114fa0
lea rcx, [0x14021e048]
call fcn.140188b70
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140114d85
xor eax, eax
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14021e048]
call fcn.140188b70
mov ecx, eax
jmp 0x140114dec
lea rcx, str.attempt_to_add_with_overflowMissing_scheme
lea r8, [0x140289d60]
mov edx, 0x1c
call fcn.14002cb80
ud2
lea rax, [0x140296070]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_69f9c33d71c871fc16ac445211281c6e7a340943library_std_src_threadlocal.rs
lea r9, [0x140273010]
lea r8, [rsp + 0x30]
mov edx, 0x46
call fcn.14002dda0
ud2
mov ecx, 0x18
mov edx, 8
call fcn.1400270c0
ud2