Function at 0x10092750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, edx
mov edi, ecx
cmp dword [ebp + 0x24], 0
jne 0x10092772
xor ebx, ebx
test byte [0x101f5078], 1
jne 0x10092a5f
push 0x10093740
push 0x101f5058
call sym.nss3.dll_PR_CallOnce
add esp, 8
test eax, eax
je 0x10092790
xor ebx, ebx
dec ebx
jmp 0x10092a5f
mov dword [ebp - 0x14], edi
mov edi, dword [0x101f5064]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100931b2
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov bl, 1
mov eax, dword [0x101f5080]
cmp byte [0x101f5078], 0
jne 0x1009280d
cmp dword [0x101f507c], 0
jne 0x1009280d
test eax, eax
je 0x10092809
push 0xffffffffffffffff
push dword [0x101f5084]
call sym.nss3.dll_PR_WaitCondVar
add esp, 8
cmp dword [0x101f507c], 0
setne bl
or bl, byte [0x101f5078]
mov eax, dword [0x101f5080]
test bl, 1
jne 0x1009280d
test eax, eax
jne 0x100927d9
jmp 0x1009280d
xor eax, eax
xor ebx, ebx
inc eax
mov dword [0x101f5080], eax
push dword [0x101f5064]
call sym.nss3.dll_PR_Unlock
add esp, 4
test bl, 1
je 0x100928c7
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x44]
mov edi, ecx
or edi, edx
or edi, eax
je 0x10092856
test edx, edx
setne byte [0x101f5240]
test ecx, ecx
setne byte [0x101f5244]
test eax, eax
setne byte [0x101f5248]
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x100928e6
push 8
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x100928fe
mov edi, dword [ebp + 0x28]
test edi, edi
je 0x1009290a
mov eax, 0xffffe005
cmp dword [edi], 0x2c
jb 0x10092b24
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 0x1c]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x18]
push dword [edi + 0x14]
call fcn.100924b0
add esp, 0x1c
test eax, eax
je 0x10092b1f
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov edi, dword [edi + 0x10]
jmp 0x1009291a
call fcn.1007de90
xor edi, edi
test eax, eax
jne 0x100928df
call fcn.1007f7f0
test eax, eax
je 0x100929bf
xor ecx, ecx
jmp 0x100929d1
mov eax, dword [0x101f5050]
mov dword [ebp - 0x1c], eax
mov edi, dword [0x101f504c]
mov eax, dword [0x101f5054]
mov dword [ebp - 0x18], eax
jmp 0x10092924
mov dword [ebp - 0x14], 0
jmp 0x10092a01
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x18], 0
push 0
call fcn.100d1f90
add esp, 4
cmp dword [ebp + 0x30], 0
setne al
cmp dword [ebp + 0x34], 0
setne cl
and cl, al
xor eax, eax
test cl, bl
je 0x1009298f
mov dword [ebp - 0x14], eax
mov edi, dword [0x101f5064]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009324d
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x10092a69
mov eax, dword [esi]
mov dword [eax + 4], 0x1413a91c
mov eax, dword [0x101f507c]
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [0x101f507c], eax
jmp 0x10092a70
push 0x100d33d0
push 0x101f53f8
call sym.nss3.dll_PR_CallOnce
add esp, 8
test eax, eax
je 0x10092aab
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
mov ecx, dword [ebp - 0x1c]
jmp 0x100929d1
call fcn.10089430
mov ecx, 0
test eax, eax
je 0x1009282a
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x10092a01
mov eax, dword [esi]
test eax, eax
je 0x10092a01
push eax
mov edi, ecx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [esi], 0
test edi, edi
je 0x10092a01
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [0x101f5064]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100931cf
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
dec dword [0x101f5080]
push dword [0x101f5084]
call sym.nss3.dll_PR_NotifyCondVar
add esp, 4
push dword [0x101f5064]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor ebx, ebx
dec ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10092a5f
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [0x101f5078], 1
dec dword [0x101f5080]
push dword [0x101f5084]
call sym.nss3.dll_PR_NotifyAllCondVar
add esp, 4
push dword [0x101f5064]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x1c]
je 0x10092aa7
test eax, eax
je 0x10092aa7
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor ebx, ebx
jmp 0x10092a4f
mov dword [ebp - 0x40], edi
mov edi, dword [ebp + 0x2c]
push 0x57
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm0
xor eax, eax
mov dword [ecx + 0x53], eax
mov dword [ecx + 0x4f], eax
test edi, edi
mov dword [ebp - 0x10], ecx
je 0x10092b40
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + eax], 0x64616572
mov dword [ecx + eax + 4], 0x796c6e4f
mov byte [ecx + eax + 8], 0
cmp dword [ebp + 0x30], 0
mov edi, dword [ebp + 0x24]
je 0x10092b6d
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov word [ecx + eax], 0x2c
jmp 0x10092b4d
mov eax, 0xffffe013
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov esi, dword [ebp + 0x24]
jmp 0x100929db
cmp dword [ebp + 0x30], 0
mov edi, dword [ebp + 0x24]
je 0x10092f1c
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + eax], 0x65436f6e
mov dword [ecx + eax + 4], 0x42447472
mov byte [ecx + eax + 8], 0
cmp dword [ebp + 0x34], 0
je 0x10092ba0
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov word [ecx + eax], 0x2c
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + eax + 4], 0x424464
mov dword [ecx + eax], 0x6f4d6f6e
cmp dword [ebp + 0x38], 0
je 0x10092bda
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov word [ecx + eax], 0x2c
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + eax], 0x63726f66
mov dword [ecx + eax + 4], 0x65704f65
mov word [ecx + eax + 8], 0x6e
cmp dword [ebp - 0x18], 0
je 0x10092c0e
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov word [ecx + eax], 0x2c
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
movups xmm0, xmmword [str.passwordRequired]
movups xmmword [ecx + eax], xmm0
mov byte [ecx + eax + 0x10], 0
cmp dword [ebp + 0x40], 0
je 0x10092c50
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov word [ecx + eax], 0x2c
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + eax], 0x6974706f
mov dword [ecx + eax + 4], 0x657a696d
mov dword [ecx + eax + 8], 0x63617053
mov word [ecx + eax + 0xc], 0x65
push 0x22
push 0x27
push dword [ebp - 0x14]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092f0b
mov dword [ebp - 0x18], eax
push 0x22
push 0x27
push esi
call fcn.100e0510
add esp, 0xc
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10092d93
push 0x22
push 0x27
push dword [ebp + 8]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092d93
mov dword [ebp - 0x3c], eax
push 0x22
push 0x27
push dword [ebp + 0xc]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092f49
mov dword [ebp - 0x38], eax
push 0x22
push 0x27
push dword [ebp + 0x10]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092f63
mov dword [ebp - 0x30], eax
push 0x22
push 0x27
push dword [ebp + 0x14]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092f6f
mov dword [ebp - 0x2c], eax
push 0x22
push 0x27
push dword [ebp + 0x18]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092f7b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0x22
push 0x27
push dword [ebp + 0x1c]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092dbd
mov dword [ebp - 0x20], eax
push 0x22
push 0x27
push dword [ebp + 0x20]
call fcn.100e0510
add esp, 0xc
test eax, eax
je 0x10092dc4
mov esi, eax
test edi, edi
mov ecx, 0x101e246d
mov edx, str._defaultModDB_internalKeySlot
cmovne edx, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
mov edi, dword [ebp - 0x40]
test edi, edi
mov eax, str.NSS_Internal_Module
cmovne eax, edi
push edx
push ecx
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
push eax
push str.name__s__parameters_configdir_s_certPrefix_s_keyPrefix_s_secmod_s_flags_s_updatedir_s_updateCertPrefix_s_updateKeyPrefix_s_updateid_s_updateTokenDescription_s__s__NSS_flagsinternal_moduleDB_moduleDBOnly_critical_s_
call sym.nss3.dll_PR_smprintf
add esp, 0x38
mov dword [ebp - 0x28], eax
jmp 0x10092dc6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xor esi, esi
mov edi, dword [sym.imp.mozglue.dll_free]
push dword [ebp - 0x10]
call edi
add esp, 4
push dword [ebp - 0x18]
call edi
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10092ded
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10092dfe
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10092e0f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10092e20
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10092e31
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10092e42
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10092e53
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x10092e61
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor edi, edi
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x100929ba
push 1
push 0
push esi
call sym.nss3.dll_SECMOD_LoadModule
add esp, 0xc
mov ecx, esi
mov esi, eax
push ecx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100929ba
mov eax, esi
cmp dword [esi + 8], 0
je 0x10092f55
test bl, 1
jne 0x1009293a
mov edi, eax
call sym.nss3.dll_SECOID_Init
test eax, eax
jne 0x100929ba
call fcn.1009aaf0
test eax, eax
jne 0x100929ba
cmp dword [0x101f5068], 0
je 0x10092f87
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x101f50a0]
mov dword [0x101f5014], ecx
mov ecx, dword [ebp + 0x30]
or ecx, eax
or ecx, dword [ebp + 0x34]
jne 0x10092ef5
call fcn.100cb400
test eax, eax
je 0x10092fc9
call sym.nss3.dll_PR_NewLock
mov dword [0x101f5264], eax
call fcn.1007e000
mov eax, edi
jmp 0x1009293a
push dword [ebp - 0x10]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100929b8
cmp dword [ebp + 0x34], 0
jne 0x10092b85
cmp dword [ebp + 0x38], 0
jne 0x10092bb8
cmp dword [ebp - 0x18], 0
jne 0x10092bf2
cmp dword [ebp + 0x40], 0
jne 0x10092c26
jmp 0x10092c50
mov dword [ebp - 0x28], 0
jmp 0x10092da1
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
jmp 0x100929ba
mov dword [ebp - 0x28], 0
jmp 0x10092da8
mov dword [ebp - 0x28], 0
jmp 0x10092daf
mov dword [ebp - 0x28], 0
jmp 0x10092db6
call sym.nss3.dll_PR_NewLock
mov dword [0x101f5068], eax
test eax, eax
je 0x100929ba
push 0x50
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
mov dword [0x101f5074], eax
test eax, eax
je 0x1009303b
mov dword [0x101f506c], 0xa
mov dword [0x101f5070], 0
jmp 0x10092ecf
push 4
push str.sql:
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10093064
push 4
push str.dbm:
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10093064
push 7
push str.extern:
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100931ec
push 4
push str.rdb:
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test esi, esi
je 0x10092ef5
test eax, eax
jne 0x10093068
jmp 0x10092ef5
mov esi, dword [0x101f5068]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [0x101f5068], 0
jmp 0x100929ba
add dword [ebp - 0x14], 4
push dword [ebp - 0x14]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
cmp dword [ebp + 0xc], 0
je 0x1009308b
push dword [ebp + 0xc]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x10093092
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
add eax, esi
add eax, 0xd
mov dword [ebp - 0x34], eax
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10092ef5
push esi
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [esi + ebx - 1], 0x2f
je 0x100930d0
mov eax, dword [ebp - 0x10]
mov byte [eax + esi], 0x2f
inc esi
mov eax, dword [ebp - 0x10]
mov dword [eax + esi + 8], 0x6c6c64
mov dword [eax + esi + 4], 0x2e69626b
mov dword [eax + esi], 0x6373736e
mov bl, 1
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
jle 0x100931ff
push 0x2f
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100931ff
push dword [ebp - 0x34]
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100931f5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x34], eax
push esi
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
add eax, esi
push dword [ebp - 0x34]
push dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, esi
inc eax
mov dword [ebx + eax], 0x6373736e
mov dword [ebx + eax + 4], 0x2e69626b
mov dword [ebx + eax + 8], 0x6c6c64
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], str.Root_Certs
call sym.nss3.dll_SECMOD_AddNewModuleEx
add esp, 0x18
call fcn.100cb400
test eax, eax
je 0x100931fd
push dword [ebp - 0x10]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x1009323c
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100927af
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x10092a1d
add dword [ebp - 0x14], 7
jmp 0x10093068
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x1009323c
xor ebx, ebx
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov esi, dword [ebp - 0x10]
mov dword [esp + 4], esi
mov dword [esp], str.Root_Certs
call sym.nss3.dll_SECMOD_AddNewModuleEx
add esp, 0x18
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test bl, bl
jne 0x10092ef5
cmp dword [ebp - 0x14], 0
je 0x10092ef5
push dword [ebp - 0x14]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x10092ef5
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x10092959