Function at 0x476800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4424
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5ec374]
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 0x476a6c
push esi
push dword [esi]
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00474650
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
call fcn.0046dd10
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 0x4769e5
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.0046cbb0
mov edx, eax
test edx, edx
je 0x476915
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 0x47696e
push edx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x74]
push eax
call fcn.00469bf0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x476963
mov ecx, eax
call fcn.004064a0
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.004064a0
mov esi, dword [ebp - 0x2c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x476981
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x4769e5
cmp dword [0x5f9034], 2
jg 0x4769cd
push 2
push 0x85a
push str.d:code.aliyun.comcore_liblibschromium_basedebug_trace_event_impl.cc
lea ecx, [ebp - 0x124]
call fcn.0045f570
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.0045d8d0
add esp, 0xc
test byte [ebp - 0x30], 2
mov dword [ebp - 4], 7
je 0x4769e5
lea ecx, [ebp - 0x124]
call fcn.004622c0
test byte [esi], 4
je 0x476a10
mov eax, dword [edi + 0x40]
test eax, eax
je 0x476a10
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 0x476a44
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476a3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476a89
push edx
push ecx
call fcn.0045673f
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.00474650
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.0045674d
mov esp, ebp
pop ebp
ret 0x10
call fcn.0056a5ea
int3