Function at 0x100d0c00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
xor esi, esi
push esi
push esi
call sym.nss3.dll_PR_SetErrorText
add esp, 8
cmp dword [0x101f53dc], esi
je 0x100d0c72
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.100c1390
add esp, 0x14
test eax, eax
je 0x100d0c81
mov esi, eax
mov eax, dword [eax + 0x10]
xor edi, edi
dec edi
test eax, eax
je 0x100d0e0a
cmp byte [eax], 0
je 0x100d0e0a
push dword [esi + 0x14]
call sym.nss3.dll_SECMOD_FindModule
add esp, 4
test eax, eax
je 0x100d0c89
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov edi, 0xfffffffe
jmp 0x100d0e0a
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x100d0e13
push 0
push esi
call fcn.100b7820
add esp, 8
mov edi, eax
test eax, eax
jne 0x100d0e0a
cmp dword [esi + 0x50], 0
jne 0x100d0ceb
mov ebx, dword [0x101f53e4]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100d0e3a
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
inc dword [ebx + 0x24]
push dword [ebx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [esi + 0x50], ebx
push esi
call fcn.100c2e60
add esp, 4
cmp dword [esi + 4], 0
je 0x100d0d3d
cmp dword [0x101f53e0], 0
jne 0x100d0d3d
mov ebx, dword [esi + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100d0e1d
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [0x101f53e0], esi
push esi
push 0x101f53e8
call fcn.100d0370
add esp, 8
push esi
call fcn.1009ac50
add esp, 4
mov edi, eax
test eax, eax
jne 0x100d0e0a
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x40], eax
push dword [0x101f53dc]
call fcn.100d4620
add esp, 4
cmp dword [esi + 0x2c], 0
jle 0x100d0dd0
xor ecx, ecx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebx + 0x101c0170]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
test dword [eax + 4], edx
setne cl
push ecx
push eax
push dword [ebp - 0x10]
call sym.nss3.dll_PK11_UpdateSlotAttribute
add esp, 0xc
test eax, eax
jne 0x100d0dfa
add ebx, 0xc
cmp ebx, 0xfc
jne 0x100d0d88
bt dword [ebp + 0x10], 0x1e
jae 0x100d0dc7
push dword [ebp - 0x10]
call sym.nss3.dll_PK11_UserDisableSlot
add esp, 4
mov ecx, dword [ebp - 0x14]
inc ecx
cmp ecx, dword [esi + 0x2c]
jl 0x100d0d7a
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
push esi
call fcn.100c3050
add esp, 4
mov edi, eax
test eax, eax
jne 0x100d0e0a
push esi
call fcn.100c2e60
add esp, 4
mov edi, eax
jmp 0x100d0e0a
mov edi, eax
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
push esi
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100d0d1c
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x100d0cc7