Function at 0x100ea690
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 [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx + 4]
call fcn.100e8650
add esp, 4
cmp eax, 0x1e
jne 0x100ea6f4
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100ea7cb
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 0x100ea835
jmp 0x100ea89b
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x100ea7c2
cmp dword [eax], 0
je 0x100ea7c2
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.100a70e0
add esp, 0x14
test eax, eax
je 0x100ea7da
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x34], eax
mov dword [ebp - 0x20], 0
cmp dword [eax + 0xdc], 0
mov ebx, 0
je 0x100ea760
add eax, 0xd8
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100ea760
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x100ea77f
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100ea77f
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp ebx, dword [ebp - 0x20]
jne 0x100ea7e3
xor ecx, ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0
je 0x100ea7a4
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
xor ecx, ecx
add esp, 4
test eax, eax
je 0x100ea7a4
mov ecx, dword [eax + 0xc]
cmp ebx, 0x10
jne 0x100ea7ec
push ecx
call sym.nss3.dll_SECOID_FindOIDByTag_Util
add esp, 4
test eax, eax
je 0x100ea8fb
mov eax, dword [eax + 0x14]
jmp 0x100ea8fe
mov dword [esi + 0x34], 0xffffe02d
jmp 0x100ea7f5
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x40], 0
jmp 0x100ea89b
mov dword [esi + 0x34], 0xffffe02d
jmp 0x100ea7f3
mov dword [esi + 0x34], 0xffffe02e
jmp 0x100ea7f3
mov dword [esi + 0x34], 0xffffe030
xor ebx, ebx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100ea805
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100ea81b
lock dec dword [eax + 0x48]
jne 0x100ea81b
push eax
call fcn.100cb320
add esp, 4
test ebx, ebx
je 0x100ea89b
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x10]
push eax
push ebx
call fcn.100c74b0
add esp, 8
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x100ea89f
add edi, 0x10
call dword [section..00cfg]
push ebx
push edi
call ecx
add esp, 8
test eax, eax
je 0x100ea89f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100ea85d
lock inc dword [ebx + 0x2c]
mov dword [eax], ebx
push edi
push ebx
call fcn.100eb960
add esp, 8
mov edi, eax
push ebx
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
test edi, edi
je 0x100ea8ca
xor eax, eax
cmp dword [esi + 8], 0
setne al
mov ecx, dword [esi]
mov dword [ecx + 0x20], 0x100ea9a0
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 0x100ea8b6
xor ebx, ebx
jmp 0x100ea8a6
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.10157a00
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x101f4f80], 0
je 0x100ea985
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ea952
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 0x100ea8a6
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 0x100ea7f5
cmp dword [0x101f4f80], 0
je 0x100ea98f
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ea96d
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 0x100ea7f5
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100ea8e7
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100ea93b
call fcn.1001b2e0
jmp 0x100ea8d7
call fcn.1001b2e0
jmp 0x100ea92b