Function at 0x100cef30
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 [0x101db014]
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 0x100cef64
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
jmp 0x100cef68
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.100c3ab0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [esi], 0
je 0x100cef89
cmp dword [edi + 0x30], 0
jne 0x100cefb5
mov dword [ebp - 0x2c], ebx
mov ebx, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cf104
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 0x100cf028
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100cefe4
cmp dword [edi + 0x30], 0
jne 0x100ceff2
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.100c3b70
add esp, 0xc
push ebx
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 [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
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.100c31e0
add esp, 8
test eax, eax
je 0x100cf0d2
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 0x100cf094
cmp dword [edi + 0x30], 0
jne 0x100cf0a2
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.100c3b70
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 0x100ceffd
xor esi, esi
jmp 0x100cf014
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100cf0df
cmp dword [edi + 0x30], 0
jne 0x100cf0ed
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.100c3b70
add esp, 0xc
mov eax, 0xffffe013
jmp 0x100cf006
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100cefa5