joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ff760
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 0x100ff775
push 2
jmp 0x100ff7de
mov esi, dword [ebp + 8]
test esi, esi
je 0x100ff7dc
mov edi, dword [esi - 4]
cmp edi, ebx
je 0x100ff7e8
lea ecx, [esi - 8]
lea edx, [ebx + 8]
mov eax, dword [ecx]
test eax, eax
je 0x100ff7f2
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x100ff7dc
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ff90b
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 0x100ff833
add ebx, esi
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100ff8e8
push 3
call fcn.100ffa40
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 0x100ff771
mov esi, eax
mov dword [eax + 4], ebx
add esi, 8
cmp edi, ebx
jae 0x100ff86a
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 0x100ff875
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
lea ecx, [eax + esi]
not eax
and eax, ecx
cmp eax, esi
jb 0x100ff8fb
mov ecx, dword [edx + 0x10]
mov edi, edx
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x100ff898
push eax
push edi
call sym.nss3.dll_PL_ArenaAllocate
add esp, 8
mov esi, eax
jmp 0x100ff89d
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 0x100ff8f3
add eax, esi
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
test esi, esi
je 0x100ff8fb
mov edi, dword [ebp + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
add esi, 8
cmp esi, edi
je 0x100ff8ce
push dword [edi - 4]
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [edi - 4]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi - 4]
sub ebx, eax
add eax, esi
push ebx
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi - 8], ebx
mov dword [edi - 4], ebx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100ff7e8
push dword [edx + 0x1c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100ff771
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100ff7b2
Function at 0x100ffbf0
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 0x100ffc2e
push dword [esi]
call fcn.100ff520
add esp, 4
pop esi
pop edi
pop ebp
ret
pop esi
pop edi
pop ebp
jmp fcn.100ff3c0

Function at 0x100ffc40
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ffcb2
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 0x100ffc8c
cmp dword [eax + 0xc], esi
mov ecx, esi
je 0x100ffc9b
push 0x21
jmp 0x100ffc8e
push 2
call fcn.100ffa40
add esp, 4
xor esi, esi
dec esi
jmp 0x100ffca0
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
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100ffc5e

Function at 0x100ffcd0
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ffd20
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
push dword [ebp + 0xc]
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableRemove
add esp, 8
test eax, eax
je 0x100ffd10
dec dword [edi + 0x10]
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100ffcee
Function at 0x100ffd40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [0x101d2014]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100ffdb6
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [ebp - 0x18]
mov dword [ebx + 8], esi
push eax
push 0x100ffdd0
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.10192ef0
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100ffd78

Function at 0x10100060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10100121
cmp dword [edi + 0x18], 0
jne 0x101000eb
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x101000a1
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10100128
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
je 0x101000db
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x101000db
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
push eax
call fcn.100ff3c0
add esp, 4
mov ecx, dword [edi + 0xc]
mov eax, esi
dec ecx
test esi, esi
mov dword [edi + 0xc], ecx
jne 0x101000b2
mov eax, dword [edi + 4]
test eax, eax
je 0x101000eb
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov esi, dword [edi + 4]
test esi, esi
je 0x10100106
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
cmp dword [edi + 0x18], 0
je 0x10100118
push dword [edi]
call fcn.100ff470
add esp, 4
xor edi, edi
push edi
call fcn.100ff3c0
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10100094
Function at 0x10100140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x101001df
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x1010017a
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x101001e4
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], esi
mov ebx, dword [ecx + 8]
mov dword [ecx + 8], 0
test ebx, ebx
je 0x101001cf
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x101001cf
test esi, esi
je 0x101001a7
mov edi, dword [ebx + 8]
mov ecx, esi
call dword [section..00cfg]
push edi
call esi
add esp, 4
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
push ebx
call fcn.100ff3c0
add esp, 4
mov ecx, dword [ebp + 8]
mov ebx, edi
mov eax, dword [ecx + 0xc]
dec eax
test edi, edi
mov dword [ecx + 0xc], eax
jne 0x1010018e
mov eax, dword [ecx + 4]
test eax, eax
je 0x101001df
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1010016a

