Function at 0x10088490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x2c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40], 0
test edx, edx
je 0x100884dd
xor ebx, ebx
mov eax, ecx
or eax, dword [ebp + 0x18]
sete bl
mov dword [ebp - 0x40], ebx
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov ebx, dword [ebp + 0x28]
mov eax, ecx
shr eax, 0xc
and eax, 1
xor edx, edx
inc edx
test cl, 6
cmovne eax, edx
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
call sym.nss3.dll_CERT_CheckCertValidTimes
add esp, 0x10
test eax, eax
je 0x10088548
test ebx, ebx
je 0x10088917
mov esi, eax
cmp dword [0x101f4f80], 0
je 0x1008894d
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10088932
mov ecx, ebx
mov edx, edi
push esi
push 0
push dword [eax + 0x28]
call fcn.100871d0
add esp, 0xc
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x13c]
mov dword [ebp - 0x3c], eax
test eax, eax
mov ecx, dword [ebp + 0x2c]
jne 0x10088573
push edi
call fcn.1007b5e0
mov ecx, dword [ebp + 0x2c]
add esp, 4
xchg dword [edi + 0x13c], eax
mov eax, dword [edi + 0x13c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
xor esi, esi
inc esi
xor edi, edi
test ebx, ebx
jne 0x10088591
test ecx, ecx
jne 0x10088591
cmp dword [ebp - 0x2c], 0
jne 0x10088917
mov edx, edi
mov edi, esi
sar edi, 0x1f
mov ebx, esi
and ebx, dword [ebp + 0x14]
mov eax, edi
and eax, dword [ebp + 0x18]
cmp dword [ebp - 0x40], 0
jne 0x100885b8
mov ecx, ebx
or ecx, eax
mov ecx, dword [ebp + 0x2c]
jne 0x100885b8
mov edi, edx
jmp 0x100886bc
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x100885c4
or dword [ecx], esi
or dword [ecx + 4], edi
mov edi, edx
cmp edx, 0xc
ja 0x10088700
mov eax, 0x147f
bt eax, edi
jae 0x100886bc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call fcn.1007c690
add esp, 0x10
test eax, eax
je 0x10088622
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1008860f
mov eax, esi
not eax
and dword [ecx], eax
sar eax, 0x1f
and dword [ecx + 4], eax
or ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ebx, 0xffffffff
cmovne eax, ebx
jmp 0x100886b9
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.1007c700
add esp, 8
test eax, eax
je 0x100886d0
mov eax, ebx
mov edx, dword [ebp - 0x30]
or eax, edx
je 0x10088653
push 0
push 0xffffe05a
call sym.nss3.dll_PR_SetError
mov edx, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x10088699
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
cmp dword [0x101f4f80], 0
je 0x100888f9
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100888a8
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x38]
push 0
push dword [eax + 0x28]
call fcn.100871d0
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x100886ac
mov eax, esi
not eax
and dword [ecx], eax
sar eax, 0x1f
and dword [ecx + 4], eax
or ebx, edx
mov eax, dword [ebp - 0x2c]
mov edx, 0xffffffff
cmovne eax, edx
mov dword [ebp - 0x2c], eax
add esi, esi
inc edi
cmp edi, 0xd
mov ebx, dword [ebp + 0x28]
jne 0x1008857f
jmp 0x1008891d
mov eax, dword [ebp - 0x3c]
test dword [ebp - 0x18], eax
je 0x1008870d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0xc]
call fcn.100883b0
add esp, 0x10
cmp eax, 0xffffffff
je 0x10088732
cmp dword [ebp - 0x28], 0
je 0x10088794
mov ecx, dword [ebp + 0x2c]
jmp 0x100886bc
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
jmp 0x100885ff
mov eax, ebx
or eax, dword [ebp - 0x30]
je 0x10088723
push 0
push 0xffffe05b
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x100885fc
mov eax, dword [ebp - 0x18]
jmp 0x10088755
mov eax, ebx
or eax, dword [ebp - 0x30]
je 0x10088748
push 0
push 0xffffe015
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x100885fc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
cmp dword [0x101f4f80], 0
je 0x10088903
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100888c3
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x38]
push 0
push dword [eax + 0x28]
call fcn.100871d0
add esp, 0xc
jmp 0x100885fc
cmp dword [ebp - 0x20], 1
je 0x100885fc
cmp dword [ebp - 0x24], 1
je 0x100885fc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.100872a0
add esp, 0x1c
test eax, eax
jne 0x100885fc
cmp dword [ebp - 0x34], 0
mov ecx, dword [ebp + 0x2c]
je 0x100887e7
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
jmp 0x100886bc
mov eax, dword [ebp + 0x14]
xor eax, 0x400
or eax, dword [ebp + 0x18]
je 0x100887dc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100887dc
mov ecx, dword [eax]
test ecx, ecx
je 0x1008889d
call dword [section..00cfg]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call ecx
add esp, 0x14
test eax, eax
je 0x1008889d
cmp dword [ebp + 0x28], 0
mov ecx, dword [ebp + 0x2c]
je 0x10088870
cmp dword [0x101f4f80], 0
je 0x1008890d
mov dword [ebp - 0x38], ebx
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100888de
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
xor ebx, ebx
push ebx
xor ebx, ebx
push ebx
push dword [eax + 0x28]
call fcn.100871d0
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 1
test ecx, ecx
je 0x10088887
mov eax, esi
not eax
and dword [ecx], eax
sar eax, 0x1f
and dword [ecx + 4], eax
or ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ebx, 0xffffffff
cmovne eax, ebx
mov dword [ebp - 0x2c], eax
jmp 0x100887dc
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
jmp 0x100886fb
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10088680
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10088779
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10088853
call fcn.1001b2e0
jmp 0x1008866c
call fcn.1001b2e0
jmp 0x10088765
call fcn.1001b2e0
jmp 0x1008883c
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, dword [ebp - 0x2c]
add esp, 0x34
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
jmp 0x10088530
call fcn.1001b2e0
jmp 0x1008851c