Function at 0x100e92b0
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]
test esi, esi
je 0x100e92c6
cmp dword [esi + 0xc], 0
je 0x100e92e0
push 0
push 0xffffe005
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 edx, dword [esi + 0x84]
test edx, edx
je 0x100e92c6
cmp dword [ebp + 0xc], 0
je 0x100e9739
mov eax, dword [edx]
test eax, eax
je 0x100e97cf
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov edi, edx
xor esi, esi
mov dword [ebp - 0x10], edx
mov ebx, ecx
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e936e
mov eax, dword [eax + 0xc]
and eax, 0xfffffffe
cmp eax, 0xa2
jne 0x100e936e
mov edi, dword [edi]
test edi, edi
je 0x100e9750
mov edx, ebx
test ebx, ebx
je 0x100e9372
xor eax, eax
mov ebx, eax
inc eax
cmp dword [edx + ebx*4], 0
jne 0x100e933e
lea eax, [ebx*4 + 8]
lea ecx, [ebx*4 + 4]
push eax
push ecx
push edx
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaGrow_Util
add esp, 0x10
mov ecx, eax
test eax, eax
jne 0x100e9390
jmp 0x100e9759
mov ecx, ebx
jmp 0x100e939b
push 8
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e9759
mov ecx, eax
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [ecx + ebx*4], edi
mov dword [ecx + ebx*4 + 4], 0
mov edx, dword [ebp - 0x10]
lea edi, [edx + esi*4]
add edi, 4
inc esi
mov eax, dword [edi]
test eax, eax
jne 0x100e9310
test ecx, ecx
je 0x100e9768
mov ebx, dword [ecx]
test ebx, ebx
je 0x100e9768
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov edx, ebx
call fcn.100eb3f0
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x100e9702
mov esi, eax
push ebx
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e960a
cmp dword [eax + 0xc], 0xa2
jne 0x100e960a
push ebx
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e960a
cmp dword [eax + 0xc], 0xa2
jne 0x100e960a
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100e960a
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100e960a
mov eax, dword [eax]
test eax, eax
je 0x100e960a
mov dword [ebp - 0x20], 0
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e95dc
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
add eax, 0xffffff55
cmp eax, 1
ja 0x100e95dc
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100e94ab
mov eax, dword [eax]
test eax, eax
je 0x100e94ba
xor edi, edi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100e9492
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x18]
je 0x100e95f7
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi + 4]
add edi, 4
test eax, eax
jne 0x100e947d
jmp 0x100e94ba
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x100e9818
mov dword [ebp - 0x28], eax
push dword [ebp - 0x18]
call sym.nss3.dll_SECOID_FindOIDByTag_Util
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100e982c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100e9526
xor ecx, ecx
mov edi, ecx
inc ecx
cmp dword [eax + edi*4], 0
jne 0x100e94f5
lea ecx, [edi*4 + 8]
lea edx, [edi*4 + 4]
push ecx
push edx
push eax
push dword [ebx + 0x18]
call sym.nss3.dll_PORT_ArenaGrow_Util
add esp, 0x10
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x100e9545
jmp 0x100e982c
push 8
push dword [ebx + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e9829
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [ebx + 0x10], eax
push 0x10
push dword [ebx + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e955c
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, dword [ebx + 0x10]
mov dword [ecx + edi*4], eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + edi*4], 0
je 0x100e982c
push 8
push dword [ebx + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e9587
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi*4]
cmp dword [ecx + 0xc], 0
je 0x100e982c
xor ecx, ecx
mov dword [eax + edi*4 + 4], ecx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x10]
push dword [ebp - 0x18]
push dword [eax + edi*4]
push dword [ebx + 0x18]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x100e982c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x100e9449
jmp 0x100e960a
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jne 0x100e95dc
jmp 0x100e94ba
mov eax, dword [esi]
mov dword [ebx + 0x28], 1
test eax, eax
je 0x100e9671
mov eax, dword [eax + 0xc]
add eax, 0xc
xor ecx, ecx
push ecx
push ecx
push eax
call fcn.100825b0
add esp, 0xc
test eax, eax
je 0x100e9683
mov edi, eax
push dword [ebp - 0x24]
push eax
push dword [ebx + 0x40]
call fcn.100acce0
add esp, 0xc
test eax, eax
jne 0x100e9656
push dword [ebp - 0x24]
push edi
push dword [ebx + 0x40]
call sym.nss3.dll_PK11_FindKeyByDERCert
add esp, 0xc
test eax, eax
je 0x100e9666
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov dword [ebx + 0x24], 1
push edi
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
jmp 0x100e96af
xor eax, eax
inc eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x38], 0xffffe05d
jmp 0x100e96af
xor eax, eax
inc eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
cmp dword [0x101de200], 0
je 0x100e972f
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e9714
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x38], eax
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi]
test edi, edi
je 0x100e9702
add esi, 4
mov dword [edi + 0x2c], 1
cmp dword [ebx + 0x20], 0
je 0x100e96d7
mov dword [edi + 0x20], 1
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
jmp 0x100e96f9
mov ecx, edi
mov edx, ebx
push dword [ebp + 0xc]
call fcn.100eb5b0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
je 0x100e96f9
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x100e96bb
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ecx + eax*4 + 4]
inc eax
test ebx, ebx
jne 0x100e93c6
jmp 0x100e9768
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100e96a9
call fcn.100745e0
jmp 0x100e9699
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100e97de
push 0
push 0xffffe005
jmp 0x100e9760
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx]
test esi, esi
je 0x100e97cf
add ebx, 4
xor edi, edi
inc edi
cmp dword [esi + 0x28], 0
jne 0x100e97c6
push esi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e97bf
mov eax, dword [eax + 0xc]
lea ecx, [eax - 0xa2]
cmp ecx, 2
jae 0x100e97a7
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x38], 0xffffe05d
jmp 0x100e97c6
cmp eax, 0xa4
jne 0x100e97bf
mov ecx, esi
xor edx, edx
push dword [ebp + 0xc]
call fcn.100eb5b0
add esp, 4
jmp 0x100e97c6
mov dword [esi + 0x24], 1
mov esi, dword [ebx]
add ebx, 4
test esi, esi
jne 0x100e9777
mov esi, dword [ebp + 8]
mov dword [esi + 0x134], 1
xor eax, eax
mov ecx, dword [esi + 0x84]
mov edi, dword [ecx]
test edi, edi
je 0x100e92d8
add ecx, 4
xor edx, edx
xor esi, esi
cmp dword [edi + 0x20], 0
je 0x100e97ff
inc esi
mov edx, dword [edi + 0x38]
mov edi, dword [ecx]
add ecx, 4
test edi, edi
jne 0x100e97f5
test esi, esi
je 0x100e92d8
push 0
push edx
jmp 0x100e92cd
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e982c
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x20], 1
cmp dword [0x101de200], 0
je 0x100e9872
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp + 8]
je 0x100e985a
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x38], eax
jmp 0x100e9748
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100e984f
call fcn.100745e0
jmp 0x100e983c