Function at 0x4f78a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a5a4
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5bb278]
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 0x4f7b0c
push esi
push dword [esi]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0xffffffff
call fcn.004f6140
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
call fcn.004f0490
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 0x4f7a85
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.004ef4d0
mov edx, eax
test edx, edx
je 0x4f79b5
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 0x4f7a0e
push edx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x74]
push eax
call fcn.004eccb0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4f7a03
mov ecx, eax
call fcn.00405e50
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.00405e50
mov esi, dword [ebp - 0x2c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x4f7a21
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x4f7a85
cmp dword [0x5c582c], 2
jg 0x4f7a6d
push 2
push 0x85a
push str.d:code.aliyun.comcore_liblibschromium_basedebug_trace_event_impl.cc
lea ecx, [ebp - 0x124]
call fcn.004e3bc0
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.004e24f0
add esp, 0xc
test byte [ebp - 0x30], 2
mov dword [ebp - 4], 7
je 0x4f7a85
lea ecx, [ebp - 0x124]
call fcn.004e6470
test byte [esi], 4
je 0x4f7ab0
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4f7ab0
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 0x4f7ae4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f7ada
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f7b29
push edx
push ecx
call fcn.004698bf
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.004f6140
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.0046975d
mov esp, ebp
pop ebp
ret 0x10
call fcn.00517dfc
int3