Function at 0x100ec6f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, edx
mov edi, ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx + 8]
push dword [ecx + 0xc]
call fcn.100efdd0
add esp, 8
test eax, eax
je 0x100ec772
mov ebx, eax
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
xor esi, esi
test eax, eax
je 0x100ec7d9
cmp dword [eax], 0
je 0x100ec7d9
mov dword [ebp - 0x14], 0
push dword [ebp + 0xc]
push ecx
push dword [eax]
call fcn.100ea6d0
mov edx, dword [ebp + 8]
add esp, 0xc
mov esi, eax
or eax, edx
je 0x100ec77e
test esi, esi
je 0x100ec785
push esi
call sym.nss3.dll_PORT_Alloc_Util
mov edx, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x100ec787
xor esi, esi
mov eax, 0xffffe013
jmp 0x100ec7cb
mov dword [edi + 0x18], 0xffffe001
jmp 0x100ec8a9
xor esi, esi
jmp 0x100ec89b
xor eax, eax
mov ecx, dword [ebx + 0x3c]
push dword [ebp + 0xc]
push edx
push dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x14]
push edx
mov esi, eax
push eax
push dword [ecx]
call fcn.100ea740
add esp, 0x1c
test eax, eax
je 0x100ec7d3
cmp dword [0x101f2f50], 0
je 0x100ec8df
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ec8c4
mov eax, dword [eax + 0x28]
mov dword [edi + 0x18], eax
jmp 0x100ec89b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
test ecx, ecx
je 0x100ec89b
mov eax, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp - 0x20], ecx
je 0x100ec7ff
mov eax, dword [eax + 4]
test eax, eax
je 0x100ec7ff
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100ecbf0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100ec820
mov esi, dword [edi + 0x20]
call dword [section..00cfg]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push esi
call ecx
add esp, 0xc
jmp 0x100ec898
push ebx
call sym.nss3.dll_NSS_CMSContentInfo_GetContentTypeTag
add esp, 4
cmp eax, 0x19
jne 0x100ec898
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x20]
lea edx, [ecx + eax]
cmp edx, dword [esi + 0xc]
jbe 0x100ec881
mov dword [ebp - 0x28], ecx
add edx, edx
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], edx
push edx
push dword [eax + 0x44]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100ec8bb
mov ebx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100ec870
push eax
push dword [esi + 4]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
jmp 0x100ec884
mov ebx, dword [esi + 4]
add ebx, ecx
push eax
push dword [ebp - 0x18]
push ebx
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [esi + 8], edi
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100ec8a9
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi + 0x18], 0xffffe013
jmp 0x100ec898
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100ec7c8
call fcn.100029d0
jmp 0x100ec7b4