Function at 0x100c8500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 1
mov edi, dword [ebx + 8]
mov dword [ebp - 0x20], ecx
test edx, edx
mov dword [ebp - 0x30], edx
je 0x100c8534
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
jmp 0x100c8538
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
lea esi, [ebp - 0x24]
push esi
push edi
call fcn.100bd840
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [esi], 0
je 0x100c8559
cmp dword [edi + 0x30], 0
jne 0x100c8585
mov dword [ebp - 0x2c], ebx
mov ebx, dword [edi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100c86d4
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x76]
mov esi, dword [ebx + 4]
call dword [section..00cfg]
lea eax, [ebp - 0x20]
push esi
push eax
mov esi, dword [ebp - 0x28]
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x100c85f8
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c85b4
cmp dword [edi + 0x30], 0
jne 0x100c85c2
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
push esi
push edi
call fcn.100bd900
add esp, 0xc
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
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x30]
push dword [ebp + 8]
call sym.nss3.dll_PK11_GetBlockSize
add esp, 8
push eax
push esi
call fcn.100bcf70
add esp, 8
test eax, eax
je 0x100c86a2
mov esi, eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x7a]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov ebx, dword [esi + 8]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call ecx
add esp, 0x14
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c8664
cmp dword [edi + 0x30], 0
jne 0x100c8672
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push edi
call fcn.100bd900
add esp, 0xc
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 8], eax
test ebx, ebx
jne 0x100c85cd
xor esi, esi
jmp 0x100c85e4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c86af
cmp dword [edi + 0x30], 0
jne 0x100c86bd
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push edi
call fcn.100bd900
add esp, 0xc
mov eax, 0xffffe013
jmp 0x100c85d6
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100c8575