Function at 0x10100200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x10100235
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x10100253
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov dword [edi + 8], ebx
mov ecx, esi
call fcn.10100270
mov eax, dword [esi + 4]
test eax, eax
je 0x1010024c
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x10100225
Function at 0x10100360
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1010038f
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x101003e5
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x101003bb
mov ecx, dword [esi + 0x10]
mov edi, dword [ebx + 8]
call dword [section..00cfg]
push dword [ebp + 0xc]
push edi
call ecx
add esp, 8
test eax, eax
jne 0x101003cc
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 4]
je 0x101003bb
mov ebx, dword [ebx]
jmp 0x10100392
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.10100270
mov edi, eax
mov eax, dword [esi + 4]
jmp 0x101003d1
mov eax, dword [esi + 4]
xor edi, edi
test eax, eax
je 0x101003de
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x10100382

Function at 0x10100400
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 + 4]
test ebx, ebx
je 0x1010042f
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x101004a0
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 8]
test esi, esi
je 0x10100489
mov ecx, dword [edi + 0x10]
mov ebx, dword [esi + 8]
call dword [section..00cfg]
push dword [ebp + 0xc]
push ebx
call ecx
add esp, 8
test eax, eax
jne 0x1010045b
mov eax, dword [edi + 8]
cmp esi, dword [eax + 4]
je 0x10100489
mov esi, dword [esi]
jmp 0x10100432
cmp esi, dword [edi + 8]
jne 0x10100465
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
push esi
call fcn.100ff3c0
add esp, 4
dec dword [edi + 0xc]
jne 0x10100489
mov dword [edi + 8], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10100499
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10100422
Function at 0x101004c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x10100535
mov eax, dword [edi + 4]
mov esi, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x10100509
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1010053f
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
dec esi
test ebx, ebx
je 0x10100525
mov ecx, dword [ebx + 8]
test esi, esi
mov dword [eax], ecx
je 0x10100525
mov ebx, dword [ebx]
add eax, 4
dec esi
cmp ebx, dword [edi + 8]
jne 0x1010050d
mov eax, dword [edi + 4]
test eax, eax
je 0x10100535
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x101004f3
Function at 0x10100560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
push 0xc
push 0
call fcn.100ff2b0
add esp, 8
mov edi, eax
xor eax, eax
test edi, edi
je 0x1010069f
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.100ff230
test eax, eax
je 0x1010068d
mov ebx, eax
push 0x1c
push eax
call fcn.100ff2b0
add esp, 8
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10100684
test esi, esi
je 0x101005c3
call sym.nss3.dll_PR_NewLock
mov ecx, dword [ebp - 0x10]
test eax, eax
mov dword [ecx + 4], eax
je 0x10100684
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [eax], ebx
mov dword [eax + 0x18], 1
mov dword [eax + 0x10], sym.nss3.dll_PL_CompareValues
mov esi, dword [ecx + 4]
test esi, esi
je 0x10100606
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x101006f1
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x101006a7
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov ebx, dword [esi + 4]
mov edx, dword [edi + 8]
test ebx, ebx
je 0x1010064e
mov dword [ebp - 0x18], edx
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10100671
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.10100270
mov eax, dword [esi + 4]
test eax, eax
je 0x10100665
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [edi]
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 8]
jne 0x1010061c
jmp 0x101006a7
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1010063b
push ebx
call fcn.100ff470
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.100ff3c0
add esp, 4
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x101006ba
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
cmp dword [ecx + 4], 0
je 0x101006ed
call sym.nss3.dll_PR_NewLock
mov dword [esi], eax
test eax, eax
mov eax, esi
jne 0x1010069f
push dword [esi + 4]
call fcn.10100060
add esp, 4
push esi
jmp 0x10100695
mov eax, esi
jmp 0x1010069f
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x101005f9

