Function at 0x100c81e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov edi, dword [ebp + 0x14]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
mov dword [eax], ebx
lea ecx, [ebp - 0x1c]
mov dword [ecx], ebx
mov dword [ebp - 0x2c], 1
mov esi, dword [ebp + 0x10]
push ecx
push eax
push esi
push edi
push 0x106
push 0x104
push dword [ebp + 8]
call fcn.100c8060
add esp, 0x1c
test eax, eax
je 0x100c8265
lea ebx, [edi + 0x18]
cmp dword [edi + 0x1c], 0
je 0x100c83a6
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100c83d5
mov ecx, esi
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call fcn.100c8500
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
jmp 0x100c849b
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ebp - 0x4c], eax
cmovne edi, eax
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x1c]
test eax, eax
mov dword [ebp - 0x48], eax
cmovne esi, eax
mov dword [ebp - 0x3c], esi
mov edx, dword [esi + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov dword [ebp - 0x30], edx
jne 0x100c82b0
xor eax, eax
push eax
push eax
push esi
call fcn.100b9480
mov edx, dword [ebp - 0x30]
add esp, 0xc
mov ebx, eax
mov ecx, eax
test eax, eax
je 0x100c84a3
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
lea ebx, [ebp - 0x2c]
push ebx
push edx
call fcn.100bd840
mov ecx, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebx], 0
mov esi, dword [ebp - 0x40]
je 0x100c82ec
cmp dword [ecx + 0x30], 0
jne 0x100c8315
mov edi, dword [ecx + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100c84d6
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov ecx, dword [eax + 0xf2]
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 4]
mov esi, dword [esi + 4]
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + 4]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x28]
push eax
push ebx
push esi
push edi
push edx
mov esi, dword [ebp - 0x44]
push esi
call ecx
mov ecx, dword [ebp - 0x30]
add esp, 0x18
mov ebx, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100c8358
cmp dword [ecx + 0x30], 0
jne 0x100c8369
push dword [ecx + 0x3c]
call sym.nss3.dll_PR_Unlock
mov ecx, dword [ebp - 0x30]
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
push esi
push ecx
call fcn.100bd900
add esp, 0xc
test ebx, ebx
je 0x100c8408
mov ecx, dword [ebp - 0x40]
lea edi, [ecx + 0x18]
cmp dword [ecx + 0x1c], 0
mov esi, dword [ebp + 0x18]
je 0x100c843d
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
push esi
push edi
push dword [ebp + 8]
call fcn.100c8500
add esp, 0xc
mov ebx, eax
jmp 0x100c8413
mov eax, dword [edi + 8]
test eax, eax
je 0x100c846e
push ebx
push 0
push 0x11
push dword [edi + 4]
push eax
call fcn.100bd110
add esp, 0x14
test eax, eax
jne 0x100c847d
mov eax, dword [edi + 0x20]
mov dword [edi + 0x30], eax
jmp 0x100c8236
xor eax, eax
push eax
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.100b9480
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp + 0x10]
mov edx, eax
push dword [ebp + 0x18]
push ebx
push esi
call fcn.100c8500
add esp, 0xc
mov ebx, eax
test edi, edi
je 0x100c848f
push 1
push edi
jmp 0x100c8433
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 8], eax
xor ebx, ebx
push dword [ebp - 0x4c]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
push dword [ebp - 0x48]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100c848f
push 1
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
jmp 0x100c848f
mov eax, dword [ecx + 8]
test eax, eax
je 0x100c84bf
push edi
push 0
push 0x11
push dword [ecx + 4]
push eax
mov dword [ebp - 0x30], edi
mov edi, ecx
call fcn.100bd110
add esp, 0x14
mov ebx, eax
test eax, eax
jne 0x100c8413
mov eax, dword [edi + 0x20]
mov dword [edi + 0x30], eax
mov edi, dword [ebp - 0x30]
jmp 0x100c838f
push 0
push 0xffffe028
call sym.nss3.dll_PR_SetError
add esp, 8
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x34], 0
jmp 0x100c82bf
push 0
push 0xffffe028
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
jmp 0x100c8413
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100c8305