Function at 0x100c6760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [edi + 8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x100c6799
push ebx
push esi
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x100c67ce
call sym.nss3.dll_PK11_GetInternalSlot
mov esi, eax
mov ecx, eax
mov edx, edi
push 0x8a
push 0
call fcn.100a95e0
add esp, 8
mov edi, eax
lock dec dword [esi + 0x48]
jne 0x100c67c4
push esi
call fcn.100d1c70
add esp, 4
mov ecx, edi
test edi, edi
je 0x100c6909
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp esi, dword [ecx + 8]
je 0x100c6813
xor eax, eax
push ecx
push eax
push eax
push 0x106
push ebx
push esi
call fcn.100cdfd0
xor edx, edx
add esp, 0x18
mov ecx, eax
test eax, eax
jne 0x100c6815
xor esi, esi
dec esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100c6919
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
jmp 0x100c6919
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], ebx
test eax, eax
mov dword [ebp - 0x24], edi
jne 0x100c683f
xor eax, eax
push eax
push eax
push ebx
call fcn.100bf820
add esp, 0xc
mov edx, eax
test eax, eax
je 0x100c692d
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov edi, dword [esi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100c6942
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0xf2]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x24]
push edx
push dword [ebp - 0x30]
call ecx
add esp, 0x18
mov edi, eax
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100c68cf
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
mov esi, dword [ebp - 0x28]
je 0x100c68e2
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
test esi, esi
je 0x100c68f1
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
test edi, edi
je 0x100c690e
push edi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x100c6919
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x100c684b
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100c6867