Function at 0x1009a0e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x2c], edx
mov esi, ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lock inc dword [ecx + 4]
push ecx
call fcn.1009b350
add esp, 4
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x1009a1cd
mov eax, dword [ebx + 4]
test eax, eax
je 0x1009a3a4
mov dword [ebp - 0x30], eax
mov ebx, dword [0x101f2ff0]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009a891
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 0x15c]
push dword [0x101f2ff0]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x1009a2df
test edi, edi
je 0x1009a2df
lea eax, [ebp - 0x28]
push eax
mov edi, dword [ebp - 0x30]
push edi
call sym.nss3.dll_CERT_GetCertTrust
add esp, 8
test eax, eax
je 0x1009a3b0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1009a44c
push esi
push dword [eax + 8]
call fcn.1009fa60
add esp, 8
test eax, eax
je 0x1009a3b0
mov ebx, eax
mov edx, dword [edi]
mov ecx, eax
call fcn.10099e60
mov dword [ebp - 0x2c], eax
push ebx
call fcn.1009b640
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x1009a459
jmp 0x1009a3b0
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 8], eax
push 0
push 1
push ecx
call fcn.1007a6c0
add esp, 0xc
test eax, eax
je 0x1009a3ae
mov edi, eax
push 0x34
push 0
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009a393
mov ebx, eax
mov dword [eax], 1
mov dword [eax + 4], edi
mov dword [eax + 8], 0x100999a0
mov dword [eax + 0xc], 0x100999c0
mov dword [eax + 0x10], 0x100999e0
mov dword [eax + 0x14], 0x10099ab0
mov dword [eax + 0x18], sym.nss3.dll_SECMOD_CanDeleteInternalModule
mov dword [eax + 0x1c], 0x10099af0
mov dword [eax + 0x20], 0x10099b20
mov dword [eax + 0x24], 0x10099b50
mov dword [eax + 0x28], 0x10099bf0
mov dword [eax + 0x2c], 0x10099cc0
mov dword [eax + 0x30], 0x10099cf0
mov eax, dword [eax + 4]
test eax, eax
je 0x1009a39b
cmp dword [esi + 0x54], 0
je 0x1009a4a1
mov ecx, dword [eax + 0x184]
mov dword [ebp - 0x34], ecx
mov edi, dword [eax]
mov ecx, dword [eax + 0x17c]
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
push 0x18c
push ecx
mov dword [ebp - 0x30], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
push eax
push edi
call sym.nss3.dll_PORT_FreeArena_Util
mov eax, dword [ebp - 0x2c]
add esp, 8
test eax, eax
je 0x1009a2c4
cmp dword [ebp - 0x34], 0
je 0x1009a2c4
lock dec dword [eax + 0x48]
jne 0x1009a2c4
push eax
call fcn.100c9d60
add esp, 4
push ebx
call fcn.10092db0
add esp, 4
push 1
call fcn.10093490
add esp, 4
mov edi, dword [ebp - 0x30]
jmp 0x1009a3b0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
push esi
call fcn.1009bad0
add esp, 4
test eax, eax
mov edi, dword [ebp - 0x30]
je 0x1009a3df
mov ecx, dword [eax]
test ecx, ecx
je 0x1009a3d6
mov dword [ebp - 0x38], eax
mov edi, eax
add edi, 4
xor ebx, ebx
test ebx, ebx
je 0x1009a32b
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0
je 0x1009a336
push ebx
call fcn.100972a0
add esp, 4
push dword [edi - 4]
jmp 0x1009a32c
push ecx
call fcn.100972d0
add esp, 4
mov ebx, eax
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
jne 0x1009a30d
push dword [ebp - 0x38]
call fcn.100973c0
add esp, 4
test ebx, ebx
mov edi, dword [ebp - 0x30]
je 0x1009a3df
mov ecx, dword [ebx + 0xc]
cmp dword [edi + 0x154], 0
sete al
mov dword [ebp - 0x38], ecx
test ecx, ecx
setne cl
cmp dword [ebp - 0x2c], 0
jne 0x1009a4a9
and al, cl
jne 0x1009a4a9
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1009a5a7
mov dword [ebp - 0x2c], 0
jmp 0x1009a723
push edi
call sym.nss3.dll_CERT_DestroyCertificate
jmp 0x1009a3ab
push ebx
call fcn.10092db0
add esp, 4
push 1
call fcn.10093490
add esp, 4
xor edi, edi
push esi
call fcn.1009b3c0
add esp, 4
push esi
call fcn.1009b640
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.100973c0
add esp, 4
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1009a42c
mov ebx, dword [esi + 0x20]
cmp dword [edi + 0x154], 0
sete al
test ebx, ebx
setne cl
cmp dword [ebp - 0x2c], 0
jne 0x1009a406
and al, cl
je 0x1009a71c
add edi, 0x154
test ebx, ebx
je 0x1009a716
mov dword [ebp - 0x38], ebx
xor ebx, ebx
mov al, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0
xor ecx, ecx
jmp 0x1009a517
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x2c], 0
je 0x1009a7f9
mov dword [edi + 0x154], 0
jmp 0x1009a7f9
push edi
push esi
call fcn.10099de0
add esp, 8
mov dword [ebp - 0x2c], eax
mov edi, dword [0x101f2fec]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1009a8cb
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x160], eax
push dword [0x101f2fec]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1009a3b0
mov dword [esi + 0x54], ebx
jmp 0x1009a110
add edi, 0x154
mov eax, dword [ebx + 4]
push dword [eax + 0x34]
call sym.nss3.dll_PK11_IsInternalKeySlot
add esp, 4
test eax, eax
je 0x1009a4df
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1009a877
push 0x3a
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x1009a885
push dword [ebx + 4]
call fcn.100955b0
add esp, 4
test eax, eax
mov dword [ebp - 0x40], eax
je 0x1009a924
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 0
mov eax, 0
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x40]
je 0x1009a586
mov dword [ebp - 0x4c], edi
push dword [ebp - 0x38]
mov edi, ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edx, eax
mov ecx, dword [ebp - 0x3c]
add eax, ecx
inc eax
mov dword [ebp - 0x44], edx
add edx, ecx
mov dword [ebp - 0x48], edx
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov dword [ebp - 0x40], eax
test edi, edi
je 0x1009a56a
mov eax, dword [ebp - 0x3c]
dec eax
push eax
push edi
mov edi, dword [ebp - 0x40]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov byte [edi + ecx - 1], 0x3a
mov eax, edi
add eax, ecx
push dword [ebp - 0x44]
push dword [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov byte [eax + ecx], 0
mov edi, dword [ebp - 0x4c]
mov dword [edi], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x1009a723
mov dword [ebp - 0x34], 0
cmp byte [ebp - 0x2c], 0
mov edi, dword [ebp - 0x30]
jne 0x1009a7f9
mov eax, dword [edi + 0x17c]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x34]
cmp eax, ecx
je 0x1009a5da
test eax, eax
je 0x1009a5d0
lock dec dword [eax + 0x48]
jne 0x1009a5ca
push eax
call fcn.100c9d60
add esp, 4
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x34]
lock inc dword [ecx + 0x48]
mov dword [edi + 0x17c], ecx
mov dword [edi + 0x184], 1
mov eax, dword [ebx]
mov dword [edi + 0x180], eax
push edi
push esi
call fcn.10099de0
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009a649
mov eax, dword [0x101f2fec]
mov dword [ebp - 0x38], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1009a906
mov edi, dword [ebp - 0x38]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x160], eax
push dword [0x101f2fec]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [edi + 0x17c]
cmp dword [eax + 0x20], 0
je 0x1009a7f0
cmp dword [eax + 0x11c], 0
je 0x1009a7f0
cmp dword [edi + 0x188], 0
jne 0x1009a7f0
mov ecx, dword [0x101bab04]
lea edi, [ebp - 0x1c]
mov dword [edi - 4], ecx
movsd xmm0, qword [0x101baafc]
movsd qword [edi - 0xc], xmm0
movsd qword [edi], xmm0
mov dword [edi + 8], ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x30]
push dword [ecx]
push 0xce534373
mov ecx, dword [ebp - 0x30]
push dword [ecx + 0x180]
push eax
call fcn.100bbb50
add esp, 0x14
mov dword [ebp - 0x2c], eax
push edi
mov edi, dword [ebp - 0x30]
push dword [edi]
push 0xce534374
push dword [edi + 0x180]
push dword [edi + 0x17c]
call fcn.100bbb50
add esp, 0x14
or eax, dword [ebp - 0x2c]
jne 0x1009a7f0
cmp dword [ebp - 0x20], 0xd
je 0x1009a6ee
cmp dword [ebp - 0x14], 0xd
jne 0x1009a7f0
push 0x18
push dword [edi]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax], xmm0
movsd xmm0, qword [ebp - 0x18]
movsd qword [eax + 0x10], xmm0
mov dword [edi + 0x188], eax
jmp 0x1009a7f0
mov dword [edi], 0
xor ebx, ebx
mov al, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x14]
test eax, eax
je 0x1009a73d
push esi
push eax
call fcn.1009d830
mov edx, dword [ebp - 0x34]
add esp, 8
mov edi, eax
test eax, eax
jne 0x1009a770
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x50]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 0x88]
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x8c]
mov dword [esi + 0x4c], eax
push esi
push dword [edx + 8]
call fcn.1009fa60
add esp, 8
mov edi, eax
test eax, eax
je 0x1009a7e0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, edi
call fcn.10099e60
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1009a7d5
mov dword [ebp - 0x40], edi
mov eax, dword [0x101f2fec]
mov dword [ebp - 0x3c], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1009a8e8
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x38]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x160], ecx
push dword [0x101f2fec]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x40]
push edi
call fcn.1009b640
add esp, 4
jmp 0x1009a7e7
mov dword [ebp - 0x34], 0
cmp byte [ebp - 0x2c], 0
mov edi, dword [ebp - 0x30]
jne 0x1009a7f9
push ebx
call fcn.100972a0
add esp, 4
mov eax, dword [esi + 0x18]
mov dword [edi + 0x11c], eax
mov ebx, dword [0x101f2ff0]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x30], esi
mov esi, eax
test eax, eax
je 0x1009a8ae
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov dword [edi + 0x150], 0
mov dword [edi + 0x14c], 1
mov esi, dword [ebp - 0x30]
mov dword [edi + 0x15c], esi
push dword [0x101f2ff0]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1009a3b0
push edi
call fcn.1007a040
add esp, 4
xchg dword [edi + 0x13c], eax
jmp 0x1009a3b0
mov dword [ebp - 0x2c], 0
xor eax, eax
jmp 0x1009a586
mov dword [ebp - 0x2c], 0
jmp 0x1009a41e
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1009a13a
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009a821
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x1009a475
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x1009a7a5
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x2c], eax
jmp 0x1009a61c
xor eax, eax
jmp 0x1009a4fe