Function at 0x100e1b60
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 0x100e1b7b
cmp dword [esi + 0xc], 0
je 0x100e1b91
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 0x100e1b7b
cmp dword [ebp + 0xc], 0
je 0x100e1f45
cmp dword [ecx], 0
je 0x100e1fc3
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
call fcn.100e2e90
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100e1f59
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
test edi, edi
je 0x100e1f59
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
mov edx, edi
call fcn.100e3ae0
test eax, eax
je 0x100e1f09
mov ebx, eax
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e1e17
cmp dword [eax + 0xc], 0xa2
jne 0x100e1e17
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e1e17
cmp dword [eax + 0xc], 0xa2
jne 0x100e1e17
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e1e17
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100e1e17
mov eax, dword [eax]
test eax, eax
je 0x100e1e17
mov dword [ebp - 0x18], 0
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e1de9
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
add eax, 0xffffff55
cmp eax, 1
ja 0x100e1de9
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100e1cb8
mov eax, dword [eax]
test eax, eax
je 0x100e1cc7
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100e1c9f
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x10]
je 0x100e1e04
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e1c8a
jmp 0x100e1cc7
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 0x100e2006
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 0x100e201e
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100e1d33
xor ecx, ecx
mov esi, ecx
inc ecx
cmp dword [eax + esi*4], 0
jne 0x100e1d02
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 0x100e1d52
jmp 0x100e201e
push 8
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e2017
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 0x100e1d69
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 0x100e201e
push 8
push dword [edi + 0x18]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e1d94
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 0x100e201e
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 0x100e201e
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 0x100e1c56
jmp 0x100e1e17
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jne 0x100e1de9
jmp 0x100e1cc7
mov eax, dword [ebx]
mov dword [edi + 0x28], 1
test eax, eax
je 0x100e1e7e
mov eax, dword [eax + 0xc]
add eax, 0xc
xor ecx, ecx
push ecx
push ecx
push eax
call fcn.1007a6c0
add esp, 0xc
test eax, eax
je 0x100e1e90
mov esi, eax
push dword [ebp - 0x1c]
push eax
push dword [edi + 0x40]
call fcn.100a55a0
add esp, 0xc
test eax, eax
jne 0x100e1e63
push dword [ebp - 0x1c]
push esi
push dword [edi + 0x40]
call sym.nss3.dll_PK11_FindKeyByDERCert
add esp, 0xc
test eax, eax
je 0x100e1e73
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 0x100e1ebc
xor eax, eax
inc eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x38], 0xffffe05d
jmp 0x100e1ebc
xor eax, eax
inc eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
cmp dword [0x101f2f50], 0
je 0x100e1f3b
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e1f20
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
mov esi, dword [ebx]
test esi, esi
je 0x100e1f09
add ebx, 4
mov dword [esi + 0x2c], 1
cmp dword [edi + 0x20], 0
je 0x100e1ee1
mov dword [esi + 0x20], 1
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
jmp 0x100e1f00
mov ecx, esi
mov edx, edi
push dword [ebp + 0xc]
call fcn.100e3c90
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100e1f00
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 0x100e1ec5
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 0x100e1bd6
jmp 0x100e1f59
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e1eb6
call fcn.100029d0
jmp 0x100e1ea6
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100e1fcf
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebx]
test edi, edi
mov esi, dword [ebp + 8]
je 0x100e1fc3
add ebx, 4
cmp dword [edi + 0x28], 0
jne 0x100e1fba
push edi
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e1fb3
mov eax, dword [eax + 0xc]
lea ecx, [eax - 0xa2]
cmp ecx, 2
jae 0x100e1f9b
xor eax, eax
inc eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x38], 0xffffe05d
jmp 0x100e1fba
cmp eax, 0xa4
jne 0x100e1fb3
mov ecx, edi
xor edx, edx
push dword [ebp + 0xc]
call fcn.100e3c90
add esp, 4
jmp 0x100e1fba
mov dword [edi + 0x24], 1
mov edi, dword [ebx]
add ebx, 4
test edi, edi
jne 0x100e1f68
mov dword [esi + 0x134], 1
xor eax, eax
mov edx, dword [esi + 0x84]
mov edi, dword [edx]
test edi, edi
je 0x100e1b89
add edx, 4
xor ebx, ebx
xor esi, esi
cmp dword [edi + 0x20], 0
je 0x100e1ff0
inc esi
mov ebx, dword [edi + 0x38]
mov edi, dword [edx]
add edx, 4
test edi, edi
jne 0x100e1fe6
test esi, esi
jne 0x100e1b7b
jmp 0x100e1b89
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e201e
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 1
cmp dword [0x101f2f50], 0
je 0x100e2064
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp + 8]
je 0x100e204c
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
jmp 0x100e1f54
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e2041
call fcn.100029d0
jmp 0x100e202e