Function at 0x100bc6b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [0x101ef014]
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 0x100bc6f6
mov eax, dword [eax*4 + 0x101ba794]
jmp 0x100bc6f9
xor eax, eax
dec eax
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x30], 0
jne 0x100bc728
mov ebx, dword [esi + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100bc963
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 0x100bc754
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x30], 0
jne 0x100bc765
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 0x100bc79a
mov edi, dword [esi + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bc946
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
jmp 0x100bc7a0
cmp dword [esi + 0x30], 0
je 0x100bc772
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 0x100bc7de
mov ebx, eax
cmp dword [ebp - 0x50], 0
je 0x100bc846
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bc8ab
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 0x100bc8ae
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100bc90f
cmp dword [esi + 0x30], 0
jne 0x100bc890
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bc890
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x50], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100bc980
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 0x100bc7ce
push ebx
jmp 0x100bc917
cmp dword [esi + 0x30], 0
jne 0x100bc8f4
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x100bc8f4
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x50], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bc99e
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 0x100bc836
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100bc941
push eax
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, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x48]
jmp 0x100bc92d
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100bc78b
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x100bc71b
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov dword [ebp - 0x54], eax
jmp 0x100bc87a
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100bc8e1