Function at 0x100c94a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
cmp dword [0x101df008], ebx
jne 0x100c94e8
push str.moduleListLock
push 0xa
call fcn.100da850
add esp, 8
mov dword [0x101df008], eax
call fcn.100d23e0
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x14]
push eax
push ecx
push edx
push esi
push edi
push dword [ebp + 8]
call fcn.100e7370
add esp, 0x18
test eax, eax
jne 0x100c962d
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.100c7580
add esp, 0x14
mov esi, eax
push dword [ebp - 0x20]
push str.printPolicyFeedback
push 0x101b69a8
call sym.nss3.dll_NSSUTIL_ArgHasFlag
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100c9550
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100c9561
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100c9572
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100c9583
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100c9594
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100c962d
test byte [esi + 0x58], 8
jne 0x100c962b
mov dword [ebp - 0x34], edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100c95fd
mov dword [ebp - 0x2c], esi
mov esi, dword [edi + 0x20]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100c9828
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
inc dword [edi + 0x24]
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x50], edi
cmp dword [esi + 4], 0
je 0x100c95fd
mov eax, dword [edi + 4]
test al, 2
je 0x100c95fd
mov dword [esi + 4], eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.100bdbf0
add esp, 8
test eax, eax
je 0x100c9641
cmp dword [esi + 8], 0
je 0x100c961d
push esi
call fcn.100be660
add esp, 4
push esi
push 0x101df01c
call fcn.100d6920
add esp, 8
mov ebx, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x28], 0
je 0x100c9655
push esi
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov ebx, dword [ebp - 0x28]
jmp 0x100c962d
cmp dword [ebp + 0x10], 0
je 0x100c980c
cmp dword [esi + 0x58], 0
je 0x100c980c
mov ebx, esi
xor esi, esi
push esi
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x100c9746
mov edi, dword [ebx + 0x48]
call dword [section..00cfg]
push esi
push edi
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x100c9746
mov dword [ebp - 0x2c], ebx
mov bl, 1
cmp dword [eax], 0
mov dword [ebp - 0x30], eax
je 0x100c97e0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x58]
and ecx, 2
lea ebx, [eax + 4]
test ecx, ecx
cmove ebx, eax
mov edi, dword [eax + ecx*2]
test edi, edi
je 0x100c973f
add ebx, 4
push dword [ebp + 8]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x100c9787
cmp dword [ebp - 0x34], 0
je 0x100c9711
push str.printPolicyFeedback
push edi
call sym.nss3.dll_NSSUTIL_AddNSSFlagToModuleSpec
add esp, 8
mov edi, eax
push 1
push esi
push eax
call sym.nss3.dll_SECMOD_LoadModule
add esp, 0xc
test edi, edi
je 0x100c971d
push edi
mov edi, eax
call dword [sym.imp.mozglue.dll_free]
mov eax, edi
add esp, 4
jmp 0x100c971d
push 1
push esi
push edi
call sym.nss3.dll_SECMOD_LoadModule
add esp, 0xc
test eax, eax
je 0x100c973f
cmp dword [eax + 0x54], 0
je 0x100c972d
cmp dword [eax + 8], 0
je 0x100c979a
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov edi, dword [ebx]
add ebx, 4
test edi, edi
jne 0x100c96c7
mov bl, 1
jmp 0x100c97e3
mov esi, ebx
cmp dword [0x101de200], 0
je 0x100c987b
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100c9845
cmp dword [eax + 0x28], 0
jne 0x100c960e
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100c960e
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
jmp 0x100c97e3
mov edi, eax
cmp dword [0x101de200], 0
je 0x100c9885
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100c9860
mov eax, dword [eax + 0x28]
test eax, eax
mov esi, 0xffffe040
cmovne esi, eax
push edi
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x100c9804
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + 0x48]
call dword [section..00cfg]
push dword [ebp - 0x30]
push esi
mov esi, dword [ebp - 0x2c]
push 3
call ecx
add esp, 0xc
test bl, bl
je 0x100c960e
cmp dword [esi + 0x5c], 0
je 0x100c981a
push esi
call fcn.100d6af0
jmp 0x100c9820
push esi
call fcn.100d6a60
add esp, 4
jmp 0x100c962b
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100c95cc
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100c9769
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100c97bd
call fcn.100745e0
jmp 0x100c9755
call fcn.100745e0
jmp 0x100c97a9