joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009a890
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
cmp dword [edx], 0x4d41524b
jne 0x1009a931
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x1009a91a
mov edi, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x1009a963
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [esi + 8], ebx
cmp dword [edi], 0x4d41524b
jne 0x1009a923
mov eax, dword [ebp + 8]
mov dword [edi], 0
test eax, eax
mov ebx, dword [ebp - 0x10]
je 0x1009a954
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov edi, eax
sub edi, edx
sub esi, edx
cmp edi, esi
jbe 0x1009a948
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.nss3.dll_PL_ArenaRelease
jmp 0x1009a954
mov dword [esp], 4
jmp 0x1009a938
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov dword [esp], 5
call fcn.1009ac70
xor eax, eax
dec eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebx + 0x18]
add eax, edx
not edx
and edx, eax
mov dword [ecx + 0xc], edx
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
jmp 0x1009a940
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov ebx, eax
jmp 0x1009a8cc
Function at 0x1009a980
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffff8
jb 0x1009a995
push 2
jmp 0x1009a9fe
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009a9fc
mov edi, dword [esi - 4]
cmp edi, ebx
je 0x1009aa08
lea edx, [ebx + 8]
lea ecx, [esi - 8]
mov eax, dword [ecx]
test eax, eax
je 0x1009aa12
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1009a9fc
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009ab37
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi - 4]
sub eax, ebx
jbe 0x1009aa59
add ebx, esi
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1009ab14
push 3
call fcn.1009ac70
add esp, 4
xor esi, esi
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], ecx
push edx
push 1
call dword [sym.imp.mozglue.dll_calloc]
add esp, 8
test eax, eax
je 0x1009a991
mov esi, eax
mov dword [eax], 0
mov dword [eax + 4], ebx
add esi, 8
cmp edi, ebx
jae 0x1009aa90
push edi
mov eax, dword [ebp + 8]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub ebx, edi
lea eax, [esi + edi]
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
jmp 0x1009aa9b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov esi, dword [ebp - 0x14]
lea ecx, [eax + esi]
not eax
and eax, ecx
cmp eax, esi
jb 0x1009ab27
mov ecx, dword [edx + 0x10]
mov esi, dword [ecx + 0xc]
mov edi, edx
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x1009aabe
push eax
push edi
call sym.nss3.dll_PL_ArenaAllocate
add esp, 8
mov esi, eax
jmp 0x1009aac3
push ebx
mov eax, dword [ebp + 8]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor ebx, ebx
push edi
push ebx
mov eax, dword [ebp + 8]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi - 4], ebx
push dword [ebp - 0x10]
call dword [sym.imp.mozglue.dll_free]
jmp 0x1009ab1f
add eax, esi
mov dword [ecx + 0xc], eax
test esi, esi
mov edx, dword [ebp - 0x10]
je 0x1009ab27
mov dword [esi], edx
mov dword [esi + 4], ebx
add esi, 8
mov eax, dword [ebp + 8]
mov edi, dword [eax - 4]
cmp esi, eax
je 0x1009aafa
push edi
push eax
push esi
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, edi
mov edi, dword [edi - 4]
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
sub ebx, edi
add edi, esi
push ebx
xor ebx, ebx
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax - 8], ebx
mov dword [eax - 4], ebx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1009aa08
push dword [edx + 0x1c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1009a991
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x1009a9d2
Function at 0x1009ae20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 8]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [esi + 0xc]
call sym.nss3.dll_PL_HashTableDestroy
add esp, 4
cmp dword [esi + 4], 0
je 0x1009ae5e
push dword [esi]
call fcn.1009a6f0
add esp, 4
pop esi
pop edi
pop ebp
ret
pop esi
pop edi
pop ebp
jmp fcn.1009a580

Function at 0x1009ae70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009aee2
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
test eax, eax
je 0x1009aebc
mov ecx, esi
cmp dword [eax + 0xc], esi
je 0x1009aecb
push 0x21
jmp 0x1009aebe
push 2
call fcn.1009ac70
add esp, 4
xor esi, esi
dec esi
jmp 0x1009aed0
inc dword [edi + 0x10]
xor esi, esi
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x1009ae8e

Function at 0x1009af00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009af64
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.nss3.dll_PL_HashTableRemove
test eax, eax
je 0x1009af51
dec dword [edi + 0x10]
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009af26
Function at 0x1009af80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x101db014]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009aff6
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
lea eax, [ebp - 0x18]
push eax
push 0x1009b010
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableEnumerateEntries
add esp, 0xc
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x1009afb8

Function at 0x1009b2a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
test edi, edi
je 0x1009b36f
cmp dword [edi + 0x18], 0
jne 0x1009b336
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1009b2ee
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009b379
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
je 0x1009b327
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1009b327
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov dword [esp], eax
call fcn.1009a580
mov ecx, dword [edi + 0xc]
dec ecx
mov dword [edi + 0xc], ecx
mov eax, esi
test esi, esi
jne 0x1009b2ff
mov eax, dword [edi + 4]
test eax, eax
je 0x1009b336
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov esi, dword [edi + 4]
test esi, esi
je 0x1009b355
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.mozglue.dll_free]
cmp dword [edi + 0x18], 0
je 0x1009b367
mov eax, dword [edi]
mov dword [esp], eax
call fcn.1009a630
xor edi, edi
mov dword [esp], edi
call fcn.1009a580
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009b2dc
Function at 0x1009b390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1009b439
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x1009b3d7
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009b441
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 8]
mov dword [ecx + 8], 0
test ebx, ebx
je 0x1009b42a
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1009b42a
test esi, esi
je 0x1009b403
mov edi, dword [ebx + 8]
mov ecx, esi
call dword [section..00cfg]
mov dword [esp], edi
call esi
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [esp], ebx
call fcn.1009a580
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0xc], eax
mov ebx, edi
test edi, edi
jne 0x1009b3eb
mov eax, dword [ecx + 4]
test eax, eax
je 0x1009b439
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009b3c2

