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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [ebp + 8]
cmp dword [0x101f2f50], 0
je 0x10073e18
test esi, esi
je 0x10073e22
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
push eax
call dword [sym.imp.mozglue.dll_malloc]
add esp, 4
test eax, eax
je 0x10073e40
push esi
mov dword [ebp - 0x14], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
mov edi, dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, dword [sym.imp.mozglue.dll_calloc]
mov esi, dword [0x101f2528]
mov eax, dword [0x101f252c]
inc eax
cmp eax, esi
jge 0x10073d71
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
mov esi, dword [0x101f2520]
push dword [0x101f25a4]
call edi
mov ebx, eax
test eax, eax
je 0x10073dfb
lea eax, [esi + 0x1c]
push eax
mov eax, dword [sym.imp.kernel32.dll_EnterCriticalSection]
call eax
mov dword [esi + 8], ebx
mov edi, dword [0x101f252c]
lea ebx, [edi + 1]
mov eax, dword [0x101f2528]
xor esi, esi
cmp ebx, eax
jl 0x10073d93
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
je 0x10073e75
cmp ebx, dword [ebp - 0x18]
jl 0x10073dd4
jmp 0x10073e75
lea eax, [esi*4 + 0x40]
push eax
push 1
call ebx
add esp, 8
test eax, eax
je 0x10073e2e
mov dword [ebp - 0x10], eax
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x10073d20
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10073da3
mov eax, dword [0x101f2524]
mov dword [eax + edi*4 + 4], ecx
mov dword [0x101f252c], ebx
push dword [0x101f2520]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
jne 0x10073e57
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10073e66
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x101f2524]
test eax, eax
jne 0x10073eaa
mov eax, dword [ebp - 0x10]
mov dword [0x101f2524], eax
mov eax, dword [ebp - 0x18]
mov dword [0x101f2528], eax
mov dword [ebp - 0x10], 0
jmp 0x10073d96
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x10073d38
call fcn.100029d0
jmp 0x10073cc9
mov dword [ebp - 0x14], 0
jmp 0x10073cfa
cmp dword [ebp - 0x14], 0
je 0x10073e40
push dword [ebp - 0x14]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push 0
push 0xffffe890
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
jmp 0x10073dca
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x10073dbf
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x10073dca
push dword [0x101f2520]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x10], 0
mov edi, dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, dword [sym.imp.mozglue.dll_calloc]
je 0x10073d06
push dword [ebp - 0x10]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x10073d06
shl eax, 2
push eax
push esi
push dword [ebp - 0x10]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x10073de2
Function at 0x10074310
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]
cmp dword [0x101f2f50], 0
je 0x100743ae
mov dword [esp], edi
mov dword [esp + 4], 0x3d
call sub.VCRUNTIME140.dll_strchr
test eax, eax
je 0x100743b8
mov ebx, dword [0x101f25b0]
test ebx, ebx
je 0x10074370
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1007439a
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov dword [esp], edi
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov esi, eax
mov eax, dword [0x101f25b0]
test eax, eax
je 0x1007438c
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
neg esi
sbb eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x1007435e
call fcn.100029e0
jmp 0x10074329
xor eax, eax
dec eax
jmp 0x10074392
Function at 0x100743c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
cmp dword [0x101f2f50], 0
je 0x100744d1
mov ebx, dword [ebp + 8]
mov edi, dword [0x101f25e0]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100744a6
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov esi, dword [ebx + 8]
mov eax, dword [0x101f25e0]
mov edi, dword [ebx]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test edi, edi
jne 0x10074517
xor eax, eax
inc eax
xchg dword [ebx + 4], eax
test eax, eax
jne 0x100744db
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call dword [section..00cfg]
mov dword [esp], esi
call ecx
mov esi, eax
mov ebx, dword [0x101f25e0]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100744bd
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov eax, dword [ebp + 8]
mov dword [eax + 8], esi
mov dword [eax], 1
mov eax, dword [0x101f25e4]
mov dword [esp], eax
call sym.nss3.dll_PR_NotifyAllCondVar
mov eax, dword [0x101f25e0]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x100743fa
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov edi, eax
jmp 0x10074464
call fcn.100029e0
jmp 0x100743d6
mov eax, dword [0x101f25e0]
mov dword [esp], eax
call sym.nss3.dll_PR_Lock
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10074507
mov eax, dword [0x101f25e4]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call sym.nss3.dll_PR_WaitCondVar
jmp 0x100744e8
mov esi, dword [eax + 8]
mov eax, dword [0x101f25e0]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test esi, esi
je 0x10074534
call sym.nss3.dll_PR_GetCurrentThread
mov dword [eax + 0x28], 0xffffe8db
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
jmp 0x1007449c
xor esi, esi
jmp 0x1007449c
Function at 0x100747b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 8]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10074922
mov ebx, dword [esi + 0xe8]
test ebx, ebx
je 0x1007497a
lea eax, [ebx + 4]
cmp dword [ebx + 4], eax
jne 0x1007498e
mov edi, dword [0x101f2f58]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x10074937
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov edi, dword [ebp + 8]
cmp dword [edi], 5
jne 0x1007488d
mov esi, dword [0x101f2f58]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1007494e
cmp dword [esi + 8], eax
jne 0x10074860
mov dword [esi + 8], 0
add esi, 0x1c
mov dword [esp], esi
call sym.nss3.dll__PR_MD_UNLOCK
xor eax, eax
inc eax
mov dword [edi], eax
mov ecx, dword [edi + 0x100]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
sub esp, 0xc
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x10074963
mov edi, dword [ebx]
cmp dword [edi + 8], esi
jne 0x10074911
mov eax, dword [esi + 0xe0]
mov ecx, 0x1002
and eax, ecx
cmp eax, 2
je 0x10074996
mov dword [esi + 0xd8], ebx
xor eax, eax
mov dword [edi + 8], eax
lea eax, [edi + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
call sym.nss3.dll__PR_MD_WAIT_CV
xor eax, eax
mov dword [esi + 0xd8], eax
mov dword [edi + 8], esi
mov eax, dword [esi + 0xe0]
mov ecx, 0x1002
and eax, ecx
cmp eax, 2
je 0x10074996
mov edi, dword [ebp + 8]
cmp dword [edi], 5
je 0x1007482a
jmp 0x10074893
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x100747d5
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x10074810
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10074849
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x100748ae
mov dword [esp + 4], 0
mov dword [esp], 0xffffe89d
call sym.nss3.dll_PR_SetError
xor eax, eax
dec eax
jmp 0x10074885
mov dword [esp + 4], 0
mov dword [esp], 0xffffe897
call sym.nss3.dll_PR_SetError
and byte [esi + 0xe0], 0xfd
jmp 0x10074911
Function at 0x10074ca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x10074d2f
mov ebx, dword [ebp + 8]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x10074d46
lea eax, [ebx + 0x20]
mov dword [ebp - 0x10], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 0xc], edi
xor edi, edi
cmp dword [ebx + 0x88], esi
je 0x10074d6c
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10074d5a
cmp dword [ebx + 0xc], eax
jne 0x10074d25
mov dword [ebx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym.nss3.dll__PR_MD_UNLOCK
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x10074cc0
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov edi, eax
jmp 0x10074cda
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10074d0e
mov edi, dword [ebx + 0x194]
jmp 0x10074cf9

Function at 0x10076620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edi, 0xffffe8d2
mov esi, dword [ebp + 8]
cmp esi, 0x2733
jne 0x1007667c
cmp dword [0x101f2f50], 0
je 0x1007668b
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1007666a
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], 0
add esp, 0x10
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x10076656
cmp esi, 0x274c
jne 0x10076692
mov edi, 0xffffe89a
jmp 0x10076638
call fcn.100029d0
jmp 0x10076641
cmp esi, 0x2726
jne 0x100766a1
mov edi, 0xffffe8d3
jmp 0x10076638
add esp, 0x10
pop esi
pop edi
pop ebp
jmp fcn.10128810

