Function at 0x100c6f50
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 [0x101ef014]
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 0x100c6f84
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
jmp 0x100c6f88
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.100bc280
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [esi], 0
je 0x100c6fa9
cmp dword [edi + 0x30], 0
jne 0x100c6fd5
mov dword [ebp - 0x2c], ebx
mov ebx, dword [edi + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100c7124
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 0x100c7048
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c7004
cmp dword [edi + 0x30], 0
jne 0x100c7012
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.100bc340
add esp, 0xc
push ebx
call fcn.100a9930
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.10156ff0
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.100bb9b0
add esp, 8
test eax, eax
je 0x100c70f2
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 0x100c70b4
cmp dword [edi + 0x30], 0
jne 0x100c70c2
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.100bc340
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 0x100c701d
xor esi, esi
jmp 0x100c7034
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c70ff
cmp dword [edi + 0x30], 0
jne 0x100c710d
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.100bc340
add esp, 0xc
mov eax, 0xffffe013
jmp 0x100c7026
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x100c6fc5