Function at 0x1009a930
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [0x101f2ff0]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009abed
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov ebx, dword [ebx + 0x15c]
push dword [0x101f2ff0]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x1009a99b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10093500
call fcn.10092c20
xor ebx, ebx
test eax, eax
je 0x1009a987
mov edi, eax
push 0x58
push eax
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009abcf
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x30], ecx
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x34], ecx
mov dword [eax + 0x24], 1
xor ebx, ebx
push 2
push ebx
push dword [esi + 0x11c]
push ebx
push edi
mov esi, eax
call fcn.1009b440
add esp, 0x14
test eax, eax
je 0x1009abcf
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x3c]
mov dword [ebp - 0x20], ecx
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
lea eax, [esi + 0x38]
push dword [ebx + 0x4c]
push dword [ebx + 0x50]
push eax
push edi
call fcn.100938d0
add esp, 0x10
lea eax, [esi + 0x40]
push dword [ebx + 0x58]
push dword [ebx + 0x5c]
push eax
push edi
call fcn.100938d0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.10079f50
add esp, 8
cmp eax, 0xffffffff
je 0x1009abdd
mov dword [ebp - 0x20], esi
add esi, 0x48
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push esi
push edi
call fcn.100938d0
add esp, 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009aa77
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x118]
test ebx, ebx
je 0x1009aaa5
cmp byte [ebx], 0
je 0x1009aaa5
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push ebx
push 2
push edi
call fcn.10094390
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x50], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x17c], 0
je 0x1009ab20
push 0x10
push edi
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009abdd
mov ebx, eax
push dword [esi + 0x17c]
call fcn.100cbb00
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
je 0x1009abdd
mov eax, dword [esi + 0x180]
mov dword [ebx], eax
mov dword [ebx + 8], 1
mov esi, dword [esi + 0x154]
test esi, esi
je 0x1009ab11
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push esi
push 5
push edi
call fcn.10094390
add esp, 0x10
mov dword [ebx + 0xc], eax
push ebx
push dword [ebp - 0x20]
call fcn.1009b500
add esp, 8
mov esi, dword [ebp + 8]
push 0x34
push 0
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009ab86
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [eax + 8], 0x100999a0
mov dword [eax + 0xc], 0x100999c0
mov dword [eax + 0x10], 0x100999e0
mov dword [eax + 0x14], 0x10099ab0
mov dword [eax + 0x18], sym.nss3.dll_SECMOD_CanDeleteInternalModule
mov dword [eax + 0x1c], 0x10099af0
mov dword [eax + 0x20], 0x10099b20
mov dword [eax + 0x24], 0x10099b50
mov dword [eax + 0x28], 0x10099bf0
mov dword [eax + 0x2c], 0x10099cc0
mov dword [eax + 0x30], 0x10099cf0
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x54], eax
mov ebx, dword [0x101f2ff0]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009ac0a
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [ebp + 8]
mov dword [eax + 0x15c], esi
push dword [0x101f2ff0]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ebx, esi
jmp 0x1009a987
push edi
call fcn.10092f20
add esp, 4
jmp 0x1009a987
push edi
call fcn.10092f20
add esp, 4
xor ebx, ebx
jmp 0x1009a987
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009a962
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1009aba4