Function at 0x100cdfe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x30], 0
jne 0x100ce01c
mov edi, dword [ecx + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ce26e
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov ecx, dword [ebp + 8]
movaps xmm0, xmmword [str.________________]
movups xmmword [ebx + 0x50], xmm0
movups xmmword [ebx + 0x40], xmm0
movups xmmword [ebx + 0x30], xmm0
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
mov eax, dword [ecx]
mov esi, dword [ecx + 0x40]
mov ecx, dword [eax + 0x1a]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
cmp byte [ebx], 0
mov dword [ebp - 0x10], eax
je 0x100ce19b
cmp byte [ebx + 1], 0
je 0x100ce1a2
cmp byte [ebx + 2], 0
je 0x100ce1aa
cmp byte [ebx + 3], 0
je 0x100ce1b4
cmp byte [ebx + 4], 0
je 0x100ce1be
cmp byte [ebx + 5], 0
je 0x100ce1c8
cmp byte [ebx + 6], 0
je 0x100ce1d2
cmp byte [ebx + 7], 0
je 0x100ce1dc
cmp byte [ebx + 8], 0
je 0x100ce1e6
cmp byte [ebx + 9], 0
je 0x100ce1f0
cmp byte [ebx + 0xa], 0
je 0x100ce1fa
cmp byte [ebx + 0xb], 0
je 0x100ce204
cmp byte [ebx + 0xc], 0
je 0x100ce20e
cmp byte [ebx + 0xd], 0
je 0x100ce218
cmp byte [ebx + 0xe], 0
je 0x100ce222
cmp byte [ebx + 0xf], 0
je 0x100ce22c
cmp byte [ebx + 0x10], 0
je 0x100ce236
cmp byte [ebx + 0x11], 0
je 0x100ce23d
cmp byte [ebx + 0x12], 0
je 0x100ce244
cmp byte [ebx + 0x13], 0
je 0x100ce24b
cmp byte [ebx + 0x14], 0
je 0x100ce252
cmp byte [ebx + 0x15], 0
je 0x100ce259
cmp byte [ebx + 0x16], 0
je 0x100ce260
cmp byte [ebx + 0x17], 0
je 0x100ce267
cmp byte [ebx + 0x18], 0
je 0x100ce28b
cmp byte [ebx + 0x19], 0
je 0x100ce292
cmp byte [ebx + 0x1a], 0
je 0x100ce299
cmp byte [ebx + 0x1b], 0
je 0x100ce2a0
cmp byte [ebx + 0x1c], 0
je 0x100ce2a7
cmp byte [ebx + 0x1d], 0
je 0x100ce2ae
cmp byte [ebx + 0x1e], 0
je 0x100ce2b5
cmp byte [ebx + 0x1f], 0
jne 0x100ce2cf
mov eax, 0x1f
jmp 0x100ce2ba
xor eax, eax
jmp 0x100ce2ba
xor eax, eax
inc eax
jmp 0x100ce2ba
mov eax, 2
jmp 0x100ce2ba
mov eax, 3
jmp 0x100ce2ba
mov eax, 4
jmp 0x100ce2ba
mov eax, 5
jmp 0x100ce2ba
mov eax, 6
jmp 0x100ce2ba
mov eax, 7
jmp 0x100ce2ba
mov eax, 8
jmp 0x100ce2ba
mov eax, 9
jmp 0x100ce2ba
mov eax, 0xa
jmp 0x100ce2ba
mov eax, 0xb
jmp 0x100ce2ba
mov eax, 0xc
jmp 0x100ce2ba
mov eax, 0xd
jmp 0x100ce2ba
mov eax, 0xe
jmp 0x100ce2ba
mov eax, 0xf
jmp 0x100ce2ba
mov eax, 0x10
jmp 0x100ce2ba
mov eax, 0x11
jmp 0x100ce2ba
mov eax, 0x12
jmp 0x100ce2ba
mov eax, 0x13
jmp 0x100ce2ba
mov eax, 0x14
jmp 0x100ce2ba
mov eax, 0x15
jmp 0x100ce2ba
mov eax, 0x16
jmp 0x100ce2ba
mov eax, 0x17
jmp 0x100ce2ba
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100ce00c
mov eax, 0x18
jmp 0x100ce2ba
mov eax, 0x19
jmp 0x100ce2ba
mov eax, 0x1a
jmp 0x100ce2ba
mov eax, 0x1b
jmp 0x100ce2ba
mov eax, 0x1c
jmp 0x100ce2ba
mov eax, 0x1d
jmp 0x100ce2ba
mov eax, 0x1e
add eax, ebx
mov ecx, ebx
sub ecx, eax
add ecx, 0x20
push ecx
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x20]
lea esi, [ebx + 0x40]
lea edi, [ebx + 0x50]
mov ecx, eax
cmp byte [ecx], 0
je 0x100ce2e4
inc ecx
cmp ecx, esi
jb 0x100ce2da
cmp ecx, esi
jae 0x100ce2f9
sub eax, ecx
add eax, 0x20
push eax
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, esi
cmp byte [eax], 0
je 0x100ce305
inc eax
cmp eax, edi
jb 0x100ce2fb
cmp eax, edi
jae 0x100ce31a
sub esi, eax
add esi, 0x10
push esi
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add ebx, 0x60
mov eax, edi
mov esi, dword [ebp + 8]
cmp byte [eax], 0
je 0x100ce32c
inc eax
cmp eax, ebx
jb 0x100ce322
cmp eax, ebx
jae 0x100ce341
sub edi, eax
add edi, 0x10
push edi
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x30], 0
jne 0x100ce352
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100ce372
push eax
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100ce374
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret