Function at 0x4fa220
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cd54
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5be26c]
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 0x4fa48c
push esi
push dword [esi]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0xffffffff
call fcn.004f8ac0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
call fcn.004f2e20
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 0x4fa405
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.004f1e60
mov edx, eax
test edx, edx
je 0x4fa335
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 0x4fa38e
push edx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x74]
push eax
call fcn.004ef640
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4fa383
mov ecx, eax
call fcn.0040bb80
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.0040bb80
mov esi, dword [ebp - 0x2c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x4fa3a1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x4fa405
cmp dword [0x5c6d04], 2
jg 0x4fa3ed
push 2
push 0x85a
push str.d:code.aliyun.comcore_liblibschromium_basedebug_trace_event_impl.cc
lea ecx, [ebp - 0x124]
call fcn.004e6580
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.004e4eb0
add esp, 0xc
test byte [ebp - 0x30], 2
mov dword [ebp - 4], 7
je 0x4fa405
lea ecx, [ebp - 0x124]
call fcn.004e8e20
test byte [esi], 4
je 0x4fa430
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4fa430
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 0x4fa464
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa45a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa4a9
push edx
push ecx
call fcn.0046c26f
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.004f8ac0
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.0046c10d
mov esp, ebp
pop ebp
ret 0x10
call fcn.0051a76c
int3