Function at 0x10077b40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 8], eax
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret

Function at 0x10077b70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0x44], eax
mov eax, esp
mov dword [eax], 0x40
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov esi, eax
mov edi, eax
test eax, eax
je 0x10077ba5
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x44]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
mov edx, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10077bc0
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 eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ecx, eax
test eax, eax
je 0x10077c32
mov eax, dword [esi]
cmp dword [eax + 8], ecx
jne 0x10077c46
add esi, 0x74
mov ecx, dword [eax + 0x34]
add eax, 0x34
xor edi, edi
test ecx, ecx
jg 0x10077c15
lea edx, [edi + edi*2]
mov dword [eax + edx*4 + 8], 1
mov dword [eax + edx*4 + 4], esi
inc ecx
mov dword [eax], ecx
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
add eax, 8
mov edx, ecx
cmp dword [eax - 4], esi
je 0x10077c4b
add eax, 0xc
dec edx
jne 0x10077c1c
cmp ecx, 6
jge 0x10077c54
mov eax, ebx
mov edi, ecx
jmp 0x10077bf9
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov ecx, eax
jmp 0x10077be3
xor eax, eax
dec eax
jmp 0x10077c0d
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x10077c08
jmp 0x10077c0b
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x10077c73
mov dword [esp + 4], 0x50
mov dword [esp], 1
call dword [sym.imp.mozglue.dll_calloc]
mov dword [ebx + 0x4c], eax
mov ecx, dword [eax]
jmp 0x10077bf5

