Function at 0x1009d6c0
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 [0x101f1014]
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 0x1009d7bd
mov dword [ebp - 0x34], esi
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x1009d71c
cmp eax, 2
jne 0x1009d73e
push dword [esi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x1009d73e
mov ebx, dword [esi + 8]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009d7a0
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
cmp dword [esi + 0x14], 0
je 0x1009d766
xor edi, edi
mov eax, dword [esi + 0x10]
push dword [ebp - 0x2c]
push dword [eax + edi*4]
call fcn.100988e0
add esp, 8
test eax, eax
sete bl
jne 0x1009d768
inc edi
cmp edi, dword [esi + 0x14]
jb 0x1009d746
jmp 0x1009d768
mov bl, 1
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x1009d785
cmp eax, 2
mov edi, dword [ebp - 0x28]
jne 0x1009d793
push dword [esi + 8]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x1009d793
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 0x1009d6f1
jmp 0x1009d80f
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x1009d731
push dword [edi]
call fcn.10094570
add esp, 4
test eax, eax
je 0x1009d800
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 0x1009d837
mov ecx, dword [edi]
mov edx, ebx
push 1
call fcn.10094660
add esp, 4
push dword [ebp - 0x2c]
call fcn.10098840
add esp, 4
xor esi, esi
jmp 0x1009d823
push dword [ebp - 0x2c]
call fcn.10098840
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
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 0x1009d874
lea ebx, [ebp - 0x24]
lea eax, [edi + 0x10]
push ebx
push esi
push eax
call fcn.10094f60
add esp, 0xc
test eax, eax
je 0x1009d86d
lea eax, [edi + 0x18]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.10094f60
add esp, 0xc
test eax, eax
jne 0x1009d8eb
mov edi, dword [edi]
cmp edi, dword [ebp - 0x30]
jne 0x1009d846
push 0x20
mov edi, dword [ebp - 0x28]
push dword [edi]
call fcn.10094240
add esp, 8
test eax, eax
mov ebx, dword [ebp - 0x34]
je 0x1009d7f2
push dword [edi + 0x2c]
push dword [edi + 8]
push dword [edi + 4]
push dword [ebp - 0x2c]
push 0
mov esi, eax
call fcn.1009ca00
add esp, 0x14
mov dword [esi + 0xc], eax
test eax, eax
je 0x1009d7f2
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 0x1009d905
test edi, edi
je 0x1009d874
push dword [ebp - 0x2c]
mov esi, edi
push dword [edi + 0xc]
call fcn.1009cac0
add esp, 8
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov ecx, dword [edi]
mov edx, ebx
push 0
call fcn.10094660
add esp, 4
jmp 0x1009d823