Function at 0x100ea9d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x100eaa2b
push dword [ebp + 0x10]
push ebx
push eax
call fcn.100ebc90
add esp, 0xc
test eax, eax
je 0x100eaaa1
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
je 0x100eab31
xor esi, esi
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov edx, eax
jmp 0x100eab79
xor eax, eax
test ebx, ebx
je 0x100eab04
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], esi
cmp dword [edi + 4], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
jle 0x100eaa70
xor esi, esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + esi*4]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [eax + esi*4]
call dword [section..00cfg]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call ecx
add esp, 0xc
inc esi
cmp esi, dword [edi + 4]
jl 0x100eaa49
mov esi, dword [ebp - 0x1c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100eabce
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call dword [section..00cfg]
push edi
push esi
push dword [ebp - 0x18]
call ecx
mov eax, dword [ebp - 0x24]
add esp, 0xc
jmp 0x100eab10
test ebx, ebx
je 0x100eabce
xor eax, eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push eax
push eax
push eax
push dword [edi + 0x10]
call fcn.100ebd00
add esp, 0x1c
test eax, eax
je 0x100eabce
cmp dword [0x101f4f80], 0
je 0x100eabfd
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x100eabbe
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100eabbe
mov ebx, edi
cmp dword [esi + 8], 0
je 0x100eabce
cmp dword [ebx + 0x10], 0
je 0x100eabce
test eax, eax
je 0x100eabce
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100eabce
mov ecx, dword [esi + 4]
mov esi, dword [ecx + 0x24]
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x100eab66
mov dword [ebp - 0x1c], ecx
mov ecx, eax
add ecx, edx
push ecx
push edx
push dword [esi + 0x48]
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov dword [ebp - 0x24], edx
call sym.nss3.dll_PORT_ArenaGrow_Util
mov edx, dword [ebp - 0x24]
add esp, 0x10
add edx, eax
test eax, eax
cmove edx, eax
jmp 0x100eab73
push eax
push dword [ecx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov edx, eax
mov dword [esi + 0x48], edx
add esi, 0x44
mov ecx, dword [ebp + 8]
test edx, edx
je 0x100eabc3
lea eax, [ebp - 0x14]
push dword [ebp + 0x10]
push ebx
push ecx
push dword [ebp - 0x20]
push eax
push edx
push dword [edi + 0x10]
mov ebx, edx
call fcn.100ebd00
add esp, 0x1c
test eax, eax
je 0x100eabe0
cmp dword [0x101f4f80], 0
je 0x100eabf6
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp - 0x18]
je 0x100eaae9
mov eax, dword [eax + 0x28]
jmp 0x100eabcb
mov eax, 0xffffe013
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x100eabec
add dword [esi + 8], ebx
mov ecx, eax
mov esi, dword [ebp - 0x18]
jmp 0x100eaa2d
call fcn.1001b2e0
jmp 0x100eaba7
call fcn.1001b2e0
jmp 0x100eaad5