Function at 0x100f0800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
xor edi, edi
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi], ecx
mov eax, dword [eax + 8]
mov dword [esi + 4], eax
lea eax, [ebp - 0x3c]
mov dword [eax], 1
push edi
push eax
push edi
push esi
push dword [0x101d580c]
call fcn.10105760
add esp, 0x14
mov ebx, eax
push edi
push edi
push edi
push esi
push dword [ebp + 8]
call fcn.1010b780
add esp, 0x14
test eax, eax
je 0x100f08a6
mov esi, eax
push edi
lea eax, [ebp - 0x3c]
push eax
push edi
push esi
call fcn.10108010
add esp, 0x10
mov edi, eax
push esi
call fcn.10107f20
add esp, 4
test ebx, ebx
je 0x100f0911
test edi, edi
je 0x100f08ae
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
xor edx, edx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [ecx], 1
push edx
push ecx
push edx
push eax
call fcn.10108010
add esp, 0x10
mov dword [ebp - 0x40], eax
jmp 0x100f08b7
test ebx, ebx
je 0x100f0945
lock inc dword [ebx + 4]
xor edi, edi
mov dword [ebp - 0x40], ebx
mov ecx, ebx
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100f0925
mov ebx, dword [0x101d5788]
mov esi, eax
test ebx, ebx
je 0x100f091b
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x44], eax
je 0x100f09fd
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x44]
mov dword [ebx + 8], eax
mov eax, dword [0x101d5788]
mov ebx, dword [esi + 0x15c]
test eax, eax
je 0x100f0921
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f0921
test edi, edi
je 0x100f0943
lock inc dword [edi + 4]
jmp 0x100f0945
mov ebx, dword [esi + 0x15c]
test ebx, ebx
je 0x100f0930
push ebx
call fcn.10104ae0
add esp, 4
jmp 0x100f0948
mov eax, dword [esi]
test eax, eax
je 0x100f0948
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f0948
xor edi, edi
mov dword [ebp - 0x40], edi
test edi, edi
je 0x100f09b5
mov ecx, edi
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100f09ac
mov ebx, dword [0x101d5788]
mov esi, eax
test ebx, ebx
je 0x100f09a2
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100f0a14
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [0x101d5788]
mov edi, dword [esi + 0x15c]
test eax, eax
je 0x100f09a8
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f09a8
mov edi, dword [esi + 0x15c]
test edi, edi
je 0x100f09ea
push edi
call fcn.10104ae0
add esp, 4
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x100f09d4
mov ecx, edi
xor edx, edx
call fcn.101064f0
mov esi, eax
test eax, eax
jne 0x100f09d6
push edi
call fcn.10104ae0
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x100f09b5
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f09b5
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x100f08e7
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x100f097b