Function at 0x10077d40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cmp dword [0x101f2f50], 0
je 0x10077e13
mov ebx, dword [ebp + 8]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10077df6
cmp ebx, 0x80
jae 0x10077e1d
mov edi, dword [esi + 0x24]
test edi, edi
je 0x10077db3
cmp dword [esi + 0x20], ebx
jbe 0x10077db3
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x10077df2
mov eax, dword [0x101f2fc8]
cmp dword [eax + ebx*4], 0
je 0x10077df2
mov dword [edi + ebx*4], 0
mov edi, ecx
mov ecx, dword [eax + ebx*4]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0x24]
jmp 0x10077de5
movzx ebx, byte [0x101f2fcc]
mov eax, ebx
shl eax, 9
push eax
push 1
call dword [sym.imp.mozglue.dll_calloc]
add esp, 8
test eax, eax
je 0x10077e31
test edi, edi
jne 0x10077e3a
movzx ecx, bl
and ecx, 1
shl ecx, 7
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + ebx*4], ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edi
jmp 0x10077de5
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x10077d6c
call fcn.100029e0
jmp 0x10077d53
push 0
push 0xffffe8ac
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x10077ded
push 0
push 0xffffe890
jmp 0x10077e24
mov ecx, dword [esi + 0x20]
shl ecx, 2
push ecx
push edi
push eax
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 0x24]
call dword [sym.imp.mozglue.dll_free]
mov eax, edi
add esp, 4
mov bl, byte [0x101f2fcc]
jmp 0x10077dd3
Function at 0x1007ab80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
cmp dword [ebp + 0x10], ebx
sbb eax, dword [ebp + 0xc]
jge 0x1007abad
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
jmp 0x1007acae
push 0x800
call sym.nss3.dll_PORT_NewArena_Util
add esp, 4
xor esi, esi
test eax, eax
je 0x1007acae
mov edi, eax
push 0x1c
push eax
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x1007acae
mov esi, eax
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
mov dword [esi], edi
push dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x10], ecx
push ecx
push edi
call fcn.100d14a0
add esp, 0x10
test eax, eax
je 0x1007ac45
cmp dword [0x101f2f50], 0
je 0x1007aceb
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1007acb8
cmp dword [eax + 0x28], 0xffffe005
jne 0x1007ac9b
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
push edi
call fcn.100d1af0
add esp, 0x10
test eax, eax
jne 0x1007ac9b
mov eax, dword [ebp - 0x14]
add eax, 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ebx, eax
push eax
push edi
call fcn.100d14a0
add esp, 0x10
test eax, eax
je 0x1007acae
cmp dword [0x101f2f50], 0
je 0x1007acf5
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1007acd3
cmp dword [eax + 0x28], 0xffffe005
jne 0x1007ac9b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.100d1af0
add esp, 0x10
test eax, eax
je 0x1007acae
mov eax, dword [esi]
xor esi, esi
test eax, eax
je 0x1007acae
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1007ac28
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1007ac7e
call fcn.100029d0
jmp 0x1007ac14
call fcn.100029d0
jmp 0x1007ac6e
Function at 0x1007c0d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
xor edi, edi
dec edi
cmp dword [0x101f3000], 0
je 0x1007c19f
mov eax, dword [ebp + 0xc]
add eax, 0x3c
push eax
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
test eax, eax
je 0x1007c190
mov esi, eax
push dword [ebp + 8]
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
test eax, eax
je 0x1007c185
mov dword [ebp - 0x10], eax
mov ebx, dword [0x101f3000]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1007c1a9
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov edi, dword [ebp + 8]
push edi
push dword [0x101f2ffc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
test eax, eax
je 0x1007c15c
push edi
push dword [0x101f2ffc]
call sym.nss3.dll_PL_HashTableRemove
add esp, 8
push esi
push dword [ebp - 0x10]
push dword [0x101f2ffc]
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
xor edi, edi
cmp eax, 1
sbb edi, edi
push dword [0x101f3000]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1007c19f
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1007c12a
Function at 0x1007cb30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
cmp dword [0x101f2ffc], 0
je 0x1007cbba
mov edi, dword [0x101f3000]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1007cc41
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov eax, dword [0x101f2ffc]
mov dword [esp], eax
call sym.nss3.dll_PL_HashTableDestroy
xor esi, esi
mov dword [0x101f2ffc], esi
mov eax, dword [0x101f3000]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov edi, dword [0x101f3000]
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.mozglue.dll_free]
mov dword [0x101f3000], esi
cmp dword [0x101f2ff4], 0
je 0x1007cc38
mov edi, dword [0x101f2ff8]
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1007cc58
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov eax, dword [0x101f2ff4]
mov dword [esp], eax
call sym.nss3.dll_PL_HashTableDestroy
xor esi, esi
mov dword [0x101f2ff4], esi
mov eax, dword [0x101f2ff8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov edi, dword [0x101f2ff8]
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.mozglue.dll_free]
mov dword [0x101f2ff8], esi
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x1007cb62
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x1007cbe0
Function at 0x1007cc70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
xor ebx, ebx
dec ebx
cmp dword [0x101f2ff8], 0
je 0x1007cd71
push dword [ebp + 8]
call sym.nss3.dll_SECITEM_DupItem_Util
add esp, 4
mov edi, eax
xor eax, eax
push 4
push eax
push eax
call sym.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
mov esi, eax
test edi, edi
je 0x1007cd44
test esi, esi
je 0x1007cd44
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x101f2ff8]
mov dword [ebp - 0x14], eax
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1007cd7b
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov ebx, dword [ebp + 8]
push ebx
push dword [0x101f2ff4]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
test eax, eax
je 0x1007cd14
push ebx
push dword [0x101f2ff4]
call sym.nss3.dll_PL_HashTableRemove
add esp, 8
push esi
mov edi, dword [ebp - 0x10]
push edi
push dword [0x101f2ff4]
call sym.nss3.dll_PL_HashTableAdd
add esp, 0xc
mov ebx, eax
push dword [0x101f2ff8]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
test ebx, ebx
mov ebx, 0xffffffff
jne 0x1007cd73
jmp 0x1007cd57
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
test edi, edi
je 0x1007cd62
push 1
push edi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
test esi, esi
je 0x1007cd71
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x1007ccdf

Function at 0x1007cda0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [0x101f2ff8]
test edi, edi
je 0x1007ce02
mov ebx, dword [ebp + 8]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1007ce26
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
push ebx
push dword [0x101f2ff4]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov esi, eax
push dword [0x101f2ff8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x1007ce0b
cmp dword [esi + 8], 4
jne 0x1007ce0f
mov eax, dword [esi + 4]
mov eax, dword [eax]
jmp 0x1007ce21
push 0
push 0xffffe09a
jmp 0x1007ce16
xor eax, eax
jmp 0x1007ce21
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1007cdc5