Function at 0x1009c1f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [ebp + 8]
push ebx
call fcn.1009bef0
add esp, 4
xor edi, edi
dec edi
test eax, eax
je 0x1009c747
mov esi, eax
push ebx
push eax
call fcn.1009b3a0
add esp, 8
test eax, eax
je 0x1009c23e
mov edi, eax
push 0xc
mov ebx, dword [ebp + 0xc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, ebx
jne 0x1009c24f
xor edi, edi
jmp 0x1009c747
push 0xc
push dword [ebx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov edi, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ecx]
movsd qword [edi], xmm0
mov esi, dword [0x101f501c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1009c751
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov esi, dword [ebp + 8]
mov dword [esi + 0x160], edi
push dword [0x101f501c]
call sym.nss3.dll_PR_Unlock
add esp, 4
call fcn.100941c0
test eax, eax
je 0x1009c328
mov edi, eax
push 0x3c
push eax
call fcn.10094240
add esp, 8
test eax, eax
je 0x1009c31f
mov ebx, eax
xor eax, eax
push 1
push eax
push dword [esi + 0x11c]
push eax
push edi
call fcn.1009ca00
add esp, 0x14
test eax, eax
je 0x1009c31f
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x20], ecx
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx], xmm0
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x24], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, 3
mov edx, 3
test cl, 0x30
jne 0x1009c333
mov edx, 2
test cl, 2
jne 0x1009c333
test cl, 1
jne 0x1009c330
xor edx, edx
test cl, 8
sete dl
xor edx, 5
jmp 0x1009c333
push edi
call fcn.100944c0
add esp, 4
xor edi, edi
dec edi
jmp 0x1009c747
xor edx, edx
inc edx
mov dword [ebx + 0x28], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
test cl, cl
js 0x1009c35e
mov eax, 2
test cl, 2
jne 0x1009c35e
test cl, 1
jne 0x1009c35b
xor eax, eax
test cl, 8
sete al
xor eax, 5
jmp 0x1009c35e
xor eax, eax
inc eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov eax, 3
mov edx, 3
test cl, 0x30
jne 0x1009c395
mov edx, 2
test cl, 2
jne 0x1009c395
test cl, 1
jne 0x1009c392
xor edx, edx
test cl, 8
sete dl
xor edx, 5
jmp 0x1009c395
xor edx, edx
inc edx
mov dword [ebx + 0x30], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
test cl, 0x30
jne 0x1009c3c2
mov eax, 2
test cl, 2
jne 0x1009c3c2
test cl, 1
jne 0x1009c3bf
xor eax, eax
test cl, 8
sete al
xor eax, 5
jmp 0x1009c3c2
xor eax, eax
inc eax
mov dword [ebx + 0x34], eax
mov eax, 0x200
mov ecx, dword [ebp + 0xc]
and eax, dword [ecx]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x1c]
test eax, eax
mov dword [ebp - 0x28], ebx
je 0x1009c408
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1009c739
push ebx
push eax
call fcn.1009ecf0
add esp, 8
mov edi, eax
test eax, eax
jne 0x1009c73c
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0
je 0x1009c641
mov eax, dword [0x101f50a0]
mov dword [ebp - 0x30], eax
push esi
call fcn.1009d090
add esp, 4
xor edi, edi
dec edi
test eax, eax
je 0x1009c73c
mov edi, dword [eax]
test edi, edi
mov dword [ebp - 0x34], eax
je 0x1009c4bc
lea ecx, [esi + 0x48]
mov dword [ebp - 0x18], ecx
lea ecx, [esi + 0x38]
mov dword [ebp - 0x24], ecx
lea ecx, [esi + 0x30]
mov dword [ebp - 0x2c], ecx
mov ebx, eax
add ebx, 4
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
push 2
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push 0
push dword [edi + 4]
call fcn.10097ff0
add esp, 0x18
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov edi, dword [ecx + 0x20]
test eax, eax
je 0x1009c48f
push eax
call fcn.10098840
add esp, 4
test edi, edi
jne 0x1009c4af
jmp 0x1009c4cc
test edi, edi
mov ecx, dword [ebp - 0x10]
mov eax, ecx
cmovne eax, esi
test ecx, ecx
cmove ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x20]
or edi, eax
cmove eax, esi
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebx]
add ebx, 4
mov eax, esi
test edi, edi
jne 0x1009c458
jmp 0x1009c4cc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
xor esi, esi
push dword [ebp - 0x34]
call fcn.10098960
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
mov ecx, dword [ebp - 0x10]
cmovne ecx, eax
test esi, esi
cmovne ecx, esi
test ecx, ecx
je 0x1009c739
mov eax, dword [ecx + 0x34]
cmp dword [eax + 0x20], 0
mov ebx, dword [ebp - 0x14]
mov edi, 0xffffffff
je 0x1009c601
mov esi, dword [ebp - 0x30]
push dword [esi + 0x18]
call fcn.100d4620
add esp, 4
push dword [esi + 0xc]
call fcn.100955a0
add esp, 4
test eax, eax
je 0x1009c594
mov ebx, eax
push eax
call fcn.100957a0
add esp, 4
test eax, eax
je 0x1009c541
mov ecx, dword [eax + 0x34]
cmp dword [ecx + 0x20], 0
je 0x1009c543
push ebx
call fcn.10095810
jmp 0x1009c529
xor eax, eax
mov dword [ebp - 0x10], eax
push ebx
call fcn.10095840
add esp, 4
push ebx
call fcn.10095760
add esp, 4
push dword [esi + 0x18]
call fcn.100d4700
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x1009c73c
push 0
mov esi, dword [ebp - 0x14]
push esi
call fcn.1009cf90
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x1c], ecx
je 0x1009c5a4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], eax
jmp 0x1009c5ab
push dword [esi + 0x18]
call fcn.100d4700
add esp, 4
jmp 0x1009c73c
mov dword [ebp - 0x18], 0
lea ecx, [esi + 0x48]
lea edx, [esi + 0x40]
lea eax, [esi + 0x38]
lea edi, [esi + 0x30]
lea ebx, [esi + 0x28]
xor esi, esi
inc esi
push esi
push dword [ebp - 0x18]
push ecx
push edx
push eax
push edi
mov esi, dword [ebp - 0x1c]
push esi
push ebx
xor eax, eax
inc eax
push eax
push 0
push dword [ebp - 0x10]
call fcn.100970e0
add esp, 0x2c
mov ebx, eax
push esi
call fcn.10094350
add esp, 4
test ebx, ebx
je 0x1009c739
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1009cac0
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
lea edx, [ebx + 0x48]
mov eax, ebx
add ebx, 0x38
lea esi, [eax + 0x30]
push 1
mov eax, dword [ebp - 0x28]
push dword [eax + 0x38]
push dword [eax + 0x30]
push dword [eax + 0x34]
push dword [eax + 0x2c]
push dword [eax + 0x28]
mov dword [ebp - 0x1c], edx
push edx
push ebx
push esi
push 0
push ecx
call fcn.10097c70
add esp, 0x2c
test eax, eax
je 0x1009c648
push eax
call fcn.10098840
add esp, 4
xor edi, edi
jmp 0x1009c73c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
call sym.nss3.dll_PK11_IsInternalKeySlot
add esp, 4
test eax, eax
jne 0x1009c73c
call sym.nss3.dll_PK11_GetInternalKeySlot
mov ebx, eax
push 0
mov edi, dword [ebp - 0x14]
push edi
call fcn.1009cf90
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x10], eax
push ebx
call fcn.100cd0c0
add esp, 4
mov esi, eax
lock dec dword [ebx + 0x48]
jne 0x1009c69c
push ebx
call fcn.100cb320
add esp, 4
test esi, esi
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
je 0x1009c739
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + 0x40]
add ecx, 0x28
xor edx, edx
inc edx
push edx
push dword [ebp - 0x10]
push ebx
push eax
push dword [ebp - 0x24]
push edi
mov ebx, dword [ebp - 0x2c]
push ebx
push ecx
push edx
push 0
push esi
call fcn.100970e0
add esp, 0x2c
mov edi, eax
push ebx
call fcn.10094350
add esp, 4
test edi, edi
je 0x1009c730
push edi
push dword [ebp - 0x14]
call fcn.1009cac0
add esp, 8
push 1
mov eax, dword [ebp - 0x28]
push dword [eax + 0x38]
push dword [eax + 0x30]
push dword [eax + 0x34]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push 0
push esi
call fcn.10097c70
add esp, 0x2c
mov edi, eax
push esi
call fcn.10096ae0
mov eax, edi
add esp, 4
test edi, edi
mov edi, 0xffffffff
jne 0x1009c638
jmp 0x1009c73c
push esi
call fcn.10096ae0
add esp, 4
xor edi, edi
dec edi
push dword [ebp - 0x28]
call fcn.1009cc00
add esp, 4
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x1009c27c