Function at 0x100c3ee0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x58], eax
mov esi, dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 4]
lea ecx, [eax - 1]
cmp ecx, 5
ja 0x100c3f30
mov eax, dword [eax*4 + 0x101a9e40]
jmp 0x100c3f33
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
cmp dword [esi + 0x30], 0
jne 0x100c3f63
mov ebx, dword [esi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100c41b9
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
lea eax, [esp + 0x2c]
push eax
push sym.nss3.dll_SECMOD_CanDeleteInternalModule
push esi
push 4
push edi
call ecx
add esp, 0x14
mov edi, eax
test eax, eax
je 0x100c3f91
mov eax, dword [esi + 0x38]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x30], 0
jne 0x100c3fa2
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x100c3fda
mov edi, dword [esi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100c419c
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
jmp 0x100c3fe0
cmp dword [esi + 0x30], 0
je 0x100c3fb2
mov eax, dword [esi]
mov ecx, dword [eax + 0xaa]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [esp + 0x20]
push edi
push eax
mov edi, dword [esp + 0x1c]
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x100c4022
mov ebx, eax
cmp dword [esp + 0xc], 0
je 0x100c4091
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100c40fb
xor edi, edi
lea ebx, [esp + 0x1c]
mov dword [ebx], edi
mov eax, dword [esi]
mov ecx, dword [eax + 0xae]
call dword [section..00cfg]
mov eax, 0x14
lea edx, [esp + 0x40]
push ebx
push edi
mov edi, dword [esp + 0x1c]
push eax
push edx
mov ebx, edx
push edi
call ecx
add esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xae]
call dword [section..00cfg]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, 0x14
push eax
push ebx
push edi
call ecx
add esp, 0x14
cmp dword [esp + 0xc], 0
je 0x100c40fe
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100c4162
cmp dword [esi + 0x30], 0
jne 0x100c40e0
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100c40e0
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100c41d6
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
mov edi, dword [esp + 0x14]
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 0x100c4012
push ebx
jmp 0x100c416b
cmp dword [esi + 0x30], 0
jne 0x100c4147
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100c4147
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100c41f5
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [esp + 0x14]
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 0x100c4081
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100c4196
push eax
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x1c]
jmp 0x100c4181
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100c3fcb
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x100c3f56
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x100c40c7
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100c4132