Function at 0x100e9410
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 [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x100e946b
push dword [ebp + 0x10]
push ebx
push eax
call fcn.100ea6d0
add esp, 0xc
test eax, eax
je 0x100e94e1
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
je 0x100e9571
xor esi, esi
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov edx, eax
jmp 0x100e95b9
xor eax, eax
test ebx, ebx
je 0x100e9544
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 0x100e94b0
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 0x100e9489
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 0x100e960e
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 0x100e9550
test ebx, ebx
je 0x100e960e
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.100ea740
add esp, 0x1c
test eax, eax
je 0x100e960e
cmp dword [0x101f2f50], 0
je 0x100e963d
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x100e95fe
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e95fe
mov ebx, edi
cmp dword [esi + 8], 0
je 0x100e960e
cmp dword [ebx + 0x10], 0
je 0x100e960e
test eax, eax
je 0x100e960e
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100e960e
mov ecx, dword [esi + 4]
mov esi, dword [ecx + 0x24]
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x100e95a6
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 0x100e95b3
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 0x100e9603
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.100ea740
add esp, 0x1c
test eax, eax
je 0x100e9620
cmp dword [0x101f2f50], 0
je 0x100e9636
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp - 0x18]
je 0x100e9529
mov eax, dword [eax + 0x28]
jmp 0x100e960b
mov eax, 0xffffe013
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x100e962c
add dword [esi + 8], ebx
mov ecx, eax
mov esi, dword [ebp - 0x18]
jmp 0x100e946d
call fcn.100029d0
jmp 0x100e95e7
call fcn.100029d0
jmp 0x100e9515