Function at 0x100832e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101ef014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 4]
lea esi, [ebp - 0x30]
mov dword [esi], ecx
mov eax, dword [eax + 8]
mov dword [esi + 4], eax
lea eax, [ebp - 0x3c]
mov dword [eax], 1
xor edi, edi
push edi
push eax
push edi
push esi
push dword [0x101f3074]
call fcn.100993b0
add esp, 0x14
mov ebx, eax
push edi
push edi
push edi
push esi
push dword [ebp + 8]
call fcn.1009f560
add esp, 0x14
test eax, eax
je 0x10083386
mov esi, eax
push edi
lea eax, [ebp - 0x3c]
push eax
push edi
push esi
call fcn.1009bcc0
add esp, 0x10
mov edi, eax
push esi
call fcn.1009bbc0
add esp, 4
test ebx, ebx
je 0x100833f1
test edi, edi
je 0x1008338e
lea eax, [ebp - 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
mov dword [eax + 8], ecx
lea edx, [ebp - 0x28]
mov dword [edx], 1
push ecx
push edx
push ecx
push eax
call fcn.1009bcc0
add esp, 0x10
mov dword [ebp - 0x40], eax
jmp 0x10083397
test ebx, ebx
je 0x10083425
lock inc dword [ebx + 4]
xor edi, edi
mov dword [ebp - 0x40], ebx
mov ecx, ebx
xor edx, edx
call fcn.1009a0e0
test eax, eax
je 0x10083405
mov esi, eax
mov ebx, dword [0x101f2ff0]
test ebx, ebx
je 0x100833fb
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x100834dd
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 [0x101f2ff0]
mov ebx, dword [esi + 0x15c]
test eax, eax
je 0x10083401
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10083401
test edi, edi
je 0x10083423
lock inc dword [edi + 4]
jmp 0x10083425
mov ebx, dword [esi + 0x15c]
test ebx, ebx
je 0x10083410
push ebx
call fcn.100986e0
add esp, 4
jmp 0x10083428
mov eax, dword [esi]
test eax, eax
je 0x10083428
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x10083428
xor edi, edi
mov dword [ebp - 0x40], edi
test edi, edi
je 0x10083495
mov ecx, edi
xor edx, edx
call fcn.1009a0e0
test eax, eax
je 0x1008348c
mov esi, eax
mov ebx, dword [0x101f2ff0]
test ebx, ebx
je 0x10083482
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100834fb
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [0x101f2ff0]
mov edi, dword [esi + 0x15c]
test eax, eax
je 0x10083488
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10083488
mov edi, dword [esi + 0x15c]
test edi, edi
je 0x100834ca
push edi
call fcn.100986e0
add esp, 4
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x100834b4
mov ecx, edi
xor edx, edx
call fcn.1009a0e0
mov esi, eax
test eax, eax
jne 0x100834b6
push edi
call fcn.100986e0
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x10083495
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x10083495
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x100833c7
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1008345b