Function at 0x100a31b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ebx + 0x60]
mov esi, dword [ebx + 0x64]
cmp byte [0x101f307c], 0
jne 0x100a31e9
cmp dword [0x101f2f50], 0
je 0x100a33b9
mov byte [0x101f307c], 1
test byte [ebx + 0x47], 0x20
jne 0x100a320c
call sym.nss3.dll_PK11_GetInternalKeySlot
test eax, eax
je 0x100a320c
mov edi, dword [eax + 0x60]
mov esi, dword [eax + 0x64]
lock dec dword [eax + 0x48]
jne 0x100a320c
mov dword [esp], eax
call fcn.100c9d60
cmp edi, 1
jne 0x100a328f
call sym.nss3.dll_PR_Now
mov ecx, eax
mov edi, edx
mov edx, 0x3938700
mov eax, esi
imul edx
add eax, dword [ebx + 0x70]
adc edx, dword [ebx + 0x74]
cmp eax, ecx
sbb edx, edi
jge 0x100a3289
mov edi, dword [ebx + 0x3c]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a3398
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x38]
mov ecx, dword [eax + 0x4e]
call dword [section..00cfg]
mov dword [esp], esi
call ecx
mov dword [ebx + 0x134], 0
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
jmp 0x100a328f
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], edi
mov edi, dword [ebx + 0x3c]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a3381
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov bl, byte [0x101f307c]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x134]
cmp dword [0x101f2f50], 0
je 0x100a33af
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
test edi, edi
je 0x100a3308
xor bl, 1
test bl, 1
jne 0x100a3308
mov eax, esi
sub eax, edi
cmp eax, 0x3e7
ja 0x100a3308
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x138]
mov dword [ebp - 0x1c], eax
jmp 0x100a334e
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov edi, dword [ebx + 0x38]
mov ecx, dword [eax + 0x3e]
call dword [section..00cfg]
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
test eax, eax
je 0x100a333f
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov dword [ebx + 0x38], 0
xor esi, esi
jmp 0x100a336d
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x138], eax
mov dword [ebx + 0x134], esi
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 1]
xor esi, esi
cmp ecx, 3
ja 0x100a336d
mov esi, dword [eax*4 + 0x101bb07c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x100a32ad
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x100a324d
call fcn.100029e0
jmp 0x100a32db
call fcn.100029e0
jmp 0x100a31e2