Function at 0x1009b460
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
test edi, edi
je 0x1009b4a2
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x1009b4c2
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], ebx
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1009b4e0
mov eax, dword [esi + 4]
test eax, eax
je 0x1009b4b8
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov ebx, eax
jmp 0x1009b48d
Function at 0x1009b5d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1009b60c
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x1009b667
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1009b63b
mov ecx, dword [esi + 0x10]
mov edi, dword [ebx + 8]
call dword [section..00cfg]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
test eax, eax
jne 0x1009b64c
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 4]
je 0x1009b63b
mov ebx, dword [ebx]
jmp 0x1009b60f
mov ecx, esi
mov edx, dword [ebp + 0xc]
call fcn.1009b4e0
mov edi, eax
mov eax, dword [esi + 4]
jmp 0x1009b651
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
je 0x1009b65d
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x1009b5fa

Function at 0x1009b680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1009b6c0
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009b735
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov esi, dword [edi + 8]
test esi, esi
je 0x1009b71c
mov ecx, dword [edi + 0x10]
mov ebx, dword [esi + 8]
call dword [section..00cfg]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call ecx
test eax, eax
jne 0x1009b6ef
mov eax, dword [edi + 8]
cmp esi, dword [eax + 4]
je 0x1009b71c
mov esi, dword [esi]
jmp 0x1009b6c3
cmp esi, dword [edi + 8]
jne 0x1009b6f9
mov eax, dword [esi]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esp], esi
call fcn.1009a580
dec dword [edi + 0xc]
jne 0x1009b71c
mov dword [edi + 8], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1009b72b
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009b6ae
Function at 0x1009b750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1009b7ce
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1009b7a3
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1009b7d8
mov eax, dword [ebp - 0x14]
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
dec esi
xor ecx, ecx
test ebx, ebx
je 0x1009b7bf
mov edx, dword [ebx + 8]
mov dword [eax + ecx*4], edx
cmp esi, ecx
je 0x1009b7bf
inc ecx
mov ebx, dword [ebx]
cmp ebx, dword [edi + 8]
jne 0x1009b7a9
mov eax, dword [edi + 4]
test eax, eax
je 0x1009b7ce
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x1009b788
Function at 0x1009b7f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 4], 0xc
mov dword [esp], 0
call fcn.1009a460
mov edi, eax
xor eax, eax
test edi, edi
je 0x1009b94e
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.1009a3e0
test eax, eax
je 0x1009b93d
mov ebx, eax
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.1009a460
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1009b935
test esi, esi
je 0x1009b860
call sym.nss3.dll_PR_NewLock
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
test eax, eax
je 0x1009b935
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
mov dword [eax + 0x18], 1
mov dword [eax + 0x10], 0x1009b290
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
test esi, esi
je 0x1009b8ad
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x1009b9a3
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [esi + 8], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x1009b956
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov edx, dword [edi + 8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1009b8ff
mov dword [ebp - 0x18], edx
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009b921
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.1009b4e0
mov eax, dword [esi + 4]
test eax, eax
je 0x1009b915
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov edi, dword [edi]
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 8]
jne 0x1009b8c3
jmp 0x1009b956
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009b8e7
mov dword [esp], ebx
call fcn.1009a630
mov dword [edi + 4], 0
mov dword [esp], edi
call fcn.1009a580
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x1009b968
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x1009b99f
call sym.nss3.dll_PR_NewLock
mov ecx, eax
mov dword [esi], eax
mov eax, esi
test ecx, ecx
jne 0x1009b94e
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.1009b2a0
mov dword [esp], esi
jmp 0x1009b947
mov eax, esi
jmp 0x1009b94e
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov ebx, eax
jmp 0x1009b89b
Function at 0x1009b9c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi]
test edi, edi
je 0x1009b9e2
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1009b9f2
push eax
call fcn.1009b2a0
add esp, 4
pop esi
pop edi
pop ebp
jmp fcn.1009a580

Function at 0x1009ba00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
test ebx, ebx
je 0x1009ba3b
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009ba59
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 4]
cmp dword [eax + 0xc], 0
je 0x1009ba4f
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [eax + 8]
jmp 0x1009ba51
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009ba29
Function at 0x1009be80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 0x44]
mov edi, dword [ecx]
test edi, edi
je 0x1009beb4
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009beec
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov ecx, dword [ebx + 0x66]
mov edi, dword [ebp + 0x14]
mov esi, dword [edi + 4]
call dword [section..00cfg]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call ecx
add esp, 0x10
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x1009bee3
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
neg esi
sbb eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x1009bea7
Function at 0x1009cce0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.1009c6a0
test eax, eax
je 0x1009cd44
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x1009cd28
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009cd50
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1009cd33
lock inc dword [esi + 8]
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1009cd46
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
jmp 0x1009cd46
xor esi, esi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009cd16

Function at 0x1009cd70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
test edi, edi
je 0x1009ce2b
lock dec dword [edi + 8]
jne 0x1009ce2b
mov eax, dword [edi + 0x34]
lock dec dword [eax + 0x48]
jne 0x1009cd9f
mov dword [esp], eax
call fcn.100d1c70
mov esi, dword [edi + 4]
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.mozglue.dll_free]
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.1009ec60
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x1009cdfb
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009ce35
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
mov dword [eax + 0x18], 0
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1009ce17
mov dword [esp], ecx
call sym.nss3.dll_PR_Unlock
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call fcn.1009c620
mov eax, dword [edi]
mov dword [esp], eax
call fcn.1009a6f0
jmp 0x1009ce2d
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009cde6