Function at 0x100e3120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov ebx, 0xffffe005
test esi, esi
je 0x100e313b
cmp dword [esi + 0xc], 0
je 0x100e3151
push 0
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x100e313b
cmp dword [ebp + 0xc], 0
je 0x100e3505
cmp dword [ecx], 0
je 0x100e3583
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
call fcn.100e4450
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100e3519
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
test edi, edi
je 0x100e3519
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
mov edx, edi
call fcn.100e50a0
test eax, eax
je 0x100e34c9
mov ebx, eax
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e33d7
cmp dword [eax + 0xc], 0xa2
jne 0x100e33d7
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e33d7
cmp dword [eax + 0xc], 0xa2
jne 0x100e33d7
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e33d7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100e33d7
mov eax, dword [eax]
test eax, eax
je 0x100e33d7
mov dword [ebp - 0x18], 0
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e33a9
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
add eax, 0xffffff55
cmp eax, 1
ja 0x100e33a9
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100e3278
mov eax, dword [eax]
test eax, eax
je 0x100e3287
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100e325f
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x10]
je 0x100e33c4
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e324a
jmp 0x100e3287
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x100e35c6
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
call sym.nss3.dll_SECOID_FindOIDByTag_Util
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100e35de
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100e32f3
xor ecx, ecx
mov esi, ecx
inc ecx
cmp dword [eax + esi*4], 0
jne 0x100e32c2
lea ecx, [esi*4 + 8]
lea edx, [esi*4 + 4]
push ecx
push edx
push eax
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaGrow_Util
add esp, 0x10
mov dword [edi + 0x10], eax
test eax, eax
jne 0x100e3312
jmp 0x100e35de
push 8
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e35d7
xor esi, esi
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [edi + 0x10], eax
push 0x10
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e3329
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, dword [edi + 0x10]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x10]
cmp dword [eax + esi*4], 0
je 0x100e35de
push 8
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e3354
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + esi*4]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0xc], 0
je 0x100e35de
xor ecx, ecx
mov dword [eax + esi*4 + 4], ecx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x10]
push dword [ebp - 0x10]
push dword [eax + esi*4]
push dword [edi + 0x18]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x100e35de
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x100e3216
jmp 0x100e33d7
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jne 0x100e33a9
jmp 0x100e3287
mov eax, dword [ebx]
mov dword [edi + 0x28], 1
test eax, eax
je 0x100e343e
mov eax, dword [eax + 0xc]
add eax, 0xc
xor ecx, ecx
push ecx
push ecx
push eax
call fcn.1007bc60
add esp, 0xc
test eax, eax
je 0x100e3450
mov esi, eax
push dword [ebp - 0x1c]
push eax
push dword [edi + 0x40]
call fcn.100a6b60
add esp, 0xc
test eax, eax
jne 0x100e3423
push dword [ebp - 0x1c]
push esi
push dword [edi + 0x40]
call sym.nss3.dll_PK11_FindKeyByDERCert
add esp, 0xc
test eax, eax
je 0x100e3433
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov dword [edi + 0x24], 1
push esi
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
jmp 0x100e347c
xor eax, eax
inc eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x38], 0xffffe05d
jmp 0x100e347c
xor eax, eax
inc eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
cmp dword [0x101f4f80], 0
je 0x100e34fb
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e34e0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
mov esi, dword [ebx]
test esi, esi
je 0x100e34c9
add ebx, 4
mov dword [esi + 0x2c], 1
cmp dword [edi + 0x20], 0
je 0x100e34a1
mov dword [esi + 0x20], 1
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
jmp 0x100e34c0
mov ecx, esi
mov edx, edi
push dword [ebp + 0xc]
call fcn.100e5250
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100e34c0
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov esi, dword [ebx]
add ebx, 4
test esi, esi
jne 0x100e3485
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax + ecx*4 + 4]
mov eax, ecx
inc eax
test edi, edi
jne 0x100e3196
jmp 0x100e3519
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e3476
call fcn.1001b2e0
jmp 0x100e3466
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100e358f
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebx]
test edi, edi
mov esi, dword [ebp + 8]
je 0x100e3583
add ebx, 4
cmp dword [edi + 0x28], 0
jne 0x100e357a
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e3573
mov eax, dword [eax + 0xc]
lea ecx, [eax - 0xa2]
cmp ecx, 2
jae 0x100e355b
xor eax, eax
inc eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x38], 0xffffe05d
jmp 0x100e357a
cmp eax, 0xa4
jne 0x100e3573
mov ecx, edi
xor edx, edx
push dword [ebp + 0xc]
call fcn.100e5250
add esp, 4
jmp 0x100e357a
mov dword [edi + 0x24], 1
mov edi, dword [ebx]
add ebx, 4
test edi, edi
jne 0x100e3528
mov dword [esi + 0x134], 1
xor eax, eax
mov edx, dword [esi + 0x84]
mov edi, dword [edx]
test edi, edi
je 0x100e3149
add edx, 4
xor ebx, ebx
xor esi, esi
cmp dword [edi + 0x20], 0
je 0x100e35b0
inc esi
mov ebx, dword [edi + 0x38]
mov edi, dword [edx]
add edx, 4
test edi, edi
jne 0x100e35a6
test esi, esi
jne 0x100e313b
jmp 0x100e3149
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e35de
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 1
cmp dword [0x101f4f80], 0
je 0x100e3624
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp + 8]
je 0x100e360c
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
jmp 0x100e3514
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e3601
call fcn.1001b2e0
jmp 0x100e35ee