Function at 0x100d7230
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 [0x101df008], esi
je 0x100d72a2
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.100c7580
add esp, 0x14
test eax, eax
je 0x100d72b1
mov esi, eax
mov eax, dword [eax + 0x10]
xor edi, edi
dec edi
test eax, eax
je 0x100d743a
cmp byte [eax], 0
je 0x100d743a
push dword [esi + 0x14]
call sym.nss3.dll_SECMOD_FindModule
add esp, 4
test eax, eax
je 0x100d72b9
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov edi, 0xfffffffe
jmp 0x100d743a
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x100d7443
push 0
push esi
call fcn.100bdbf0
add esp, 8
mov edi, eax
test eax, eax
jne 0x100d743a
cmp dword [esi + 0x50], 0
jne 0x100d731b
mov ebx, dword [0x101df010]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100d746a
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.100c9250
add esp, 4
cmp dword [esi + 4], 0
je 0x100d736d
cmp dword [0x101df00c], 0
jne 0x100d736d
mov ebx, dword [esi + 0x20]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100d744d
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 [0x101df00c], esi
push esi
push 0x101df014
call fcn.100d6920
add esp, 8
push esi
call fcn.100a0e70
add esp, 4
mov edi, eax
test eax, eax
jne 0x100d743a
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x40], eax
push dword [0x101df008]
call fcn.100da9f0
add esp, 4
cmp dword [esi + 0x2c], 0
jle 0x100d7400
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 + 0x101aac40]
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 0x100d742a
add ebx, 0xc
cmp ebx, 0xfc
jne 0x100d73b8
bt dword [ebp + 0x10], 0x1e
jae 0x100d73f7
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 0x100d73aa
push dword [0x101df008]
call fcn.100daad0
add esp, 4
push esi
call fcn.100c9440
add esp, 4
mov edi, eax
test eax, eax
jne 0x100d743a
push esi
call fcn.100c9250
add esp, 4
mov edi, eax
jmp 0x100d743a
mov edi, eax
push dword [0x101df008]
call fcn.100daad0
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 [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x100d734c
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x100d72f7