Function at 0x100ebc30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x100ebcf0
mov esi, ecx
xor ebx, ebx
cmp dword [ecx + 0x20], 0
jne 0x100ebd02
cmp dword [esi + 0x24], 0
jne 0x100ebd02
cmp dword [esi + 0x34], 0
jne 0x100ebd02
mov edi, edx
mov ebx, dword [esi + 0xc]
add ebx, 0xc
mov ecx, esi
call fcn.100e99c0
xor edx, edx
mov ecx, 0
test eax, eax
je 0x100ebc8a
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
push edx
push edx
mov dword [ebp - 0x24], ebx
push ebx
call fcn.100825b0
add esp, 0xc
test eax, eax
je 0x100ebd16
mov ebx, eax
push 0
push eax
call sym.nss3.dll_CERT_IsCACert
add esp, 8
mov dword [ebp - 0x1c], eax
push ebx
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
xor edx, edx
cmp dword [ebp - 0x1c], 0
je 0x100ebd1d
push edx
push edx
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.100825b0
add esp, 0xc
test eax, eax
je 0x100ebd22
cmp dword [eax + 0x170], 0
sete cl
mov dword [ebp - 0x1c], ecx
push eax
call sym.nss3.dll_CERT_DestroyCertificate
mov edx, dword [ebp - 0x1c]
add esp, 4
jmp 0x100ebd24
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x24]
xor edx, edx
jmp 0x100ebd24
mov ebx, dword [ebp - 0x24]
jmp 0x100ebd24
mov dl, 1
test edi, edi
je 0x100ebd55
xor eax, eax
push eax
push eax
push eax
push ebx
push dword [0x101dec3c]
call sym.nss3.dll_CERT_NewTempCertificate
add esp, 0x14
test eax, eax
je 0x100ebdb1
mov edi, eax
push dword [ebp + 8]
push 1
push dword [ebp - 0x20]
push eax
push dword [esi + 0x40]
call fcn.100ae340
jmp 0x100ebda1
mov ecx, dword [esi + 0x4c]
cmp ecx, 1
setne al
test ecx, ecx
je 0x100ebdf6
or dl, al
je 0x100ebdf6
mov ecx, ebx
mov ebx, dword [esi + 0x40]
xor eax, eax
push 1
push eax
push eax
push ecx
push dword [0x101dec3c]
call sym.nss3.dll_CERT_NewTempCertificate
add esp, 0x14
test eax, eax
je 0x100ebe70
mov edi, eax
sub esp, 4
push dword [ebp - 0x20]
push 0
push eax
push ebx
call sym.nss3.dll_PK11_ImportCert
add esp, 0x14
mov ebx, eax
push edi
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
jmp 0x100ebe1d
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100ebdc3
push 1
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
cmp dword [0x101de200], 0
je 0x100ebeaf
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ebe8d
mov eax, dword [eax + 0x28]
mov dword [esi + 0x38], eax
mov dword [esi + 0x20], 1
jmp 0x100ebcff
lea eax, [ebp - 0x18]
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ecx
xor edx, edx
inc edx
push dword [ebp - 0x20]
push ecx
push edx
push ecx
push eax
push edx
push 7
push dword [0x101dec3c]
call sym.nss3.dll_CERT_ImportCerts
add esp, 0x20
mov ebx, eax
test ebx, ebx
mov eax, dword [ebp - 0x28]
je 0x100ebe4f
mov dword [esi + 0x20], 1
cmp dword [0x101de200], 0
je 0x100ebea8
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ebe75
mov eax, dword [eax + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x28]
jmp 0x100ebe51
xor ebx, ebx
mov dword [esi + 0x34], 1
test eax, eax
je 0x100ebd02
push 1
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
jmp 0x100ebd02
xor ebx, ebx
dec ebx
jmp 0x100ebe24
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100ebe44
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100ebde4
call fcn.100745e0
jmp 0x100ebe34
call fcn.100745e0
jmp 0x100ebdd0