Function at 0x1010e0b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 8]
mov ecx, dword [0x101ef014]
xor ecx, ebp
mov dword [esp + 0x70], ecx
push eax
call fcn.10111390
add esp, 4
test eax, eax
je 0x1010e324
mov esi, eax
xor edi, edi
test byte [eax + 0x1c], 1
je 0x1010e3d7
mov ebx, dword [esi + 0x15c]
test ebx, ebx
je 0x1010e117
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1010e3ec
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov ebx, dword [esi + 0x160]
test ebx, ebx
je 0x1010e144
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1010e409
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e161
push dword [esi + 0x16c]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
xor ecx, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
xor ecx, ecx
test edi, edi
sete cl
mov edx, 0x10109c90
mov edi, 0x10109e30
cmove edi, edx
mov edx, 2
sub edx, ecx
mov dword [esi + 0xcc], edi
mov dword [esi + 0x184], edx
bt eax, 0xa
jb 0x1010e1a4
push dword [esi + 0x164]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
lea eax, [esi + 0x188]
push eax
call fcn.10107c40
add esp, 4
mov edi, eax
test byte [esi + 0x1d], 4
jne 0x1010e1c9
push dword [esi + 0x164]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
test edi, edi
jne 0x1010e3b1
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e1eb
push dword [esi + 0x170]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
xor ecx, ecx
mov dword [esi + 0x548], ecx
mov dword [esi + 0x544], ecx
bt eax, 0xa
jb 0x1010e20d
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
lea eax, [esi + 0x60]
push 1
push eax
call fcn.1010e430
add esp, 8
test byte [esi + 0x1d], 4
jne 0x1010e22f
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
lea eax, [esi + 0x64]
push 0x1000
push eax
call fcn.1010a300
add esp, 8
mov edi, eax
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e25c
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e273
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e28a
push dword [esi + 0x170]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov eax, dword [esi + 0x1c]
bt eax, 0xa
jb 0x1010e29e
push dword [esi + 0x16c]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
lea eax, [esi + 0x550]
push eax
call fcn.10104b40
add esp, 4
lea eax, [esi + 0x558]
push eax
call fcn.10104b40
add esp, 4
lea eax, [esi + 0x71c]
push esi
push eax
call fcn.101057b0
add esp, 8
lea eax, [esi + 0x65c]
push eax
push esi
call fcn.10126ad0
add esp, 8
mov eax, dword [esi + 0x68c]
test eax, eax
je 0x1010e336
push 1
push eax
call sym.nss3.dll_PK11_HPKE_DestroyContext
add esp, 8
mov dword [esi + 0x68c], 0
mov eax, dword [esi + 0x690]
test eax, eax
je 0x1010e32c
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [esi + 0x690], 0
cmp dword [esi + 0x68c], 0
jne 0x1010e33c
jmp 0x1010e336
xor edi, edi
dec edi
jmp 0x1010e3d7
mov dword [esi + 0x690], 0
test byte [esi + 0x20], 0x18
je 0x1010e34c
mov eax, esi
add eax, 0x694
push eax
call fcn.1010a940
add esp, 4
mov eax, dword [esi + 0x6a8]
test eax, eax
je 0x1010e36a
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [esi + 0x6a8], 0
mov eax, dword [esi + 0x6ac]
test eax, eax
je 0x1010e388
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [esi + 0x6ac], 0
cmp dword [esi + 0x4c], 0
jne 0x1010e3b1
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x64]
call dword [section..00cfg]
mov eax, esp
push eax
push ebx
call ecx
add esp, 8
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x4c], ecx
mov eax, dword [esi + 0x160]
test eax, eax
je 0x1010e3c4
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x1010e3d7
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
lea esp, [ebp - 0xc]
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 edi, eax
jmp 0x1010e10a
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1010e137