Function at 0x14003bbf0
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
mov eax, 0x1038
call fcn.1401296e0
sub rsp, rax
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401cb2f8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x14003bce4
lea rcx, [rsp + 0x2c]
call fcn.1400540e0
test al, al
jne 0x14003bc6d
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.14000e0a0
mov rcx, rsi
call fcn.14000e210
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x14003bcc2
lea rcx, [rsp + 0x2c]
call fcn.1400540e0
test al, al
je 0x14003bc8b
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14003bcb4
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.14000e0a0
mov rcx, rsi
call fcn.14000e210
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x1401cb2f8], ecx
mov ecx, dword [rsp + 0x2c]
je 0x14003bce4
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401cb2f8]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
and edi, 3
je 0x14003c04b
lea r12, [rsp + 0x38]
movaps xmm0, xmmword [0x140164c30]
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], 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 + 0x98], 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 rbx, [rsp + 0x68]
lea rbp, [rsp + 0x48]
lea rax, [0x1401653f8]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0xb8]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xb4], 0x78
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.140009a00
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rax + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [rsp + rax + 0x2c], ecx
lea r15, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x38], r15
mov ecx, 0x10
call fcn.140128e44
mov rsi, rax
mov cl, 1
call fcn.14012706c
mov qword [rsi + 8], rax
mov qword [rsp + 0x98], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x60], xmm0
lea rbx, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xa8], 4
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140008310
lea rdx, [0x1401653ec]
mov rcx, rax
call fcn.140008310
mov rcx, rsi
mov edx, edi
call fcn.14000fff0
lea rdx, str._vs.
mov rcx, rsi
call fcn.140008310
mov rcx, rsi
xor edx, edx
call fcn.14000fff0
lea rdx, [0x1401653f5]
mov rcx, rsi
call fcn.140008310
mov ecx, 0x20
call fcn.140128e44
mov rdi, rax
mov rcx, r12
mov rdx, rax
call fcn.14000da50
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
mov qword [rsp + rax + 0x30], r13
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [rsp + rax + 0x2c], ecx
mov qword [rsp + 0x38], rbx
test byte [rsp + 0xa8], 1
je 0x14003bf73
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov ecx, 0xc
test rax, rax
jne 0x14003bf33
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov ecx, 0xb
mov rcx, qword [rsp + rcx*8 + 0x30]
movsxd rdx, dword [rcx]
add rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14003bf6e
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14003c0c3
add rdx, 0x27
mov rcx, rax
call fcn.140128e80
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x58]
mov qword [rax], 0
mov rax, qword [rsp + 0x78]
mov qword [rax], 0
mov rax, qword [rsp + 0x90]
mov dword [rax], 0
mov qword [rsp + 0xa0], 0
and byte [rsp + 0xa8], 0xfe
mov qword [rsp + 0x38], r15
mov rbx, qword [rsp + 0x98]
test rbx, rbx
je 0x14003c00f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003c007
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14003c007
mov rbp, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbp]
mov rcx, rbx
call fcn.1401291d8
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xb8], rax
mov rcx, r14
call fcn.1401273b4
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xec
mov r9, rdi
call fcn.14000f5b0
mov rcx, rsi
call fcn.14000e210
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14012b560
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140129730
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14012aeb0
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.140128f20
mov rax, rdi
add rsp, 0x1038
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140137b68
int3