Function at 0x1011fda0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ecx + 0x3dc]
xor edi, edi
mov ebx, 0
test eax, eax
jne 0x1011fdd1
cmp dword [esi + 0x3d8], 0
je 0x1011fdcf
cmp dword [esi + 0x3d4], 0
setne bl
jmp 0x1011fdd1
xor ebx, ebx
cmp dword [esi + 0x38], 0
je 0x1011fddd
mov edi, dword [esi + 0xa4]
test eax, eax
je 0x1011fdf6
mov dword [esi + 0x3dc], 0
push esi
call fcn.100fa9c0
add esp, 4
jmp 0x1011fe01
test bl, bl
je 0x1011fe09
mov ecx, esi
call fcn.10120030
test eax, eax
jne 0x1011ff14
cmp dword [esi + 0x38], 0
je 0x1011fe47
mov eax, dword [esi + 0xa4]
sub eax, edi
mov ecx, dword [esi + 0xa0]
add ecx, edi
push eax
push ecx
push dword [esi + 0x484]
call sym.nss3.dll_PK11_DigestOp
add esp, 0xc
test eax, eax
je 0x1011fe47
push 0
push 0xffffd07f
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1011ff14
cmp dword [esi + 0x62c], 0
je 0x1011fe92
lea eax, [esi + 0x99c]
push 0
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
lea ecx, [esi + 0x9a8]
mov eax, dword [esi + 0x9a8]
test eax, eax
je 0x1011fe82
push 0
push eax
mov dword [ebp - 0x10], ecx
call sym.nss3.dll_PORT_FreeArena_Util
mov ecx, dword [ebp - 0x10]
add esp, 8
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [esi + 0x62c], 0
test bl, bl
je 0x1011fef9
cmp dword [esi + 0x38], 0
je 0x1011fea2
mov edi, dword [esi + 0xa4]
mov edx, dword [esi + 0x3d4]
mov ecx, esi
call fcn.10120210
mov ebx, eax
push dword [esi + 0x3d4]
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov dword [esi + 0x3d4], 0
test ebx, ebx
jne 0x1011ff14
cmp dword [esi + 0x38], 0
je 0x1011fef9
mov eax, dword [esi + 0xa4]
sub eax, edi
add edi, dword [esi + 0xa0]
push eax
push edi
push dword [esi + 0x484]
call sym.nss3.dll_PK11_DigestOp
add esp, 0xc
test eax, eax
jne 0x1011fe33
xor eax, eax
cmp dword [esi + 0x38], 0
setne al
mov edx, dword [esi + eax*8 + 0x5ec]
mov ecx, esi
call fcn.101203a0
test eax, eax
je 0x1011ff85
cmp dword [0x101f2f50], 0
je 0x10120004
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011ffb6
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x1012000e
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011ffd1
mov edi, dword [eax + 0x28]
push 0x50
push 2
push esi
call fcn.100f2eb0
add esp, 0xc
push 0
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
push esi
call fcn.100f4f40
add esp, 8
test eax, eax
je 0x1011ffb2
cmp dword [0x101f2f50], 0
je 0x10120018
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011ffec
mov edi, dword [eax + 0x28]
jmp 0x1011ff6f
xor eax, eax
jmp 0x1011ff7d
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1011ff35
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1011ff5f
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1011ffad
call fcn.100029d0
jmp 0x1011ff21
call fcn.100029d0
jmp 0x1011ff4f
call fcn.100029d0
jmp 0x1011ff9d