Function at 0x100d75f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x101df008], 0
je 0x100d7684
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x20]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d786f
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x12]
call dword [section..00cfg]
lea edi, [ebp - 0x14]
xor esi, esi
push edi
push esi
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x100d7698
push eax
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
push dword [ebx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor edi, edi
dec edi
test esi, esi
je 0x100d76af
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100d76af
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x100d76af
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x2c]
cmp eax, ecx
jne 0x100d76c3
push dword [ebx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, ecx
jae 0x100d76d0
xor esi, esi
mov eax, 0xffffe097
jmp 0x100d765b
shl eax, 2
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100d781c
mov esi, eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x12]
call dword [section..00cfg]
push edi
push esi
push 0
call ecx
add esp, 0xc
test eax, eax
jne 0x100d7652
push dword [ebx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [ebx]
call sym.nss3.dll_PORT_ArenaMark_Util
add esp, 4
test eax, eax
je 0x100d7671
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
xor edi, edi
inc edi
test eax, eax
cmovne edi, eax
push edi
push dword [ebx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov ebx, eax
test eax, eax
je 0x100d774e
push edi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x14], 0
je 0x100d77a9
xor ebx, ebx
push dword [esi + ebx*4]
push dword [ebp + 8]
call fcn.100d6e20
add esp, 8
mov edi, eax
test eax, eax
jne 0x100d779d
mov eax, dword [ebp + 8]
push eax
call fcn.100d1b30
add esp, 4
test eax, eax
je 0x100d7823
mov edi, eax
push eax
push dword [esi + ebx*4]
push dword [ebp + 8]
call fcn.100d45a0
add esp, 0xc
push edi
push 0
call fcn.100a0c60
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [eax + ebx*4], edi
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x100d7759
push 0
call fcn.100a0cc0
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [0x101df008]
call fcn.100dab60
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
push dword [0x101df008]
call fcn.100dac50
add esp, 4
test ebx, ebx
je 0x100d76ad
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*4]
lock dec dword [eax + 0x48]
jne 0x100d7812
push eax
call fcn.100d1c70
add esp, 4
inc esi
cmp ebx, esi
jne 0x100d77fd
jmp 0x100d76af
xor esi, esi
jmp 0x100d7666
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
mov edi, dword [ebp + 8]
je 0x100d785b
cmp dword [ebp - 0x14], 0
je 0x100d785b
xor esi, esi
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x100d785b
lock dec dword [eax + 0x48]
jne 0x100d7855
push eax
call fcn.100d1c70
add esp, 4
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x100d783f
mov ecx, dword [edi]
mov edx, dword [ebp - 0x1c]
push 0
call fcn.100e37d0
add esp, 4
jmp 0x100d7693
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100d7628