Function at 0x100c29a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x101decc8]
xor eax, eax
push eax
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
test eax, eax
je 0x100c2a3d
mov ebx, dword [eax + 0x13c]
push 0
push esi
call fcn.100a4090
add esp, 8
test eax, eax
je 0x100c2aba
mov edi, eax
mov ecx, ebx
xor ebx, ebx
lea eax, [ebp - 0x18]
push ebx
push ebx
push 2
push eax
push ebx
push ecx
call fcn.1009e3f0
add esp, 0x18
mov esi, eax
push ebx
push eax
push edi
call fcn.100a38d0
add esp, 0xc
push esi
call fcn.1009a580
add esp, 4
push ebx
push ebx
push ebx
push edi
call fcn.100a3f80
add esp, 0x10
mov esi, eax
push edi
call fcn.100a3790
add esp, 4
jmp 0x100c2a4c
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.100a7480
add esp, 8
mov esi, eax
test esi, esi
je 0x100c2aa1
mov ebx, dword [esi]
test ebx, ebx
je 0x100c2a98
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 4]
mov edx, edi
xor edx, 1
cmp edi, 1
setne al
mov esi, dword [ebx + 0x30]
test esi, esi
setne ah
or esi, edx
je 0x100c2b06
and al, ah
jne 0x100c2b06
mov ebx, dword [ecx]
add ecx, 4
test ebx, ebx
jne 0x100c2a64
push dword [ebp - 0x1c]
call fcn.100a3760
add esp, 4
jmp 0x100c2aab
push esi
call fcn.100a3760
add esp, 4
call fcn.1009ab60
cmp eax, 0x1b
jne 0x100c2aba
push 0
push 0xffffe089
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101de200], 0
je 0x100c2bc0
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100c2ba5
xor esi, esi
cmp dword [eax + 0x28], 0
jne 0x100c2af2
push 0
push 0xffffe089
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
lock inc dword [ebx + 4]
push dword [ebp - 0x1c]
call fcn.100a3760
add esp, 4
mov eax, dword [ebx + 0x2c]
xor esi, esi
mov edi, 0
test eax, eax
je 0x100c2b32
push eax
call sym.nss3.dll_PORT_Strdup_Util
add esp, 4
mov edi, eax
test eax, eax
je 0x100c2b97
push dword [ebx + 0x28]
push esi
push esi
call sym.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
test eax, eax
je 0x100c2b89
mov esi, eax
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x34]
lock inc dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call fcn.100a2e70
add esp, 4
jmp 0x100c2af2
test edi, edi
je 0x100c2b97
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push ebx
call fcn.100a2e70
add esp, 4
jmp 0x100c2aba
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100c2adb
call fcn.100745e0
jmp 0x100c2ac7