Function at 0x100bb150
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 esi, dword [ebp + 0x10]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [0x101f3070]
xor eax, eax
push eax
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
test eax, eax
je 0x100bb205
push eax
call fcn.100cbb00
add esp, 4
test eax, eax
je 0x100bb325
mov esi, eax
push 0
push edi
call fcn.1009c810
add esp, 8
test eax, eax
je 0x100bb258
mov edi, eax
xor ecx, ecx
lea eax, [ebp - 0x18]
push ecx
push ecx
push 2
push eax
push ecx
push esi
call fcn.10096c40
add esp, 0x18
mov ebx, eax
push esi
call fcn.10095540
add esp, 4
xor eax, eax
push eax
push ebx
push edi
call fcn.1009c080
add esp, 0xc
push ebx
call fcn.10092db0
add esp, 4
xor eax, eax
push eax
push eax
push eax
push edi
call fcn.1009c700
add esp, 0x10
mov esi, eax
push edi
call fcn.1009bf30
add esp, 4
jmp 0x100bb214
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.1009fba0
add esp, 8
mov esi, eax
test esi, esi
je 0x100bb26c
mov ebx, dword [esi]
test ebx, ebx
je 0x100bb263
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 0x100bb28e
and al, ah
jne 0x100bb28e
mov ebx, dword [ecx]
add ecx, 4
test ebx, ebx
jne 0x100bb22c
push dword [ebp - 0x1c]
call fcn.1009bf00
add esp, 4
jmp 0x100bb27a
push esi
call fcn.10095540
jmp 0x100bb322
push esi
call fcn.1009bf00
add esp, 4
call fcn.10093380
cmp eax, 0x1b
jne 0x100bb325
push 0
push 0xffffe089
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100bb325
lock inc dword [ebx + 4]
push dword [ebp - 0x1c]
call fcn.1009bf00
add esp, 4
mov eax, dword [ebx + 0x2c]
xor esi, esi
mov edi, 0
test eax, eax
je 0x100bb2ba
push eax
call sym.nss3.dll_PORT_Strdup_Util
add esp, 4
mov edi, eax
test eax, eax
je 0x100bb31c
push dword [ebx + 0x28]
push esi
push esi
call sym.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
test eax, eax
je 0x100bb30e
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.1009b640
add esp, 4
jmp 0x100bb355
test edi, edi
je 0x100bb31c
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push ebx
call fcn.1009b640
add esp, 4
cmp dword [0x101f2f50], 0
je 0x100bb381
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100bb369
xor esi, esi
cmp dword [eax + 0x28], 0
jne 0x100bb355
push 0
push 0xffffe089
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100bb33e
call fcn.100029d0
jmp 0x100bb32e