Function at 0x502620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5741b4
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5c524c]
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 0x50288c
push esi
push dword [esi]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00500ec0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
call fcn.004fb220
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 0x502805
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.004fa260
mov edx, eax
test edx, edx
je 0x502735
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 0x50278e
push edx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x74]
push eax
call fcn.004f7a40
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x502783
mov ecx, eax
call fcn.004078d0
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.004078d0
mov esi, dword [ebp - 0x2c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x5027a1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x502805
cmp dword [0x5d1c04], 2
jg 0x5027ed
push 2
push 0x85a
push str.d:code.aliyun.comcore_liblibschromium_basedebug_trace_event_impl.cc
lea ecx, [ebp - 0x124]
call fcn.004ee980
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.004ed2b0
add esp, 0xc
test byte [ebp - 0x30], 2
mov dword [ebp - 4], 7
je 0x502805
lea ecx, [ebp - 0x124]
call fcn.004f1220
test byte [esi], 4
je 0x502830
mov eax, dword [edi + 0x40]
test eax, eax
je 0x502830
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 0x502864
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50285a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5028a9
push edx
push ecx
call fcn.004729bf
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.00500ec0
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.0047285d
mov esp, ebp
pop ebp
ret 0x10
call fcn.00522b89
int3