Function at 0x10083c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [ebp + 0xc]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
mov dword [eax], 1
xor ebx, ebx
push ebx
push eax
push ebx
push edi
push dword [0x101f50a4]
call fcn.1009a910
add esp, 0x14
mov esi, eax
push ebx
push edi
call sym.nss3.dll_PK11_FindCertFromNickname
add esp, 8
test eax, eax
je 0x10083e16
mov edi, eax
push eax
call fcn.1009bef0
add esp, 4
test esi, esi
mov dword [ebp - 0x3c], esi
je 0x10083ce6
mov ecx, esi
test eax, eax
je 0x10083cf3
lea esi, [ebp - 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [esi + 8], ecx
lea edx, [ebp - 0x28]
mov dword [edx], 1
push ecx
push edx
push ecx
push esi
call fcn.1009d280
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x10083d03
test eax, eax
je 0x10083cfc
mov dword [ebp - 0x38], eax
lock inc dword [eax + 4]
jmp 0x10083d03
lock inc dword [ecx + 4]
mov dword [ebp - 0x38], ecx
jmp 0x10083d03
mov dword [ebp - 0x38], 0
mov esi, dword [0x101f5020]
test esi, esi
je 0x10083d4c
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x10083e48
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [0x101f5020]
mov esi, dword [edi + 0x15c]
test eax, eax
je 0x10083d48
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor ebx, ebx
jmp 0x10083d52
mov esi, dword [edi + 0x15c]
test esi, esi
je 0x10083d64
push esi
call fcn.10099ca0
add esp, 4
mov esi, dword [ebp - 0x38]
jmp 0x10083d78
mov eax, dword [edi]
test eax, eax
mov esi, dword [ebp - 0x38]
je 0x10083d78
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x10083e16
mov ecx, edi
xor edx, edx
call fcn.1009b6a0
test eax, eax
je 0x10083ddc
mov esi, dword [0x101f5020]
test esi, esi
je 0x10083de7
mov edi, eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x10083e65
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov ecx, dword [0x101f5020]
mov esi, dword [edi + 0x15c]
test ecx, ecx
je 0x10083def
push ecx
call sym.nss3.dll_PR_Unlock
mov eax, edi
add esp, 4
jmp 0x10083df1
push edi
call fcn.10099ca0
add esp, 4
jmp 0x10083e16
mov esi, dword [eax + 0x15c]
jmp 0x10083df3
mov eax, edi
xor ebx, ebx
test esi, esi
je 0x10083e02
push esi
call fcn.10099ca0
add esp, 4
jmp 0x10083e13
mov eax, dword [eax]
test eax, eax
je 0x10083e13
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x10083e34
mov ecx, esi
xor edx, edx
call fcn.1009b6a0
mov ebx, eax
test eax, eax
jne 0x10083e34
push esi
call fcn.10099ca0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x10083d23
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x10083db2