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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1038
call fcn.140120770
sub rsp, rax
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14019e650]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x14005c351
lea rcx, [rsp + 0x2c]
call fcn.1400952a0
test al, al
jne 0x14005c2da
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xd0
call fcn.14002f600
mov rcx, rsi
call fcn.14002f710
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x14005c32f
lea rcx, [rsp + 0x2c]
call fcn.1400952a0
test al, al
je 0x14005c2f8
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14005c321
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xda
call fcn.14002f600
mov rcx, rsi
call fcn.14002f710
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x14019e650], ecx
mov ecx, dword [rsp + 0x2c]
je 0x14005c351
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14019e650]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
and ebx, 3
je 0x14005c552
lea rsi, [rsp + 0x38]
movaps xmm0, xmmword [section..rdata]
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x128], xmm0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [0x140153538]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0xa0]
lea rax, vtable.std::__1::basic_ostream_char__struct_std::__1::char_traits_char__.0
mov qword [rsp + 0xa0], rax
mov rcx, r14
mov rdx, rsi
call fcn.14000a9a4
mov qword [rsp + 0x128], 0
mov dword [rsp + 0x130], 0xffffffff
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
lea r15, [0x140153540]
mov qword [rsp + rax + 0x30], r15
mov rcx, rsi
call fcn.14000ae32
lea r12, [0x140153550]
mov qword [rsp + 0x38], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
mov dword [rsp + 0x98], 0x10
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rdi, [rsp + 0x30]
mov r8d, 0x40
mov rcx, rdi
call fcn.140001c63
lea rdx, [0x14015352d]
mov r8d, 2
mov rcx, rax
call fcn.140001c63
mov rcx, rdi
mov edx, ebx
call fcn.14000b2fa
lea rdx, str._vs.
mov r8d, 5
mov rcx, rdi
call fcn.140001c63
mov rcx, rdi
xor edx, edx
call fcn.14000b2fa
lea rdx, [0x140153536]
mov r8d, 1
mov rcx, rdi
call fcn.140001c63
mov ecx, 0x18
call fcn.140120368
mov rdi, rax
mov rcx, rsi
mov rdx, rax
call fcn.140003db6
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
mov qword [rsp + rax + 0x30], r15
mov qword [rsp + 0x38], r12
test byte [rsp + 0x78], 1
je 0x14005c515
mov rcx, qword [rsp + 0x88]
call fcn.1401203c4
mov rcx, rsi
call fcn.14000ae1e
mov rcx, rsi
call fcn.140002c80
mov rcx, r14
call fcn.14000ae18
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xec
mov r9, rdi
call fcn.140030840
mov rcx, rsi
call fcn.14002f710
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401236f0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401203fc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140123290
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401207e0
mov rax, rdi
add rsp, 0x1038
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret