Function at 0x100d19b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0
je 0x100d19d6
cmp dword [ebx + 0xc], 0
je 0x100d19d6
mov dword [ebp - 0x10], 0x7f
mov esi, 0x65
jmp 0x100d19e2
mov dword [ebp - 0x10], 0x64
mov esi, 4
push dword [ebx + 0x38]
call fcn.100d06d0
add esp, 4
test eax, eax
je 0x100d1aa5
mov edi, eax
mov eax, dword [0x101f53dc]
test eax, eax
je 0x100d1bb2
push eax
call fcn.100d4620
add esp, 4
mov eax, dword [edi + 0x2c]
test eax, eax
jle 0x100d1a7b
mov ecx, dword [edi + 0x28]
xor edx, edx
mov ebx, dword [ecx + edx*4]
cmp dword [ebx + 0x40], esi
je 0x100d1a28
inc edx
cmp eax, edx
jne 0x100d1a19
jmp 0x100d1a7b
lock inc dword [ebx + 0x48]
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
push edi
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov ecx, ebx
xor edx, edx
inc edx
call fcn.100cd440
mov edi, eax
lock dec dword [ebx + 0x48]
jne 0x100d1a5e
push ebx
call fcn.100cb320
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x100d1aa5
inc esi
cmp esi, dword [ebp - 0x10]
jne 0x100d19e2
push 0
push 0xffffe043
jmp 0x100d1bc4
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
mov eax, 0xffffe043
mov ebx, dword [ebp + 8]
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
push edi
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
xor eax, eax
cmp dword [ebx + 0x2c], 0
je 0x100d1bce
mov ecx, dword [ebx + 0x28]
mov edi, dword [ecx]
lock inc dword [edi + 0x48]
test edi, edi
je 0x100d1bce
lea eax, [edi + 0x48]
mov dword [ebp - 0x10], eax
push 0x5d
push 0x3e
push dword [ebp + 0xc]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x100d1b85
mov ebx, eax
push eax
push esi
push str.tokens_0x_x__s__
call sym.nss3.dll_PR_smprintf
add esp, 0xc
mov dword [ebp - 0x14], eax
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d1b98
mov ebx, ecx
mov ecx, edi
mov edx, 0xce534355
push ebx
call fcn.100d1c80
add esp, 4
mov dword [ebp - 0x18], eax
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10]
lock dec dword [eax]
jne 0x100d1b38
push edi
call fcn.100cb320
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x100d1bcc
mov eax, dword [0x101f53dc]
test eax, eax
je 0x100d1bbc
push eax
call fcn.100d4620
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
test eax, eax
jle 0x100d1b70
mov ecx, dword [ecx + 0x28]
xor edx, edx
mov edi, dword [ecx + edx*4]
cmp dword [edi + 0x40], esi
je 0x100d1bd6
inc edx
cmp eax, edx
jne 0x100d1b63
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
mov eax, 0xffffe043
jmp 0x100d1bc1
mov eax, dword [ebp - 0x10]
lock dec dword [eax]
jne 0x100d1bcc
push edi
call fcn.100cb320
add esp, 4
jmp 0x100d1bcc
mov eax, dword [ebp - 0x10]
lock dec dword [eax]
jne 0x100d1ba9
push edi
call fcn.100cb320
add esp, 4
push 0
push 0xffffe013
jmp 0x100d1bc4
mov eax, 0xffffe09a
jmp 0x100d1a91
mov eax, 0xffffe09a
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
lock inc dword [edi + 0x48]
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
push edi
call fcn.100cd0c0
add esp, 4
test eax, eax
je 0x100d1c48
mov esi, eax
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x100d1c3f
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x10], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d1c59
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov dword [ebx + 0x34], 0
push dword [ebx + 0x44]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
call fcn.10096ae0
add esp, 4
xor edx, edx
inc edx
mov ecx, edi
call fcn.100cd440
mov eax, edi
jmp 0x100d1bce
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x100d1c17