Function at 0x100b0e40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x100b0e7f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100b0e7f
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 8]
je 0x100b0e93
sub esp, 0x18
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x101a7d50]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call fcn.100cdfd0
add esp, 0x18
jmp 0x100b0e99
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100b0fc0
lock inc dword [ecx + 0x2c]
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [edi + 0x2c], 0
cmp dword [edi + 0x18], 0
mov eax, dword [edi + 0xc]
je 0x100b0eb7
cmp dword [eax + 0x30], 0
je 0x100b0eb7
mov esi, dword [edi + 0x14]
jmp 0x100b0eba
mov esi, dword [eax + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100b104b
mov ebx, eax
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
cmp dword [edi + 0x18], 0
je 0x100b0f0a
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x100b0f4c
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0xa2]
mov ebx, dword [edx + 4]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
jmp 0x100b0f7a
mov esi, dword [edi + 0x20]
test esi, esi
je 0x100b0f82
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x46]
mov ebx, dword [edi + 0x10]
call dword [section..00cfg]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push esi
push ebx
call ecx
add esp, 0x14
test eax, eax
je 0x100b0ee3
push eax
call fcn.100b1140
add esp, 4
jmp 0x100b0f87
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x100b0fc5
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x9e]
mov ebx, dword [edx + 0x20]
call dword [section..00cfg]
push ebx
push esi
push dword [ebp - 0x10]
call ecx
add esp, 0xc
test eax, eax
jne 0x100b0fca
xor ebx, ebx
jmp 0x100b0fe1
mov eax, 0xffffe001
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [edi + 0x18], 0
mov eax, dword [edi + 0xc]
je 0x100b0fa8
cmp dword [eax + 0x30], 0
je 0x100b0fa8
add edi, 0x14
mov eax, edi
jmp 0x100b0fab
add eax, 0x3c
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [ebp - 0x14]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
xor ebx, ebx
dec ebx
jmp 0x100b1041
mov eax, 0x63
push eax
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
cmp dword [edi + 0x18], 0
jne 0x100b1011
lea eax, [edi + 0x24]
mov edx, dword [edi + 0x20]
mov ecx, edi
push eax
call fcn.100ae860
add esp, 4
mov dword [edi + 0x20], eax
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ebx, ecx
mov ecx, edi
call fcn.100af050
cmp dword [edi + 0x18], 0
je 0x100b1021
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], 0
je 0x100b1024
add edi, 0x14
mov eax, edi
jmp 0x100b1027
mov eax, dword [edi + 0xc]
add eax, 0x3c
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100b1041
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100b0ece