Function at 0x100756a0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x101de200], 0
je 0x10075972
push 0x84
push 1
call dword [sym.imp.mozglue.dll_calloc]
add esp, 8
mov esi, eax
test eax, eax
je 0x1007571d
lea edi, [esi + 0x1c]
mov ecx, dword [0x101de1ec]
test ecx, ecx
je 0x1007597c
call dword [section..00cfg]
push 0x1000000
push 0x5dc
push edi
call ecx
test eax, eax
je 0x1007598d
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x80], eax
mov dword [esi], esi
mov dword [esi + 4], esi
mov eax, esi
add eax, 0xc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [0x101de28c], esi
cmp dword [0x101de200], 0
je 0x100759ad
push 0x84
push 1
call dword [sym.imp.mozglue.dll_calloc]
add esp, 8
mov esi, eax
test eax, eax
je 0x1007578d
lea edi, [esi + 0x1c]
mov ecx, dword [0x101de1ec]
test ecx, ecx
je 0x100759b7
call dword [section..00cfg]
push 0x1000000
push 0x5dc
push edi
call ecx
test eax, eax
je 0x100759c8
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x80], eax
mov dword [esi], esi
mov dword [esi + 4], esi
mov eax, esi
add eax, 0xc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [0x101debd8], esi
xor esi, esi
inc esi
mov edi, dword [sym.imp.mozglue.dll_calloc]
push 0x2c
push esi
call edi
mov edx, edi
add esp, 8
mov edi, eax
mov eax, dword [0x101de1d8]
add eax, ebp
add eax, 7
mov cl, byte [0x101de1dc]
shr eax, cl
shl eax, cl
mov dword [edi + 0x18], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
test eax, eax
cmovns ebx, eax
push 0x144
mov dword [ebp - 0x14], esi
push esi
call edx
add esp, 8
test eax, eax
je 0x10075a12
mov esi, eax
cmp ebx, 3
mov eax, 3
cmovl eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x10], edi
mov dword [esi], 2
lea eax, [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
lea edi, [esi + 0x40]
mov ecx, dword [0x101de1ec]
test ecx, ecx
je 0x100759e8
call dword [section..00cfg]
push 0x1000000
push 0x5dc
push edi
call ecx
test eax, eax
je 0x100759f9
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0xa4], eax
push esi
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, 0x101de238
cmp dword [ebp + 8], 1
je 0x10075a17
inc dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [0x101debdc], eax
mov dword [esi + 0xe4], 1
push dword [0x101debd8]
call sym.nss3.dll_PR_NewCondVar
add esp, 4
mov dword [0x101debe0], eax
or byte [esi + 0xe0], 0x88
push esi
call fcn.100695f0
add esp, 4
mov eax, esi
add eax, 0xb0
mov dword [esi + 0xb0], 0x101dd0b0
mov ecx, dword [0x101dd0b4]
mov dword [esi + 0xb4], ecx
mov dword [ecx], eax
inc dword [0x101debe4]
mov dword [0x101dd0b4], eax
mov dword [0x101debe8], 0
cmp dword [0x101de200], 0
je 0x10075a32
push 0x84
push 1
call dword [sym.imp.mozglue.dll_calloc]
add esp, 8
mov esi, eax
test eax, eax
je 0x10075932
lea edi, [esi + 0x1c]
mov ecx, dword [0x101de1ec]
test ecx, ecx
je 0x10075a3c
call dword [section..00cfg]
push 0x1000000
push 0x5dc
push edi
call ecx
test eax, eax
je 0x10075a4d
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x80], eax
mov dword [esi], esi
mov dword [esi + 4], esi
mov eax, esi
add eax, 0xc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [0x101debec], esi
mov dword [0x101debf0], 0
mov eax, 0x101debf4
mov dword [0x101debf4], eax
mov dword [0x101debf8], eax
mov eax, 0x101debfc
mov dword [0x101debfc], eax
mov dword [0x101dec00], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100745f0
jmp 0x100756c0
push 0x5dc
push edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x100756fa
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10001070
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor esi, esi
jmp 0x1007571d
call fcn.100745f0
jmp 0x10075730
push 0x5dc
push edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x1007576a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10001070
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor esi, esi
jmp 0x1007578d
push 0x5dc
push edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x1007582e
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10001070
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
call sym.nss3.dll_PR_Abort
mov dword [esi + 0xe0], 1
mov eax, 0x101de23c
mov dword [ebp - 0x14], 0
jmp 0x1007585d
call fcn.100745f0
jmp 0x100758d5
push 0x5dc
push edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x1007590f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10001070
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor esi, esi
jmp 0x10075932