Function at 0x100edcb0
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 [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx + 8]
push dword [ecx + 0xc]
call fcn.100f1390
add esp, 8
test eax, eax
je 0x100edd32
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 0x100edd99
cmp dword [eax], 0
je 0x100edd99
mov dword [ebp - 0x14], 0
push dword [ebp + 0xc]
push ecx
push dword [eax]
call fcn.100ebc90
mov edx, dword [ebp + 8]
add esp, 0xc
mov esi, eax
or eax, edx
je 0x100edd3e
test esi, esi
je 0x100edd45
push esi
call sym.nss3.dll_PORT_Alloc_Util
mov edx, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x100edd47
xor esi, esi
mov eax, 0xffffe013
jmp 0x100edd8b
mov dword [edi + 0x18], 0xffffe001
jmp 0x100ede69
xor esi, esi
jmp 0x100ede5b
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.100ebd00
add esp, 0x1c
test eax, eax
je 0x100edd93
cmp dword [0x101f4f80], 0
je 0x100ede9f
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ede84
mov eax, dword [eax + 0x28]
mov dword [edi + 0x18], eax
jmp 0x100ede5b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
test ecx, ecx
je 0x100ede5b
mov eax, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp - 0x20], ecx
je 0x100eddbf
mov eax, dword [eax + 4]
test eax, eax
je 0x100eddbf
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100ee1b0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x100edde0
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 0x100ede58
push ebx
call sym.nss3.dll_NSS_CMSContentInfo_GetContentTypeTag
add esp, 4
cmp eax, 0x19
jne 0x100ede58
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 0x100ede41
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 0x100ede7b
mov ebx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100ede30
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 0x100ede44
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 0x100ede69
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi + 0x18], 0xffffe013
jmp 0x100ede58
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100edd88
call fcn.1001b2e0
jmp 0x100edd74