Function at 0x1009ac30
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.1009a930
add esp, 4
xor edi, edi
dec edi
test eax, eax
je 0x1009b187
mov esi, eax
push ebx
push eax
call fcn.10099de0
add esp, 8
test eax, eax
je 0x1009ac7e
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 0x1009ac8f
xor edi, edi
jmp 0x1009b187
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 [0x101f2fec]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1009b191
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 [0x101f2fec]
call sym.nss3.dll_PR_Unlock
add esp, 4
call fcn.10092c20
test eax, eax
je 0x1009ad68
mov edi, eax
push 0x3c
push eax
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009ad5f
mov ebx, eax
xor eax, eax
push 1
push eax
push dword [esi + 0x11c]
push eax
push edi
call fcn.1009b440
add esp, 0x14
test eax, eax
je 0x1009ad5f
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 0x1009ad73
mov edx, 2
test cl, 2
jne 0x1009ad73
test cl, 1
jne 0x1009ad70
xor edx, edx
test cl, 8
sete dl
xor edx, 5
jmp 0x1009ad73
push edi
call fcn.10092f20
add esp, 4
xor edi, edi
dec edi
jmp 0x1009b187
xor edx, edx
inc edx
mov dword [ebx + 0x28], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
test cl, cl
js 0x1009ad9e
mov eax, 2
test cl, 2
jne 0x1009ad9e
test cl, 1
jne 0x1009ad9b
xor eax, eax
test cl, 8
sete al
xor eax, 5
jmp 0x1009ad9e
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 0x1009add5
mov edx, 2
test cl, 2
jne 0x1009add5
test cl, 1
jne 0x1009add2
xor edx, edx
test cl, 8
sete dl
xor edx, 5
jmp 0x1009add5
xor edx, edx
inc edx
mov dword [ebx + 0x30], edx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
test cl, 0x30
jne 0x1009ae02
mov eax, 2
test cl, 2
jne 0x1009ae02
test cl, 1
jne 0x1009adff
xor eax, eax
test cl, 8
sete al
xor eax, 5
jmp 0x1009ae02
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 0x1009ae48
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1009b179
push ebx
push eax
call fcn.1009d730
add esp, 8
mov edi, eax
test eax, eax
jne 0x1009b17c
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0
je 0x1009b081
mov eax, dword [0x101f3070]
mov dword [ebp - 0x30], eax
push esi
call fcn.1009bad0
add esp, 4
xor edi, edi
dec edi
test eax, eax
je 0x1009b17c
mov edi, dword [eax]
test edi, edi
mov dword [ebp - 0x34], eax
je 0x1009aefc
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.10096a50
add esp, 0x18
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x34]
mov edi, dword [ecx + 0x20]
test eax, eax
je 0x1009aecf
push eax
call fcn.100972a0
add esp, 4
test edi, edi
jne 0x1009aeef
jmp 0x1009af0c
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 0x1009ae98
jmp 0x1009af0c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
xor esi, esi
push dword [ebp - 0x34]
call fcn.100973c0
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 0x1009b179
mov eax, dword [ecx + 0x34]
cmp dword [eax + 0x20], 0
mov ebx, dword [ebp - 0x14]
mov edi, 0xffffffff
je 0x1009b041
mov esi, dword [ebp - 0x30]
push dword [esi + 0x18]
call fcn.100d3060
add esp, 4
push dword [esi + 0xc]
call fcn.10094000
add esp, 4
test eax, eax
je 0x1009afd4
mov ebx, eax
push eax
call fcn.10094200
add esp, 4
test eax, eax
je 0x1009af81
mov ecx, dword [eax + 0x34]
cmp dword [ecx + 0x20], 0
je 0x1009af83
push ebx
call fcn.10094270
jmp 0x1009af69
xor eax, eax
mov dword [ebp - 0x10], eax
push ebx
call fcn.100942a0
add esp, 4
push ebx
call fcn.100941c0
add esp, 4
push dword [esi + 0x18]
call fcn.100d3140
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x1009b17c
push 0
mov esi, dword [ebp - 0x14]
push esi
call fcn.1009b9d0
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 0x1009afe4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], eax
jmp 0x1009afeb
push dword [esi + 0x18]
call fcn.100d3140
add esp, 4
jmp 0x1009b17c
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.10095b40
add esp, 0x2c
mov ebx, eax
push esi
call fcn.10092db0
add esp, 4
test ebx, ebx
je 0x1009b179
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1009b500
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.100966d0
add esp, 0x2c
test eax, eax
je 0x1009b088
push eax
call fcn.100972a0
add esp, 4
xor edi, edi
jmp 0x1009b17c
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 0x1009b17c
call sym.nss3.dll_PK11_GetInternalKeySlot
mov ebx, eax
push 0
mov edi, dword [ebp - 0x14]
push edi
call fcn.1009b9d0
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x10], eax
push ebx
call fcn.100cbb00
add esp, 4
mov esi, eax
lock dec dword [ebx + 0x48]
jne 0x1009b0dc
push ebx
call fcn.100c9d60
add esp, 4
test esi, esi
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
je 0x1009b179
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.10095b40
add esp, 0x2c
mov edi, eax
push ebx
call fcn.10092db0
add esp, 4
test edi, edi
je 0x1009b170
push edi
push dword [ebp - 0x14]
call fcn.1009b500
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.100966d0
add esp, 0x2c
mov edi, eax
push esi
call fcn.10095540
mov eax, edi
add esp, 4
test edi, edi
mov edi, 0xffffffff
jne 0x1009b078
jmp 0x1009b17c
push esi
call fcn.10095540
add esp, 4
xor edi, edi
dec edi
push dword [ebp - 0x28]
call fcn.1009b640
add esp, 4
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x1009acbc