Function at 0x100a4450
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a4692
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
movsd xmm0, qword [ebx + 0x38]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebx + 0x48]
movsd qword [ebp - 0x20], xmm0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a46af
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
lea eax, [ebp - 0x68]
push eax
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov esi, eax
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100a4501
mov edi, dword [esi]
test edi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x100a4507
lock inc dword [edi + 4]
jmp 0x100a4537
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xc
push dword [esi]
call fcn.1009a460
add esp, 8
test eax, eax
je 0x100a4535
mov edi, eax
mov dword [eax], esi
push eax
push esi
push dword [ebx + 0x10]
call fcn.1009ae70
add esp, 0xc
test eax, eax
je 0x100a4556
push edi
call fcn.1009a580
add esp, 4
xor edi, edi
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x40]
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100a46cc
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov esi, dword [ebp - 0x6c]
push esi
push dword [ebx + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov edi, eax
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x100a45c6
push dword [ebp + 0xc]
push edi
call fcn.1009b5d0
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x100a4682
cmp eax, 0xffffffff
je 0x100a4601
jmp 0x100a4535
xor eax, eax
push eax
push eax
call fcn.1009b200
add esp, 8
test eax, eax
mov ebx, dword [ebp + 8]
je 0x100a4601
mov edi, eax
mov dword [eax + 0x14], 0x100a05e0
push dword [ebp + 0xc]
push eax
call fcn.1009b460
add esp, 8
test eax, eax
jne 0x100a45b4
push edi
push esi
push dword [ebx + 0xc]
call fcn.1009ae70
add esp, 0xc
jmp 0x100a45b4
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100a46e9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov esi, dword [ebp + 0xc]
push esi
push dword [ebx + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov edi, eax
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x100a468a
push esi
mov ebx, dword [ebp + 8]
push dword [ebx + 0x10]
call fcn.1009af00
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
je 0x100a4669
push eax
call fcn.100a2e70
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x100a452c
push eax
call fcn.100a2e70
add esp, 4
jmp 0x100a452c
mov edi, dword [ebp + 0xc]
jmp 0x100a44fb
mov ebx, dword [ebp + 8]
jmp 0x100a4535
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a4482
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a44c2
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x100a4578
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x100a461d