Function at 0x101e87d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, dword [0x1043db14]
xor eax, ebp
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x101e88ae
cmp dword [0x1043daf8], 0xe69e32f3
je 0x101e8828
lea esi, [esp + 0x20]
push str.tools::kThreadCacheNeedleArray_0___tools::kNeedle1
push 0x1c4
push str..._base_allocatorpartition_allocator_thread_cache.cc
push esi
call fcn.101ec9f0
add esp, 0x10
mov ecx, esi
call fcn.1002c000
mov ecx, esi
call fcn.101eca60
mov byte [esp + 0xf], 0xff
movsx eax, byte [ebx + 2]
mov edi, dword [eax*4 + 0x103fa8ac]
shl edi, 5
mov eax, ebx
add ebx, edi
add ebx, 0x48
lea esi, [eax + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x101e8857
mov ecx, esi
call fcn.101e93c0
mov dword [esp + 8], esi
mov eax, dword [ebx]
mov esi, dword [eax]
test esi, esi
je 0x101e8977
mov byte [esp + 0xf], 0
mov edx, dword [esi]
test edx, edx
je 0x101e88ed
mov ecx, dword [ebp + 8]
add ecx, 0x48
mov ebx, dword [ecx + edi + 0xc]
mov ecx, edx
bswap ecx
test ecx, 0x1fc000
je 0x101e89cd
mov edi, ecx
xor edi, esi
cmp edi, 0x1fffff
ja 0x101e89cd
mov edi, edx
not edi
cmp dword [esi + 4], edi
jne 0x101e89cd
prefetcht0 byte [ecx]
jmp 0x101e88ef
lea esi, [esp + 0x20]
push str.root
push 0x1c1
push str..._base_allocatorpartition_allocator_thread_cache.cc
push esi
call fcn.101ec9f0
add esp, 0x10
mov ecx, esi
call fcn.1002c000
mov ecx, esi
call fcn.101eca60
cmp dword [0x1043daf8], 0xe69e32f3
jne 0x101e87fe
jmp 0x101e8828
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.101e8a40
push esi
push dword [0x10444490]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1044452c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.102377e8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, ebx
push eax
push 0x4000
push 0x308
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.101eba90
test eax, eax
je 0x101e8a22
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x101e890b
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 0x20]
mov ecx, edi
push 0
push edx
push str.first
call fcn.1000ea7c
push edi
call fcn.1000a450
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
lea edi, [esp + 0x10]
mov ecx, edi
push 0
push dword [esi + 4]
push str.second
call fcn.1000ea7c
push edi
call fcn.1000a450
add esp, 4
mov ecx, ebx
call fcn.101e90c0
xor esi, esi
jmp 0x101e892e