Function at 0x100cd440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ecx + 0x18], 0
je 0x100cd475
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
cmp dword [ecx + 0xc], 0
je 0x100cd488
cmp dword [esi + 0x38], 0
je 0x100cd488
xor ebx, ebx
inc ebx
jmp 0x100cd45e
mov ebx, dword [esi + 0x140]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100cd64f
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov edi, dword [esi + 0x13c]
test edi, edi
je 0x100cd4fd
lock inc dword [edi + 8]
mov eax, dword [esi + 0x140]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call fcn.100964d0
mov esi, eax
mov dword [esp], edi
call fcn.10096ae0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
jmp 0x100cd46a
mov eax, dword [esi + 0x140]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.nss3.dll_PK11_GetSlotInfo
test eax, eax
je 0x100cd525
xor ebx, ebx
jmp 0x100cd45e
mov edi, dword [esi + 0x38]
test byte [ebp - 0x18], 1
mov ebx, 0
jne 0x100cd5a7
test edi, edi
je 0x100cd45e
cmp dword [esi + 0x30], 0
jne 0x100cd576
mov ebx, dword [esi + 0x3c]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100cd67d
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov edi, dword [esi + 0x38]
xor ebx, ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
mov dword [esi + 0x38], 0
cmp dword [esi + 0x30], 0
jne 0x100cd45e
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
jmp 0x100cd45e
test edi, edi
je 0x100cd63b
cmp dword [esi + 0x30], 0
je 0x100cd5e8
mov ebx, dword [esi + 0x3c]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100cd666
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov edi, dword [esi + 0x38]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3e]
call dword [section..00cfg]
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
test eax, eax
je 0x100cd620
mov eax, dword [esi]
mov edi, dword [esi + 0x38]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
mov dword [esi + 0x38], 0
cmp dword [esi + 0x30], 0
je 0x100cd631
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [esi + 0x38], 0
jne 0x100cd483
mov dword [esp], esi
call fcn.100cc510
xor ebx, ebx
test eax, eax
sete bl
jmp 0x100cd45e
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100cd4a9
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100cd5d3
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100cd55f