Function at 0x100a2470
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [ebp + 8]
push edi
call fcn.100a2170
add esp, 4
xor ebx, ebx
dec ebx
test eax, eax
je 0x100a28f3
mov esi, eax
mov ebx, dword [ebp + 0xc]
push edi
push eax
call fcn.100a1620
add esp, 8
test eax, eax
je 0x100a24bc
mov edi, eax
push 0xc
push ebx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100a24ca
xor ebx, ebx
jmp 0x100a28f3
push 0xc
push dword [edi]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov edi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
mov esi, dword [0x101dec44]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100a29c3
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x160], edi
push dword [0x101dec44]
call sym.nss3.dll_PR_Unlock
add esp, 4
call fcn.1009a3e0
test eax, eax
je 0x100a25b7
mov edi, eax
push 0x3c
push eax
call fcn.1009a460
add esp, 8
test eax, eax
mov ebx, 0xffffffff
je 0x100a25a9
mov esi, eax
xor eax, eax
push 1
push eax
mov ecx, dword [ebp + 8]
push dword [ecx + 0x11c]
push eax
push edi
call fcn.100a2c70
add esp, 0x14
test eax, eax
je 0x100a25a9
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi], xmm0
mov edi, dword [ebp - 0x28]
mov dword [esi + 0x24], edi
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov eax, 3
mov edx, 3
test cl, 0x30
jne 0x100a25c2
mov edx, 2
test cl, 2
jne 0x100a25c2
test cl, 1
jne 0x100a25bf
and ecx, 8
cmp ecx, 1
mov edx, 5
sbb edx, 0
jmp 0x100a25c2
push edi
call fcn.1009a6f0
add esp, 4
jmp 0x100a28f3
xor ebx, ebx
dec ebx
jmp 0x100a28f3
xor edx, edx
inc edx
mov dword [esi + 0x28], edx
mov ecx, dword [ebx]
test cl, cl
js 0x100a25ed
mov eax, 2
test cl, 2
jne 0x100a25ed
test cl, 1
jne 0x100a25ea
and ecx, 8
cmp ecx, 1
mov eax, 5
sbb eax, 0
jmp 0x100a25ed
xor eax, eax
inc eax
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 4]
mov eax, 3
mov edx, 3
test cl, 0x30
jne 0x100a2624
mov edx, 2
test cl, 2
jne 0x100a2624
test cl, 1
jne 0x100a2621
and ecx, 8
cmp ecx, 1
mov edx, 5
sbb edx, 0
jmp 0x100a2624
xor edx, edx
inc edx
mov dword [esi + 0x30], edx
mov ecx, dword [ebx + 8]
test cl, 0x30
jne 0x100a2651
mov eax, 2
test cl, 2
jne 0x100a2651
test cl, 1
jne 0x100a264e
and ecx, 8
cmp ecx, 1
mov eax, 5
sbb eax, 0
jmp 0x100a2651
xor eax, eax
inc eax
mov dword [esi + 0x34], eax
mov eax, 0x200
and eax, dword [ebx]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x1c]
test eax, eax
mov dword [ebp - 0x2c], esi
je 0x100a2692
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100a2749
push esi
push eax
call fcn.100a5000
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x100a28e5
cmp dword [edi + 0x14], 0
je 0x100a28de
mov eax, dword [0x101decc8]
mov dword [ebp - 0x34], eax
push edi
call fcn.100a3300
add esp, 4
xor ecx, ecx
dec ecx
test eax, eax
mov dword [ebp - 0x1c], ecx
je 0x100a28e5
mov esi, dword [eax]
test esi, esi
mov dword [ebp - 0x38], eax
je 0x100a2754
lea ecx, [edi + 0x48]
mov dword [ebp - 0x14], ecx
lea ecx, [edi + 0x38]
mov dword [ebp - 0x20], ecx
lea ecx, [edi + 0x30]
mov dword [ebp - 0x30], ecx
mov ebx, eax
add ebx, 4
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], eax
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push 0
push dword [esi + 4]
call fcn.1009e1f0
add esp, 0x18
mov edi, dword [esi + 4]
mov ecx, dword [edi + 0x34]
mov esi, dword [ecx + 0x20]
test eax, eax
je 0x100a271c
push eax
call fcn.1009ea70
add esp, 4
test esi, esi
jne 0x100a273c
jmp 0x100a2764
test esi, esi
mov ecx, dword [ebp - 0x10]
mov eax, ecx
cmovne eax, edi
test ecx, ecx
cmove ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x24]
or esi, eax
cmove eax, edi
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebx]
add ebx, 4
mov eax, edi
test esi, esi
jne 0x100a26e5
jmp 0x100a2764
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x100a28e5
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
xor edi, edi
push dword [ebp - 0x38]
call fcn.1009eb90
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
mov ecx, dword [ebp - 0x10]
cmovne ecx, eax
test edi, edi
cmovne ecx, edi
test ecx, ecx
je 0x100a28e5
mov eax, dword [ecx + 0x34]
cmp dword [eax + 0x20], 0
mov ebx, dword [ebp - 0x28]
je 0x100a28a0
mov esi, dword [ebp - 0x34]
push dword [esi + 0x18]
call fcn.100da9f0
add esp, 4
push dword [esi + 0xc]
call fcn.1009b7f0
add esp, 4
test eax, eax
je 0x100a27df
mov esi, eax
push eax
call fcn.1009ba00
add esp, 4
mov edi, eax
test eax, eax
je 0x100a27f4
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
je 0x100a27ef
push esi
call fcn.1009ba70
add esp, 4
test eax, eax
je 0x100a27fb
mov edi, eax
jmp 0x100a27c5
push dword [esi + 0x18]
call fcn.100daad0
add esp, 4
jmp 0x100a28e5
mov dword [ebp - 0x10], edi
jmp 0x100a2804
mov dword [ebp - 0x10], edi
xor edi, edi
jmp 0x100a2804
xor edi, edi
mov dword [ebp - 0x10], 0
push esi
call fcn.1009bab0
add esp, 4
push esi
call fcn.1009b9c0
add esp, 4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x18]
call fcn.100daad0
add esp, 4
test edi, edi
je 0x100a28e5
push 0
push ebx
call fcn.100a3200
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x14], 0
je 0x100a284b
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
jmp 0x100a2852
mov dword [ebp - 0x14], 0
lea ecx, [ebx + 0x48]
lea edx, [ebx + 0x40]
lea esi, [ebx + 0x38]
lea edi, [ebx + 0x30]
lea eax, [ebx + 0x28]
mov dword [ebp - 0x20], eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x14]
push ecx
push edx
push esi
push edi
mov esi, dword [ebp - 0x18]
push esi
push dword [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x10]
call fcn.1009d3e0
add esp, 0x2c
mov edi, eax
push esi
call fcn.1009a580
add esp, 4
test edi, edi
je 0x100a28e5
push edi
push ebx
call fcn.100a2d30
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
lea edx, [ebx + 0x48]
lea esi, [ebx + 0x38]
lea edi, [ebx + 0x30]
push 1
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x38]
push dword [eax + 0x30]
push dword [eax + 0x34]
push dword [eax + 0x2c]
push dword [eax + 0x28]
mov dword [ebp - 0x18], edx
push edx
push esi
push edi
push 0
push ecx
call fcn.1009df50
add esp, 0x2c
test eax, eax
je 0x100a28fd
push eax
call fcn.1009ea70
add esp, 4
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x2c]
call fcn.100a2e70
add esp, 4
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
call sym.nss3.dll_PK11_IsInternalKeySlot
add esp, 4
test eax, eax
jne 0x100a28e5
call sym.nss3.dll_PK11_GetInternalKeySlot
mov edi, eax
push 0
push ebx
call fcn.100a3200
add esp, 8
mov dword [ebp - 0x30], eax
mov esi, dword [ebx + 0x50]
mov ebx, dword [edi + 0x13c]
lock dec dword [edi + 0x48]
jne 0x100a2942
push edi
call fcn.100d1c70
add esp, 4
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + 0x40]
add ecx, 0x28
xor edx, edx
inc edx
push edx
push esi
push dword [ebp - 0x18]
push eax
mov edi, dword [ebp - 0x20]
push edi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
push esi
push ecx
push edx
push 0
push ebx
call fcn.1009d3e0
add esp, 0x2c
mov dword [ebp - 0x10], ebx
mov ebx, eax
push esi
call fcn.1009a580
add esp, 4
test ebx, ebx
je 0x100a28e5
push ebx
push dword [ebp - 0x28]
call fcn.100a2d30
add esp, 8
push 1
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x38]
push dword [eax + 0x30]
push dword [eax + 0x34]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
call fcn.1009df50
add esp, 0x2c
test eax, eax
jne 0x100a28d5
jmp 0x100a28e5
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x100a24f7