Function at 0x1008b490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0x18], eax
test esi, esi
je 0x1008b4b8
mov dword [esi], 0
push dword [0x101f1570]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov ecx, ebx
call fcn.100892c0
test edi, edi
jne 0x1008b4f1
test eax, eax
je 0x1008b4f1
cmp dword [eax + 0x18], 0
je 0x1008b619
mov ecx, dword [eax + 0x1c]
dec ecx
cmp ecx, 1
ja 0x1008b619
jmp 0x1008ba96
test eax, eax
je 0x1008b663
test edi, edi
je 0x1008b619
lea esi, [edi + 0x18]
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 8], eax
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
mov ecx, dword [esp + 8]
add esp, 8
cmp byte [ecx + 0x28], 0
je 0x1008b53c
test eax, eax
jne 0x1008b9a7
mov eax, dword [ecx + 0x30]
cmp eax, dword [esp + 0x10]
mov eax, dword [ecx + 0x34]
sbb eax, dword [esp + 0x14]
jge 0x1008b9a7
mov dword [esp + 8], esi
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x1008b55a
xor esi, esi
push esi
push eax
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [esp + 8]
add esp, 8
mov dword [ecx + 0x18], esi
mov word [ecx + 0x28], 0
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
mov ecx, dword [esp + 4]
add esp, 4
mov dword [ecx + 0x18], eax
test eax, eax
je 0x1008b998
mov ebx, eax
mov eax, dword [edi + 0x14]
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax + 4]
cmp dword [eax], 1
jne 0x1008b911
mov dword [esp + 4], ecx
push ebx
call sym.nss3.dll_PORT_ArenaMark_Util
add esp, 4
mov esi, eax
push 0x10
push ebx
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x1008b967
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [esp + 0xc], esi
mov esi, dword [esp]
mov dword [esi + 0x20], eax
push dword [esp + 4]
push eax
push ebx
call sym.nss3.dll_SECITEM_CopyItem_Util
mov ecx, esi
mov esi, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x1008b971
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1008bab7
push eax
push ebx
call sym.nss3.dll_SECITEM_ArenaDupItem_Util
add esp, 8
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x20]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp]
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0xc], 0
jne 0x1008b924
jmp 0x1008b971
mov esi, eax
cmp dword [0x101f2f50], 0
je 0x1008baef
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1008bad4
mov eax, dword [eax + 0x28]
mov edi, esi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1008b9a9
xor esi, esi
push esi
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov dword [edi + 0x18], esi
jmp 0x1008b9a9
test esi, esi
je 0x1008b751
mov dword [esi], 1
mov esi, ebx
push dword [0x101f1570]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov ebx, dword [esi + 0x84]
push ebx
call sym.nss3.dll_PORT_ArenaMark_Util
add esp, 4
mov dword [esp], eax
push 0x40
push dword [esi + 0x84]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x1008b73d
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 8], esi
push eax
push esi
push dword [0x101f1588]
mov esi, eax
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
test eax, eax
je 0x1008b73d
inc dword [0x101f158c]
push dword [0x101f1570]
call sym.nss3.dll_PR_EnterMonitor
mov ecx, esi
add esp, 4
cmp dword [0x101f1594], 0
jne 0x1008b6fb
mov dword [0x101f1594], ecx
mov eax, dword [0x101f1590]
mov dword [ecx + 4], eax
mov dword [ecx], 0
mov eax, dword [0x101f1590]
test eax, eax
je 0x1008b714
mov dword [eax], ecx
mov dword [0x101f1590], ecx
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
mov eax, esi
add esp, 4
jmp 0x1008b4f9
mov ecx, ebx
mov edx, dword [esp]
push 0
call fcn.100dbe30
add esp, 4
jmp 0x1008ba88
mov dword [esp], edi
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
test eax, eax
je 0x1008b8e3
mov edi, eax
push 0x88
push eax
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x1008b8d8
mov esi, eax
push 0x88
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 4], 0
je 0x1008b7ac
push ebx
push esi
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x10], 0
je 0x1008b7cb
lea eax, [ebx + 0xc]
lea ecx, [esi + 0xc]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x1c], 0
je 0x1008b7ea
lea eax, [ebx + 0x18]
lea ecx, [esi + 0x18]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x28], 0
je 0x1008b809
lea eax, [ebx + 0x24]
lea ecx, [esi + 0x24]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x34], 0
je 0x1008b828
lea eax, [ebx + 0x30]
lea ecx, [esi + 0x30]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x40], 0
je 0x1008b847
lea eax, [ebx + 0x3c]
lea ecx, [esi + 0x3c]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x4c], 0
je 0x1008b862
lea eax, [ebx + 0x48]
lea ecx, [esi + 0x48]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x58], 0
je 0x1008b87d
lea eax, [ebx + 0x54]
lea ecx, [esi + 0x54]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x64], 0
je 0x1008b898
lea eax, [ebx + 0x60]
lea ecx, [esi + 0x60]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x70], 0
je 0x1008b8b3
lea eax, [ebx + 0x6c]
lea ecx, [esi + 0x6c]
push eax
push ecx
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1008b8d8
cmp dword [ebx + 0x7c], 0
je 0x1008bac6
add ebx, 0x78
mov eax, esi
add eax, 0x78
push ebx
push eax
push edi
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
je 0x1008bac6
push 0
push edi
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
xor esi, esi
mov edi, 0xffffe890
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1008baa4
push ecx
push ebx
call sym.nss3.dll_SECITEM_ArenaDupItem_Util
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
mov ecx, esi
je 0x1008b983
mov dword [ecx + 0x24], 0
lea eax, [ecx + 0x30]
push dword [esp + 8]
push eax
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
mov ecx, dword [esp + 8]
add esp, 8
test eax, eax
sete byte [ecx + 0x28]
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1008b9a2
mov ecx, dword [esp]
add ecx, 0x38
push eax
push ecx
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
mov ecx, dword [esp + 8]
add esp, 8
test eax, eax
sete al
jmp 0x1008b9a4
mov eax, dword [esp]
mov dword [eax + 0x20], 0
mov ecx, ebx
mov edx, esi
push 0
call fcn.100dbe30
mov ecx, dword [esp + 4]
add esp, 4
xor esi, esi
push esi
push dword [ecx + 0x18]
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [esp + 8]
add esp, 8
mov dword [ecx + 0x18], esi
call fcn.10087c50
jmp 0x1008ba96
xor eax, eax
mov byte [ecx + 0x29], al
mov edi, ecx
push dword [0x101f1570]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
call sym.nss3.dll_PR_Now
cmp byte [edi + 0x28], 0
je 0x1008b9cf
mov ebx, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov esi, 0x101f1580
jmp 0x1008b9d8
mov esi, 0x101f157c
mov ebx, eax
mov ecx, edx
imul esi, dword [esi], 0xf4240
add esi, ebx
adc ecx, 0
cmp byte [edi + 0x29], 0
je 0x1008ba1a
mov ebx, dword [edi + 0x38]
mov dword [esp + 4], ebx
cmp ebx, esi
mov dword [esp], edi
mov edi, esi
cmovb edi, ebx
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 8], ebx
cmp dword [esp + 8], ecx
cmovl esi, dword [esp + 4]
mov ebx, dword [esp]
cmove esi, edi
cmovl ecx, dword [esp + 8]
jmp 0x1008ba1c
mov ebx, edi
imul edi, dword [0x101f157c], 0xf4240
add eax, edi
adc edx, 0
cmp esi, eax
mov edi, eax
cmova edi, esi
cmp ecx, edx
cmovg eax, esi
cmove eax, edi
cmovg edx, ecx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], eax
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push dword [0x101f1570]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [0x101f1578]
test eax, eax
jle 0x1008ba88
cmp dword [0x101f158c], eax
jbe 0x1008ba88
mov ecx, dword [0x101f1594]
call fcn.10087c50
mov eax, dword [0x101f158c]
cmp eax, dword [0x101f1578]
ja 0x1008ba70
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push dword [0x101f1570]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.10156ff0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx + 0x20]
mov dword [eax + 0xc], 0
jmp 0x1008b924
mov dword [esi + 0x84], edi
mov edi, dword [esp]
jmp 0x1008b673
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1008b63c
call fcn.100029d0
jmp 0x1008b628