Function at 0x4e3d70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5608f8
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x414], 0
mov esi, dword [0x5b489c]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x418], esi
cmp esi, 0xffffffff
jne 0x4e40d2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4e3dde
mov ebx, dword [ebp - 0x414]
mov esi, eax
mov dword [ebp - 0x418], esi
jmp 0x4e3e56
push 1
push 2
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4c8], 3
call fcn.0047d040
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
mov dword [ebp - 0x420], 0x3e
call edi
mov dword [ebp - 0x41c], eax
push 0x3e
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 1
call fcn.004e9450
lea eax, [ebp - 0x4c0]
mov dword [ebp - 4], 2
push str.Check_failed:_PlatformThreadLocalStorage::AllocTLS_key_.
mov ebx, 1
push eax
mov dword [ebp - 0x414], ebx
call fcn.0047cdb0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4e3e76
and ebx, 0xfffffffe
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x414], ebx
call fcn.004df3b0
mov edi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp esi, 0xffffffff
jne 0x4e3f51
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4e3e9a
mov esi, eax
mov dword [ebp - 0x418], esi
jmp 0x4e3f14
push 1
push 2
lea ecx, [ebp - 0x570]
mov dword [ebp - 0x578], 3
call fcn.0047d040
mov dword [ebp - 4], 3
mov dword [ebp - 0x4d4], str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
mov dword [ebp - 0x4d0], 0x48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4cc], eax
push 0x48
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x578]
mov byte [ebp - 4], 4
call fcn.004e9450
lea eax, [ebp - 0x570]
mov dword [ebp - 4], 5
push str.Check_failed:_PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES.
or ebx, 2
push eax
mov dword [ebp - 0x414], ebx
call fcn.0047cdb0
add esp, 8
test bl, 2
je 0x4e3f2d
and ebx, 0xfffffffd
lea ecx, [ebp - 0x578]
mov dword [ebp - 0x414], ebx
call fcn.004df3b0
push 0xffffffffffffffff
call edi
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x4e3f51
and ebx, 0xfffffff7
lea ecx, [ebp - 0x6d8]
mov dword [ebp - 0x414], ebx
call fcn.004df3b0
mov ecx, esi
mov edx, 0x5b489c
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4e3f99
push esi
call edi
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x4e3f87
and ebx, 0xffffffef
lea ecx, [ebp - 0x788]
mov dword [ebp - 0x414], ebx
call fcn.004df3b0
mov esi, dword [0x5b489c]
mov ebx, dword [ebp - 0x414]
mov dword [ebp - 0x418], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e4020
push 1
push 2
lea ecx, [ebp - 0x620]
mov dword [ebp - 0x628], 3
call fcn.0047d040
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x584], str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
mov dword [ebp - 0x580], 0x58
call edi
mov dword [ebp - 0x57c], eax
push 0x58
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 0xd
call fcn.004e9450
lea eax, [ebp - 0x620]
mov dword [ebp - 4], 0xe
push str.Check_failed:__PlatformThreadLocalStorage::GetTLSValue_key_.
or ebx, 4
push eax
mov dword [ebp - 0x414], ebx
call fcn.0047cdb0
add esp, 8
test bl, 4
je 0x4e4033
lea ecx, [ebp - 0x628]
and ebx, 0xfffffffb
call fcn.004df3b0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0050c770
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0xffffffff
test bl, 0x20
je 0x4e4071
lea ecx, [ebp - 0x838]
and ebx, 0xffffffdf
call fcn.004df3b0
push 0x400
call fcn.00462af5
add esp, 4
mov dword [ebp - 0x414], eax
mov edi, eax
lea esi, [ebp - 0x410]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test bl, 0x40
je 0x4e40b0
lea ecx, [ebp - 0x8e8]
call fcn.004df3b0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x414]
jmp 0x4e3f9f