Function at 0x100f0df0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x10]
test eax, eax
je 0x100f0e4b
push dword [ebp + 0x10]
push ebx
push eax
call fcn.100f2040
add esp, 0xc
test eax, eax
je 0x100f0ec1
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
je 0x100f0f51
xor esi, esi
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov edx, eax
jmp 0x100f0f99
xor eax, eax
test ebx, ebx
je 0x100f0f24
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], esi
cmp dword [edi + 4], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
jle 0x100f0e90
xor esi, esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + esi*4]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [eax + esi*4]
call dword [section..00cfg]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call ecx
add esp, 0xc
inc esi
cmp esi, dword [edi + 4]
jl 0x100f0e69
mov esi, dword [ebp - 0x1c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100f0ff0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call dword [section..00cfg]
push edi
push esi
push dword [ebp - 0x18]
call ecx
mov eax, dword [ebp - 0x24]
add esp, 0xc
jmp 0x100f0f30
test ebx, ebx
je 0x100f0ff0
xor eax, eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push eax
push eax
push eax
push dword [edi + 0x10]
call fcn.100f20b0
add esp, 0x1c
test eax, eax
je 0x100f0ff0
cmp dword [0x101de200], 0
je 0x100f101f
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x100f0fde
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100f0fde
mov ebx, edi
cmp dword [esi + 8], 0
je 0x100f0ff0
test eax, eax
je 0x100f0ff0
cmp dword [ebx + 0x10], 0
je 0x100f0ff0
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100f0ff0
mov ecx, dword [esi + 4]
mov esi, dword [ecx + 0x24]
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x100f0f86
mov dword [ebp - 0x1c], ecx
mov ecx, eax
add ecx, edx
push ecx
push edx
push dword [esi + 0x48]
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov dword [ebp - 0x24], edx
call sym.nss3.dll_PORT_ArenaGrow_Util
mov edx, dword [ebp - 0x24]
add esp, 0x10
add edx, eax
test eax, eax
cmove edx, eax
jmp 0x100f0f93
push eax
push dword [ecx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov edx, eax
mov dword [esi + 0x48], edx
add esi, 0x44
mov ecx, dword [ebp + 8]
test edx, edx
je 0x100f0fe6
lea eax, [ebp - 0x14]
push dword [ebp + 0x10]
push ebx
push ecx
push dword [ebp - 0x20]
push eax
push edx
push dword [edi + 0x10]
mov ebx, edx
call fcn.100f20b0
add esp, 0x1c
test eax, eax
je 0x100f1002
cmp dword [0x101de200], 0
je 0x100f1018
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, dword [ebp - 0x18]
je 0x100f0f09
mov eax, dword [eax + 0x28]
mov dword [esi + 0x34], eax
jmp 0x100f0ff0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x34], 0xffffe013
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
mov ebx, dword [ebp - 0x14]
test esi, esi
je 0x100f100e
add dword [esi + 8], ebx
mov ecx, eax
mov esi, dword [ebp - 0x18]
jmp 0x100f0e4d
call fcn.100745e0
jmp 0x100f0fc7
call fcn.100745e0
jmp 0x100f0ef5