Function at 0x100e90d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov esi, ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx + 4]
call fcn.100e7090
add esp, 4
cmp eax, 0x1e
jne 0x100e9134
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100e920b
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 0x10]
mov edi, dword [esi + 0x3c]
call dword [section..00cfg]
push ebx
push edi
mov edi, dword [ebp + 0xc]
call ecx
add esp, 8
mov ebx, eax
mov dword [edi + 0x40], 0
test eax, eax
jne 0x100e9275
jmp 0x100e92db
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x100e9202
cmp dword [eax], 0
je 0x100e9202
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
lea ebx, [ebp - 0x1c]
push dword [esi + 0x14]
push ecx
push edx
push eax
push ebx
call fcn.100a5b20
add esp, 0x14
test eax, eax
je 0x100e921a
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x34], eax
mov dword [ebp - 0x20], 0
cmp dword [eax + 0xdc], 0
mov ebx, 0
je 0x100e91a0
add eax, 0xd8
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e91a0
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x100e91bf
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e91bf
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp ebx, dword [ebp - 0x20]
jne 0x100e9223
xor ecx, ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0
je 0x100e91e4
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
xor ecx, ecx
add esp, 4
test eax, eax
je 0x100e91e4
mov ecx, dword [eax + 0xc]
cmp ebx, 0x10
jne 0x100e922c
push ecx
call sym.nss3.dll_SECOID_FindOIDByTag_Util
add esp, 4
test eax, eax
je 0x100e933b
mov eax, dword [eax + 0x14]
jmp 0x100e933e
mov dword [esi + 0x34], 0xffffe02d
jmp 0x100e9235
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x40], 0
jmp 0x100e92db
mov dword [esi + 0x34], 0xffffe02d
jmp 0x100e9233
mov dword [esi + 0x34], 0xffffe02e
jmp 0x100e9233
mov dword [esi + 0x34], 0xffffe030
xor ebx, ebx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100e9245
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100e925b
lock dec dword [eax + 0x48]
jne 0x100e925b
push eax
call fcn.100c9d60
add esp, 4
test ebx, ebx
je 0x100e92db
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x10]
push eax
push ebx
call fcn.100c5f00
add esp, 8
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x100e92df
add edi, 0x10
call dword [section..00cfg]
push ebx
push edi
call ecx
add esp, 8
test eax, eax
je 0x100e92df
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100e929d
lock inc dword [ebx + 0x2c]
mov dword [eax], ebx
push edi
push ebx
call fcn.100ea3a0
add esp, 8
mov edi, eax
push ebx
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
test edi, edi
je 0x100e930a
xor eax, eax
cmp dword [esi + 8], 0
setne al
mov ecx, dword [esi]
mov dword [ecx + 0x20], 0x100e93e0
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], edi
xor edi, edi
jmp 0x100e92f6
xor ebx, ebx
jmp 0x100e92e6
mov dword [esi + 0x34], 0xffffe031
push ebx
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
xor edi, edi
cmp edi, dword [esi + 8]
sbb edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x101f2f50], 0
je 0x100e93c5
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e9392
mov eax, dword [eax + 0x28]
mov dword [esi + 0x34], eax
xor eax, eax
push eax
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e92e6
xor eax, eax
dec eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
push 0
push 0x105
push eax
push ecx
push dword [ebp - 0x18]
call sym.nss3.dll_PK11_PubUnwrapSymKey
add esp, 0x14
mov ebx, eax
test eax, eax
jne 0x100e9235
cmp dword [0x101f2f50], 0
je 0x100e93cf
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e93ad
mov eax, dword [eax + 0x28]
mov dword [esi + 0x34], eax
xor ebx, ebx
push ebx
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e9235
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e9327
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e937b
call fcn.100029d0
jmp 0x100e9317
call fcn.100029d0
jmp 0x100e936b