Function at 0x10100710
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 0x10100732
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 0x10100742
push eax
call fcn.10100060
add esp, 4
pop esi
pop edi
pop ebp
jmp fcn.100ff3c0
Function at 0x10100750
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]
test ebx, ebx
je 0x1010077e
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10100799
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi + 4]
cmp dword [eax + 0xc], 0
je 0x10100792
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [eax + 8]
jmp 0x10100794
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10100771
Function at 0x10100bd0
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 edi, dword [ecx]
mov ebx, dword [eax + 0x44]
test edi, edi
je 0x10100c04
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10100c3c
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x66]
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 0x10100c33
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
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10100bf7
Function at 0x101019e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call fcn.10101400
add esp, 4
test eax, eax
je 0x10101a39
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x10101a1c
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10101a42
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x10101a27
lock inc dword [esi + 8]
mov eax, dword [edi + 0x40]
test eax, eax
je 0x10101a3b
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10101a3b
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10101a0f

Function at 0x10101a60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10101b0d
lock dec dword [edi + 8]
jne 0x10101b0d
mov eax, dword [edi + 0x34]
lock dec dword [eax + 0x48]
jne 0x10101a8d
push eax
call fcn.10135de0
add esp, 4
mov esi, dword [edi + 4]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [edi + 0x30]
call fcn.10103900
add esp, 4
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x10101adb
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10101b14
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
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 0x10101af8
push ecx
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [edi + 0x14]
push eax
call fcn.10101380
add esp, 4
push dword [edi]
call fcn.100ff520
add esp, 4
jmp 0x10101b0f
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10101acb
Function at 0x10101b60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x30]
mov ecx, dword [ecx + 0x44]
test eax, eax
mov dword [ebp - 0x14], ecx
je 0x10101b89
push edi
push eax
call fcn.10104690
add esp, 8
xor ebx, ebx
dec ebx
cmp dword [edi + 8], 0
je 0x10101c41
mov edi, dword [esi + 0x24]
test edi, edi
je 0x10101ba5
cmp dword [edi + 0xc], 0
mov al, 1
jne 0x10101bc0
push 1
push 0
push dword [esi + 0x14]
call fcn.1010be60
add esp, 0xc
test eax, eax
je 0x10101c41
mov edi, eax
xor eax, eax
mov esi, dword [edi]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x10101be8
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x10101c4b
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov ecx, dword [eax + 0x5a]
mov esi, dword [edx]
call dword [section..00cfg]
push esi
push ebx
call ecx
add esp, 8
mov ebx, eax
mov eax, dword [edi]
test eax, eax
je 0x10101c14
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp byte [ebp - 0x10], 0
jne 0x10101c23
push edi
call fcn.1010bec0
add esp, 4
test ebx, ebx
je 0x10101c3f
push ebx
call fcn.100ffa40
add esp, 4
push 0x26
call fcn.100ffa40
add esp, 4
xor ebx, ebx
dec ebx
jmp 0x10101c41
xor ebx, ebx
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x10101bdb
Function at 0x10102650
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x101d2014]
mov esi, edx
mov edi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10100c50
add esp, 8
test eax, eax
je 0x10102693
test esi, esi
je 0x101026a0
cmp dword [esi + 0xc], 0
mov bl, 1
jne 0x101026ca
jmp 0x10102766
mov bl, 1
test esi, esi
jne 0x101026ca
mov esi, dword [edi + 0x24]
mov bl, 1
jmp 0x101026c2
mov esi, dword [edi + 0x24]
test esi, esi
je 0x101026af
cmp dword [esi + 0xc], 0
mov bl, 1
jne 0x101026ca
xor ebx, ebx
push 1
push 0
push dword [edi + 0x14]
call fcn.1010be60
add esp, 0xc
mov esi, eax
test esi, esi
je 0x10102766
mov dword [ebp - 0x18], edi
mov edi, dword [esi]
mov dword [ebp - 0x1c], ebx
test edi, edi
je 0x101026f9
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x10102786
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [eax + 0x52]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call ecx
add esp, 0x10
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x10102729
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x10102744
push ebx
call fcn.100ffa40
add esp, 4
push 0x26
call fcn.100ffa40
add esp, 4
xor edi, edi
jmp 0x10102755
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x18]
call fcn.10103630
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x1c], 0
jne 0x10102772
push esi
call fcn.1010bec0
add esp, 4
jmp 0x10102772
push 0x17
call fcn.100ffa40
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x101026ec