Function at 0x100a1930
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 [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lock inc dword [ecx + 4]
push ecx
call fcn.100a2b80
add esp, 4
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x100a1a1d
mov eax, dword [ebx + 4]
test eax, eax
je 0x100a1bf3
mov dword [ebp - 0x30], eax
mov ebx, dword [0x101dec48]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100a20cd
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 [0x101dec48]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x100a1b31
test edi, edi
je 0x100a1b31
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 0x100a1bff
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100a1c71
push esi
push dword [eax + 8]
call fcn.100a7350
add esp, 8
test eax, eax
je 0x100a1bff
mov ebx, eax
mov edx, dword [edi]
mov ecx, eax
call fcn.100a16a0
mov dword [ebp - 0x2c], eax
push ebx
call fcn.100a2e70
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x100a1c7e
jmp 0x100a1bff
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.100825b0
add esp, 0xc
test eax, eax
je 0x100a1bfd
mov edi, eax
push 0x34
push 0
call fcn.1009a460
add esp, 8
test eax, eax
je 0x100a1be2
mov ebx, eax
mov dword [eax], 1
mov dword [eax + 4], edi
mov dword [eax + 8], 0x100a11e0
mov dword [eax + 0xc], 0x100a1200
mov dword [eax + 0x10], 0x100a1220
mov dword [eax + 0x14], 0x100a12f0
mov dword [eax + 0x18], sym.nss3.dll_SECMOD_CanDeleteInternalModule
mov dword [eax + 0x1c], 0x100a1330
mov dword [eax + 0x20], 0x100a1360
mov dword [eax + 0x24], 0x100a1390
mov dword [eax + 0x28], 0x100a1430
mov dword [eax + 0x2c], 0x100a1500
mov dword [eax + 0x30], 0x100a1530
mov eax, dword [eax + 4]
test eax, eax
je 0x100a1bea
cmp dword [esi + 0x54], 0
je 0x100a1f94
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x17c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x184]
mov dword [ebp - 0x2c], ecx
xor edi, edi
push 0x18c
push edi
mov dword [ebp - 0x30], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push dword [ebp - 0x38]
call sym.nss3.dll_PORT_FreeArena_Util
mov eax, dword [ebp - 0x34]
add esp, 8
cmp dword [ebp - 0x2c], edi
je 0x100a1b16
test eax, eax
je 0x100a1b16
lock dec dword [eax + 0x48]
jne 0x100a1b16
push eax
call fcn.100d1c70
add esp, 4
push ebx
call fcn.1009a580
add esp, 4
push 1
call fcn.1009ac70
add esp, 4
mov edi, dword [ebp - 0x30]
jmp 0x100a1bff
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
push esi
call fcn.100a3300
add esp, 4
test eax, eax
mov edi, dword [ebp - 0x30]
je 0x100a1c2e
mov ecx, dword [eax]
test ecx, ecx
je 0x100a1c25
mov dword [ebp - 0x38], eax
mov edi, eax
add edi, 4
xor ebx, ebx
test ebx, ebx
je 0x100a1b7d
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0
je 0x100a1b88
push ebx
call fcn.1009ea70
add esp, 4
push dword [edi - 4]
jmp 0x100a1b7e
push ecx
call fcn.1009eaa0
add esp, 4
mov ebx, eax
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
jne 0x100a1b5f
push dword [ebp - 0x38]
call fcn.1009eb90
add esp, 4
test ebx, ebx
mov edi, dword [ebp - 0x30]
je 0x100a1c2e
mov ecx, dword [ebx + 0xc]
cmp dword [edi + 0x154], 0
sete al
test ecx, ecx
setne dl
cmp dword [ebp - 0x2c], 0
jne 0x100a2033
and al, dl
jne 0x100a2033
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x100a1e30
mov dword [ebp - 0x38], 0
jmp 0x100a1d5a
push edi
call sym.nss3.dll_CERT_DestroyCertificate
jmp 0x100a1bfa
push ebx
call fcn.1009a580
add esp, 4
push 1
call fcn.1009ac70
add esp, 4
xor edi, edi
push esi
call fcn.100a2bf0
add esp, 4
push esi
call fcn.100a2e70
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.1009eb90
add esp, 4
xor ebx, ebx
mov ecx, 0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x100a1c3f
mov ecx, dword [esi + 0x20]
lea eax, [edi + 0x154]
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x154], 0
sete al
mov dword [ebp - 0x3c], ecx
test ecx, ecx
setne ah
mov cl, 1
cmp dword [ebp - 0x2c], 0
jne 0x100a1cc6
mov edi, 0
and al, ah
je 0x100a1d4f
jmp 0x100a1cc8
push edi
push esi
call fcn.100a1620
add esp, 8
mov dword [ebp - 0x2c], eax
mov edi, dword [0x101dec44]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a2107
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 [0x101dec44]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100a1bff
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x44], 0
mov edi, 0
test ah, ah
je 0x100a1d4a
mov dword [ebp - 0x38], ecx
push dword [ebp - 0x3c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add eax, edx
inc eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], edx
add ecx, edx
mov dword [ebp - 0x4c], ecx
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov edi, eax
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x100a1d2e
mov eax, dword [ebp - 0x2c]
dec eax
push eax
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov byte [edi + ecx - 1], 0x3a
mov eax, edi
add eax, ecx
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov byte [edi + eax], 0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [eax], edi
test edx, edx
je 0x100a1e1e
mov dword [ebp - 0x38], ecx
mov eax, dword [edx + 0x14]
test eax, eax
je 0x100a1d74
push esi
push eax
call fcn.100a5100
mov edx, dword [ebp - 0x34]
add esp, 8
mov edi, eax
test eax, eax
jne 0x100a1dab
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.100a7350
add esp, 8
mov edi, eax
test eax, eax
je 0x100a1f9c
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, edi
call fcn.100a16a0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100a1e10
mov dword [ebp - 0x40], edi
mov eax, dword [0x101dec44]
mov dword [ebp - 0x3c], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100a2124
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x160], ecx
push dword [0x101dec44]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x40]
push edi
call fcn.100a2e70
add esp, 4
jmp 0x100a1fa3
mov dword [ebp - 0x2c], 0
test cl, cl
mov edi, dword [ebp - 0x30]
jne 0x100a1fb5
mov eax, dword [edi + 0x17c]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x34]
cmp eax, ecx
je 0x100a1e63
test eax, eax
je 0x100a1e59
lock dec dword [eax + 0x48]
jne 0x100a1e53
push eax
call fcn.100d1c70
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.100a1620
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100a1ed2
mov eax, dword [0x101dec44]
mov dword [ebp - 0x38], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100a2142
mov edi, dword [ebp - 0x38]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x160], eax
push dword [0x101dec44]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [edi + 0x17c]
cmp dword [eax + 0x20], 0
je 0x100a1fac
cmp dword [eax + 0x11c], 0
je 0x100a1fac
cmp dword [edi + 0x188], 0
jne 0x100a1fac
mov ecx, dword [0x101a7740]
lea edi, [ebp - 0x1c]
mov dword [edi - 4], ecx
movsd xmm0, qword [0x101a7738]
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.100c3370
add esp, 0x14
mov dword [ebp - 0x34], eax
push edi
mov edi, dword [ebp - 0x30]
push dword [edi]
push 0xce534374
push dword [edi + 0x180]
push dword [edi + 0x17c]
call fcn.100c3370
add esp, 0x14
or eax, dword [ebp - 0x34]
jne 0x100a1fac
cmp dword [ebp - 0x20], 0xd
je 0x100a1f6f
cmp dword [ebp - 0x14], 0xd
jne 0x100a1fac
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 0x100a1fac
mov dword [esi + 0x54], ebx
jmp 0x100a1960
mov dword [ebp - 0x2c], 0
cmp byte [ebp - 0x38], 0
mov edi, dword [ebp - 0x30]
jne 0x100a1fb5
push ebx
call fcn.1009ea70
add esp, 4
mov eax, dword [esi + 0x18]
mov dword [edi + 0x11c], eax
mov ebx, dword [0x101dec48]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x30], esi
mov esi, eax
test eax, eax
je 0x100a20ea
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 [0x101dec48]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x100a1bff
push edi
call fcn.10081fb0
add esp, 4
xchg dword [edi + 0x13c], eax
jmp 0x100a1bff
mov byte [ebp - 0x2c], dl
mov dword [ebp - 0x3c], ecx
add edi, 0x154
mov eax, dword [ebx + 4]
push dword [eax + 0x34]
call sym.nss3.dll_PK11_IsInternalKeySlot
add esp, 4
test eax, eax
mov dword [ebp - 0x40], edi
je 0x100a206e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100a20ac
push 0x3a
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov byte [ebp - 0x2c], 1
test eax, eax
je 0x100a20b8
push dword [ebx + 4]
call fcn.1009ce50
add esp, 4
test eax, eax
je 0x100a2160
mov edi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp byte [ebp - 0x2c], 0
je 0x100a20a0
inc eax
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov dword [ebp - 0x44], edi
jmp 0x100a1cdb
xor edi, edi
mov edx, dword [ebp - 0x34]
xor ecx, ecx
jmp 0x100a1d4a
xor ecx, ecx
xor edi, edi
mov edx, dword [ebp - 0x34]
jmp 0x100a1d4a
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], 0
jmp 0x100a1cdb
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x100a198a
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a1fdd
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100a1c9a
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov dword [ebp - 0x34], eax
jmp 0x100a1de0
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov dword [ebp - 0x34], eax
jmp 0x100a1ea5
xor edi, edi
inc edi
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov ah, byte [ebp - 0x2c]
jmp 0x100a1cc8