Function at 0x100bd740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x101ef014]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov ebx, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x100bd77b
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x30], 0
jne 0x100bd7a7
mov edi, dword [ebx + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100bd9db
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push sym.nss3.dll_SECMOD_CanDeleteInternalModule
push ebx
push 4
push esi
call ecx
add esp, 0x14
mov esi, eax
test eax, eax
je 0x100bd7d3
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x30], 0
jne 0x100bd7e4
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], esi
test esi, esi
mov dword [ebp - 0x2c], edi
je 0x100bd821
mov edi, dword [ebx + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100bd9be
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov al, 1
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 0x2c]
jmp 0x100bd82e
cmp dword [ebx + 0x30], 0
je 0x100bd7f1
mov dword [ebp - 0x28], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xaa]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call dword [section..00cfg]
lea eax, [ebp - 0x20]
push esi
push eax
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x100bd8d6
mov esi, eax
cmp byte [ebp - 0x28], 0
je 0x100bd868
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x100bd98f
cmp dword [ebx + 0x30], 0
jne 0x100bd8ab
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x28], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100bd9f8
mov edi, dword [ebp - 0x28]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [ebx + 0x30], 0
jne 0x100bd98f
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bd98f
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xae]
mov esi, dword [edx + 4]
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov edi, dword [eax + 8]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call ecx
add esp, 0x14
mov esi, eax
cmp byte [ebp - 0x28], 0
je 0x100bd921
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x100bd982
cmp dword [ebx + 0x30], 0
jne 0x100bd960
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x28], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100bda16
mov edi, dword [ebp - 0x28]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [ebx + 0x30], 0
jne 0x100bd982
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
test esi, esi
je 0x100bd9ba
push esi
call fcn.100a9930
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x100bd9a6
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x100bd80a
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x100bd79a
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x24], eax
jmp 0x100bd895
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x24], eax
jmp 0x100bd94a