Function at 0x100cca20
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 0x100cca5c
mov edi, dword [ecx + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cccae
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._________________vk]
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 0x100ccbdb
cmp byte [ebx + 1], 0
je 0x100ccbe2
cmp byte [ebx + 2], 0
je 0x100ccbea
cmp byte [ebx + 3], 0
je 0x100ccbf4
cmp byte [ebx + 4], 0
je 0x100ccbfe
cmp byte [ebx + 5], 0
je 0x100ccc08
cmp byte [ebx + 6], 0
je 0x100ccc12
cmp byte [ebx + 7], 0
je 0x100ccc1c
cmp byte [ebx + 8], 0
je 0x100ccc26
cmp byte [ebx + 9], 0
je 0x100ccc30
cmp byte [ebx + 0xa], 0
je 0x100ccc3a
cmp byte [ebx + 0xb], 0
je 0x100ccc44
cmp byte [ebx + 0xc], 0
je 0x100ccc4e
cmp byte [ebx + 0xd], 0
je 0x100ccc58
cmp byte [ebx + 0xe], 0
je 0x100ccc62
cmp byte [ebx + 0xf], 0
je 0x100ccc6c
cmp byte [ebx + 0x10], 0
je 0x100ccc76
cmp byte [ebx + 0x11], 0
je 0x100ccc7d
cmp byte [ebx + 0x12], 0
je 0x100ccc84
cmp byte [ebx + 0x13], 0
je 0x100ccc8b
cmp byte [ebx + 0x14], 0
je 0x100ccc92
cmp byte [ebx + 0x15], 0
je 0x100ccc99
cmp byte [ebx + 0x16], 0
je 0x100ccca0
cmp byte [ebx + 0x17], 0
je 0x100ccca7
cmp byte [ebx + 0x18], 0
je 0x100ccccb
cmp byte [ebx + 0x19], 0
je 0x100cccd2
cmp byte [ebx + 0x1a], 0
je 0x100cccd9
cmp byte [ebx + 0x1b], 0
je 0x100ccce0
cmp byte [ebx + 0x1c], 0
je 0x100ccce7
cmp byte [ebx + 0x1d], 0
je 0x100cccee
cmp byte [ebx + 0x1e], 0
je 0x100cccf5
cmp byte [ebx + 0x1f], 0
jne 0x100ccd0f
mov eax, 0x1f
jmp 0x100cccfa
xor eax, eax
jmp 0x100cccfa
xor eax, eax
inc eax
jmp 0x100cccfa
mov eax, 2
jmp 0x100cccfa
mov eax, 3
jmp 0x100cccfa
mov eax, 4
jmp 0x100cccfa
mov eax, 5
jmp 0x100cccfa
mov eax, 6
jmp 0x100cccfa
mov eax, 7
jmp 0x100cccfa
mov eax, 8
jmp 0x100cccfa
mov eax, 9
jmp 0x100cccfa
mov eax, 0xa
jmp 0x100cccfa
mov eax, 0xb
jmp 0x100cccfa
mov eax, 0xc
jmp 0x100cccfa
mov eax, 0xd
jmp 0x100cccfa
mov eax, 0xe
jmp 0x100cccfa
mov eax, 0xf
jmp 0x100cccfa
mov eax, 0x10
jmp 0x100cccfa
mov eax, 0x11
jmp 0x100cccfa
mov eax, 0x12
jmp 0x100cccfa
mov eax, 0x13
jmp 0x100cccfa
mov eax, 0x14
jmp 0x100cccfa
mov eax, 0x15
jmp 0x100cccfa
mov eax, 0x16
jmp 0x100cccfa
mov eax, 0x17
jmp 0x100cccfa
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x100cca4c
mov eax, 0x18
jmp 0x100cccfa
mov eax, 0x19
jmp 0x100cccfa
mov eax, 0x1a
jmp 0x100cccfa
mov eax, 0x1b
jmp 0x100cccfa
mov eax, 0x1c
jmp 0x100cccfa
mov eax, 0x1d
jmp 0x100cccfa
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 0x100ccd24
inc ecx
cmp ecx, esi
jb 0x100ccd1a
cmp ecx, esi
jae 0x100ccd39
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 0x100ccd45
inc eax
cmp eax, edi
jb 0x100ccd3b
cmp eax, edi
jae 0x100ccd5a
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 0x100ccd6c
inc eax
cmp eax, ebx
jb 0x100ccd62
cmp eax, ebx
jae 0x100ccd81
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 0x100ccd92
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100ccdb2
push eax
call fcn.100a9930
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100ccdb4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret