Function at 0x100bfae0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x28], edx
mov edi, ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101f1014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [edx]
lea ecx, [ebp - 0x1c]
mov dword [ecx], eax
lea ebx, [ebp - 0x14]
mov dword [ebx], 0
lea eax, [ebp - 0x18]
mov dword [eax], 0x100
mov edx, dword [ebp + 0x1c]
push edx
push 1
push ebx
push eax
push ecx
call fcn.100cf1d0
add esp, 0x14
test eax, eax
je 0x100bfbf5
mov esi, eax
push 0
push edi
push eax
call sym.nss3.dll_PK11_ImportPublicKey
add esp, 0xc
test eax, eax
je 0x100bfc01
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x30], 0
jne 0x100bfb83
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x30], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100bfddd
mov edi, dword [ebp - 0x30]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
push ebx
push sym.nss3.dll_SECMOD_CanDeleteInternalModule
push esi
push 4
push edi
call ecx
add esp, 0x14
mov ebx, eax
test eax, eax
je 0x100bfbac
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x30], 0
jne 0x100bfbbd
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
test ebx, ebx
mov dword [ebp - 0x24], edi
je 0x100bfc1c
mov edi, dword [esi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bfdc0
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [ebp - 0x24]
jmp 0x100bfc22
push 0
push 0xffffe040
jmp 0x100bfd9d
lock dec dword [esi + 0x48]
jne 0x100bfc10
push esi
call fcn.100cb320
add esp, 4
push 0
push 0xffffe00e
jmp 0x100bfd9d
cmp dword [esi + 0x30], 0
je 0x100bfbca
mov eax, dword [esi]
mov ecx, dword [eax + 0x76]
call dword [section..00cfg]
push dword [ebp - 0x2c]
push dword [ebp + 0x18]
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x100bfc55
mov ebx, eax
cmp dword [ebp - 0x30], 0
je 0x100bfc94
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bfcf9
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, dword [eax + 0x7a]
call dword [section..00cfg]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
push edi
mov edi, dword [ebp - 0x24]
push ebx
push edi
call ecx
add esp, 0x14
mov ebx, eax
cmp dword [ebp - 0x30], 0
je 0x100bfd11
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bfd76
cmp dword [esi + 0x30], 0
jne 0x100bfcde
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bfcde
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x2c], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100bfdfb
mov edi, dword [ebp - 0x2c]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [esi + 0x30], 0
je 0x100bfc45
lock dec dword [esi + 0x48]
jne 0x100bfd91
push esi
call fcn.100cb320
add esp, 4
jmp 0x100bfd91
cmp dword [esi + 0x30], 0
jne 0x100bfd5b
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bfd5b
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x2c], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100bfe19
mov edi, dword [ebp - 0x2c]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [esi + 0x30], 0
je 0x100bfc84
mov edi, dword [ebp + 8]
lock dec dword [esi + 0x48]
jne 0x100bfd88
push esi
call fcn.100cb320
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
test ebx, ebx
je 0x100bfdbc
push ebx
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x100bfda8
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100bfbe3
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x24], eax
jmp 0x100bfb70
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x100bfcc8
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x100bfd45