Function at 0x100eb5b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x100eb745
mov ebx, ecx
mov dword [ecx + 0x28], 1
cmp dword [ebp + 8], 0
je 0x100eb74e
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100eb76f
mov esi, edx
xor ecx, ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x38], ecx
add eax, 0xc
push ecx
push ecx
push eax
call fcn.100825b0
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100eb784
mov dword [ebp - 0x18], 0
cmp dword [ebx + 0x2c], 0
je 0x100eb7b9
test esi, esi
je 0x100eb7c2
mov dword [ebp - 0x24], esi
mov ecx, ebx
call fcn.100e99c0
mov edi, eax
test eax, eax
je 0x100eb7de
push ebx
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100eb8a5
cmp dword [eax + 0xc], 0xa4
jne 0x100eb8a5
push dword [ebx + 0xc]
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100eb8a5
cmp dword [eax + 0xc], 0xa8
jne 0x100eb8a5
mov eax, dword [ebx + 0xc]
add eax, 0xc
push eax
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
test eax, eax
je 0x100eb8a5
mov esi, eax
xor eax, eax
push eax
mov dword [ebp - 0x1c], 0
push eax
push esi
call fcn.100825b0
add esp, 0xc
test eax, eax
je 0x100eb83f
mov dword [ebp - 0x28], eax
push 0x400
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
test eax, eax
je 0x100eb816
push 0x10
push eax
mov dword [ebp - 0x20], eax
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100eb81f
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [ebp - 0x1c], 0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov dword [ebp - 0x30], eax
push eax
push 0x100eba50
push dword [ebx + 0x40]
push dword [ebp - 0x28]
call fcn.100adbe0
add esp, 0x10
test eax, eax
jne 0x100eb826
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0xc], 0
jne 0x100eb826
cmp dword [ecx + 4], 0
mov eax, dword [ebp - 0x20]
je 0x100eb829
mov eax, dword [ecx + 8]
push dword [eax]
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x100eb826
push 0
push 0xffffe005
jmp 0x100eb762
xor eax, eax
inc eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
mov eax, 0xffffe005
mov dword [ebx + 0x38], eax
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100eb99f
xor eax, eax
inc eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x38], 0xffffe052
jmp 0x100eb99f
xor eax, eax
inc eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
cmp dword [0x101de200], 0
je 0x100eba2e
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100eb9f8
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x38], eax
jmp 0x100eb99f
push 0
push 0xffffe005
jmp 0x100eb7d4
mov dword [ebx + 0x20], 1
mov eax, 0xffffe005
mov dword [ebx + 0x38], eax
push 0
push eax
call sym.nss3.dll_PR_SetError
jmp 0x100eb991
mov ecx, dword [ebp - 0x24]
call fcn.100e99c0
xor edi, edi
test eax, eax
je 0x100eb63f
mov esi, eax
mov ecx, ebx
mov edx, eax
call fcn.100e9b70
test eax, eax
je 0x100eb80f
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
jmp 0x100eb63f
mov edi, esi
jmp 0x100eb63f
mov dword [ebp - 0x1c], 0
jmp 0x100eb834
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
push 1
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
push dword [ebp - 0x28]
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
test edi, edi
mov esi, dword [ebp - 0x1c]
je 0x100eb867
test esi, esi
je 0x100eb867
push esi
push edi
call sym.nss3.dll_SECITEM_CompareItem_Util
add esp, 8
test eax, eax
je 0x100eb9e9
test esi, esi
je 0x100eb8a5
mov ecx, ebx
mov dword [ebp - 0x1c], esi
mov edx, esi
call fcn.100e9b70
test eax, eax
jne 0x100eb899
mov esi, dword [ebp - 0x24]
mov ecx, esi
mov edx, dword [ebp - 0x1c]
call fcn.100e9b70
test eax, eax
je 0x100eb899
mov dword [ebx + 0x20], 1
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov esi, edi
mov edi, dword [ebp - 0x1c]
mov bl, 1
jmp 0x100eb976
mov dword [ebp - 0x1c], ebx
mov bl, 1
mov esi, edi
test edi, edi
je 0x100eb8f4
cmp dword [esi + 4], 0
je 0x100eb8f4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x100eb8e5
lea ecx, [ebp - 0x14]
push ecx
push 0x100ebc00
push eax
push esi
call fcn.100ade30
add esp, 0x10
cmp dword [ebp - 0x14], 0
jne 0x100eb8f4
jmp 0x100eb9b1
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebp + 8]
call dword [section..00cfg]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
push esi
call ecx
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x100eb92e
mov edi, eax
test eax, eax
je 0x100eb941
xor ebx, ebx
test esi, esi
je 0x100eb8aa
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
xor ebx, ebx
jmp 0x100eb8aa
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x20], 1
mov dword [eax + 0x38], 0xffffe057
jmp 0x100eb972
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x20], 1
cmp dword [0x101de200], 0
je 0x100eba38
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100eba13
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
xor ebx, ebx
xor edi, edi
test esi, esi
je 0x100eb985
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
test bl, bl
je 0x100eb994
push 1
push edi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push dword [ebp - 0x2c]
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
test bl, 1
jne 0x100eb9e4
mov edi, dword [ebp - 0x1c]
mov ecx, edi
mov edx, esi
call fcn.100e9b70
test eax, eax
jne 0x100eb9e4
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.100e9b70
test eax, eax
je 0x100eb9e4
mov dword [edi + 0x20], 1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x38], eax
push 1
push esi
jmp 0x100eb98c
push 1
push edi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov edi, esi
jmp 0x100eb989
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100eb7ae
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100eb96c
call fcn.100745e0
jmp 0x100eb79a
call fcn.100745e0
jmp 0x100eb958