Function at 0x100bdc70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0x54], ecx
mov eax, dword [ecx + 4]
lea ecx, [eax - 1]
cmp ecx, 5
ja 0x100bdcb6
mov eax, dword [eax*4 + 0x101bc974]
jmp 0x100bdcb9
xor eax, eax
dec eax
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x30], 0
jne 0x100bdce8
mov ebx, dword [esi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100bdf23
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
lea eax, [ebp - 0x38]
push eax
push sym.nss3.dll_SECMOD_CanDeleteInternalModule
push esi
push 4
push edi
call ecx
add esp, 0x14
mov edi, eax
test eax, eax
je 0x100bdd14
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x30], 0
jne 0x100bdd25
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x100bdd5a
mov edi, dword [esi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bdf06
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
jmp 0x100bdd60
cmp dword [esi + 0x30], 0
je 0x100bdd32
mov eax, dword [esi]
mov ecx, dword [eax + 0xaa]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [ebp - 0x44]
push edi
push eax
mov edi, dword [ebp - 0x58]
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x100bdd9e
mov ebx, eax
cmp dword [ebp - 0x50], 0
je 0x100bde06
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bde6b
xor edi, edi
lea ebx, [ebp - 0x48]
mov dword [ebx], edi
mov eax, dword [esi]
mov ecx, dword [eax + 0xae]
call dword [section..00cfg]
mov eax, 0x14
lea edx, [ebp - 0x24]
push ebx
push edi
mov edi, dword [ebp - 0x58]
push eax
push edx
mov ebx, edx
push edi
call ecx
add esp, 0x14
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xae]
call dword [section..00cfg]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x14
push eax
push ebx
push edi
call ecx
add esp, 0x14
cmp dword [ebp - 0x50], 0
je 0x100bde6e
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bdecf
cmp dword [esi + 0x30], 0
jne 0x100bde50
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bde50
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x50], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100bdf40
mov edi, dword [ebp - 0x50]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x54]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x58]
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [esi + 0x30], 0
je 0x100bdd8e
push ebx
jmp 0x100bded7
cmp dword [esi + 0x30], 0
jne 0x100bdeb4
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bdeb4
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x50], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bdf5e
mov edi, dword [ebp - 0x50]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov edi, dword [ebp - 0x58]
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
cmp dword [esi + 0x30], 0
je 0x100bddf6
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100bdf01
push eax
call fcn.100aaef0
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.10157a00
mov eax, esi
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x48]
jmp 0x100bdeed
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100bdd4b
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100bdcdb
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x54], eax
jmp 0x100bde3a
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100bdea1