Function at 0x500e10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572784
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5c324c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 0x1e4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], 0
push dword [esi]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x50107c
push esi
push dword [esi]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0xffffffff
call fcn.004ff6b0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
call fcn.004f9a10
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, dword [edi + 0x140]
mov dword [ebp - 0x4c], ecx
sbb eax, dword [edi + 0x144]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
test byte [esi], 1
je 0x500ff5
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 0x48]
call fcn.004f8a50
mov edx, eax
test edx, edx
je 0x500f25
mov eax, dword [ebp - 0x4c]
sub eax, dword [edx]
mov ecx, dword [ebp - 0x58]
sbb ecx, dword [edx + 4]
mov dword [edx + 0x14], ecx
mov dword [edx + 0x10], eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
neg eax
mov dword [ebp - 4], 8
adc ecx, 0
mov dword [edx + 0x18], eax
neg ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [edi + 0x16c]
test al, 8
je 0x500f7e
push edx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x74]
push eax
call fcn.004f6230
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x500f73
mov ecx, eax
call fcn.00407770
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x74]
call fcn.00407770
mov esi, dword [ebp - 0x2c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x500f91
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x500ff5
cmp dword [0x5cfb5c], 2
jg 0x500fdd
push 2
push 0x85a
push str.d:code.aliyun.comcore_liblibschromium_basedebug_trace_event_impl.cc
lea ecx, [ebp - 0x124]
call fcn.004ed170
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, 8
push ecx
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], 2
call fcn.004ebaa0
add esp, 0xc
test byte [ebp - 0x30], 2
mov dword [ebp - 4], 7
je 0x500ff5
lea ecx, [ebp - 0x124]
call fcn.004efa10
test byte [esi], 4
je 0x501020
mov eax, dword [edi + 0x40]
test eax, eax
je 0x501020
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x50]
push esi
push 0x45
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call eax
add esp, 0x30
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x501054
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50104a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x501099
push edx
push ecx
call fcn.00472cbf
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
push 0
mov dword [ebp - 4], 0xe
push dword [eax]
call fcn.004ff6b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472b5d
mov esp, ebp
pop ebp
ret 0x10
call fcn.005213e9
int3