Function at 0x1009c100
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x2c], edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ecx], 0
lea esi, [edi + 0xc]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edi
mov esi, dword [esi]
cmp esi, dword [ebp - 0x30]
je 0x1009c1fd
mov dword [ebp - 0x34], esi
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x1009c15c
cmp eax, 2
jne 0x1009c17e
push dword [esi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x1009c17e
mov ebx, dword [esi + 8]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009c1e0
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
cmp dword [esi + 0x14], 0
je 0x1009c1a6
xor edi, edi
mov eax, dword [esi + 0x10]
push dword [ebp - 0x2c]
push dword [eax + edi*4]
call fcn.10097340
add esp, 8
test eax, eax
sete bl
jne 0x1009c1a8
inc edi
cmp edi, dword [esi + 0x14]
jb 0x1009c186
jmp 0x1009c1a8
mov bl, 1
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x1009c1c5
cmp eax, 2
mov edi, dword [ebp - 0x28]
jne 0x1009c1d3
push dword [esi + 8]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x1009c1d3
push dword [esi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x28]
test bl, bl
mov esi, dword [ebp - 0x34]
jne 0x1009c131
jmp 0x1009c24f
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1009c171
push dword [edi]
call fcn.10092fd0
add esp, 4
test eax, eax
je 0x1009c240
mov ebx, eax
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
call dword [section..00cfg]
lea esi, [ebp - 0x20]
push edi
mov edi, dword [ebp - 0x28]
push esi
push dword [ebp - 0x2c]
call ecx
add esp, 0xc
test eax, eax
je 0x1009c277
mov ecx, dword [edi]
mov edx, ebx
push 1
call fcn.100930c0
add esp, 4
push dword [ebp - 0x2c]
call fcn.100972a0
add esp, 4
xor esi, esi
jmp 0x1009c263
push dword [ebp - 0x2c]
call fcn.100972a0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
cmp edi, eax
je 0x1009c2b4
lea ebx, [ebp - 0x24]
lea eax, [edi + 0x10]
push ebx
push esi
push eax
call fcn.100939c0
add esp, 0xc
test eax, eax
je 0x1009c2ad
lea eax, [edi + 0x18]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.100939c0
add esp, 0xc
test eax, eax
jne 0x1009c32b
mov edi, dword [edi]
cmp edi, dword [ebp - 0x30]
jne 0x1009c286
push 0x20
mov edi, dword [ebp - 0x28]
push dword [edi]
call fcn.10092ca0
add esp, 8
test eax, eax
mov ebx, dword [ebp - 0x34]
je 0x1009c232
push dword [edi + 0x2c]
push dword [edi + 8]
push dword [edi + 4]
push dword [ebp - 0x2c]
push 0
mov esi, eax
call fcn.1009b440
add esp, 0x14
mov dword [esi + 0xc], eax
test eax, eax
je 0x1009c232
mov edx, esi
movsd xmm0, qword [ebp - 0x20]
movsd qword [esi + 0x10], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0
mov dword [esi + 4], esi
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x10]
mov dword [eax], esi
mov dword [edi + 0x10], esi
inc dword [edi + 0x14]
jmp 0x1009c345
test edi, edi
je 0x1009c2b4
push dword [ebp - 0x2c]
mov esi, edi
push dword [edi + 0xc]
call fcn.1009b500
add esp, 8
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov ecx, dword [edi]
mov edx, ebx
push 0
call fcn.100930c0
add esp, 4
jmp 0x1009c263