joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c6f80
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 [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100c7074
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 0x38]
test esi, esi
je 0x100c702f
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, dword [eax + 0x6a]
call dword [section..00cfg]
push ebx
push dword [ebp + 0xc]
push esi
call ecx
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x100c7034
mov eax, dword [edi]
mov esi, dword [edi + 0x38]
mov ecx, dword [eax + 0x6e]
call dword [section..00cfg]
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x14]
push eax
push 1
push edx
push esi
call ecx
add esp, 0x10
mov esi, eax
mov eax, dword [edi]
mov ebx, dword [edi + 0x38]
mov ecx, dword [eax + 0x72]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
jne 0x100c7069
cmp dword [ebp - 0x18], 0
je 0x100c7069
mov esi, dword [ebp - 0x14]
jmp 0x100c7055
mov esi, 0xb3
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
jne 0x100c703f
mov eax, 0xffffd003
jmp 0x100c7048
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100c6faf
Function at 0x100cd330
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]
test edi, edi
je 0x100cd4fe
lock dec dword [edi + 0x2c]
jne 0x100cd4fe
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x38], 0
cmp dword [edi + 0x14], 0
je 0x100cd3d2
mov esi, dword [edi + 4]
test esi, esi
je 0x100cd3d2
cmp dword [edi + 0x28], 0
mov eax, dword [edi + 8]
je 0x100cd377
cmp dword [eax + 0x30], 0
jne 0x100cd3a3
mov ebx, dword [eax + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cd4e1
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x5a]
mov ebx, dword [edi + 0x24]
call dword [section..00cfg]
push esi
push ebx
call ecx
add esp, 8
cmp dword [edi + 0x28], 0
mov eax, dword [edi + 8]
je 0x100cd3c7
cmp dword [eax + 0x30], 0
jne 0x100cd3d2
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100cd3f8
push dword [edi + 0x20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100cd3f8
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [edi + 0x40]
test esi, esi
je 0x100cd412
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x100cd412
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ebx, dword [edi + 8]
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x14], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100cd4c6
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x58]
cmp eax, dword [ebx + 0x5c]
jge 0x100cd45e
cmp dword [edi + 0x28], 0
je 0x100cd483
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x10], eax
mov dword [ebx + 0x50], edi
jmp 0x100cd493
push dword [ebx + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 8]
call fcn.100c3b70
add esp, 0xc
push edi
call dword [sym.imp.mozglue.dll_free]
jmp 0x100cd4a5
mov dword [edi + 0x24], 0
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x10], eax
mov dword [ebx + 0x54], edi
inc dword [ebx + 0x58]
mov dword [edi + 8], 0
push dword [ebx + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
lock dec dword [ebx + 0x48]
jne 0x100cd4b7
push ebx
call fcn.100d1c70
add esp, 4
mov eax, dword [ebp - 0x18]
mov edi, eax
test eax, eax
jne 0x100cd33c
jmp 0x100cd4fe
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100cd42f
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100cd390
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100cd640
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov dword [ebp - 0x10], edx
mov esi, ecx
mov ebx, dword [ecx + 0x4c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100cd789
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100cd688
mov ebx, dword [esi + 0x50]
test ebx, ebx
je 0x100cd688
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x50], eax
jmp 0x100cd695
mov ebx, dword [esi + 0x54]
test ebx, ebx
je 0x100cd6e9
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x54], eax
dec dword [esi + 0x58]
push dword [esi + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [ebx + 0x10], 0
test edi, edi
je 0x100cd73b
movzx eax, word [ebx + 0x3c]
cmp ax, word [esi + 0x80]
jne 0x100cd6c5
cmp dword [ebx + 0x24], 0
jne 0x100cd73b
lea eax, [ebx + 0x28]
push eax
push esi
call fcn.100c3ab0
add esp, 8
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x100cd73b
push ebx
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
xor edi, edi
jmp 0x100cd77f
push dword [esi + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
push 0x48
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
xor edi, edi
test eax, eax
je 0x100cd77f
mov ebx, eax
mov dword [eax + 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x100cd734
mov eax, ebx
add eax, 0x28
push eax
push esi
call fcn.100c3ab0
add esp, 8
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x100cd73b
push ebx
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
jmp 0x100cd77f
mov dword [ebx + 0x24], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ebx], edx
xor edx, edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
movzx ecx, word [esi + 0x80]
mov word [ebx + 0x3c], cx
mov dword [ebx + 0xc], eax
movaps xmm0, xmmword [0x1019c360]
movups xmmword [ebx + 0x2c], xmm0
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x40], edx
lock inc dword [esi + 0x48]
mov edi, ebx
mov eax, edi
add esp, 4
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 edi, eax
jmp 0x100cd665
Function at 0x100cd7b0
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 + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100cd83a
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
movzx eax, word [esi + 0x80]
cmp eax, dword [ebp + 0x14]
jne 0x100cd828
mov eax, dword [ebp + 0xc]
mov edi, dword [esi + eax*4 + 0x90]
test edi, edi
je 0x100cd828
mov ebx, dword [ebp + 0x18]
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edx, dword [esi + 0x8c]
mov ecx, esi
push ebx
push 1
push 0
call fcn.100cd640
add esp, 0xc
test eax, eax
je 0x100cd833
mov dword [eax + 4], edi
mov dword [eax + 0x34], 1
jmp 0x100cd835
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor 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 edi, eax
jmp 0x100cd7ce

Function at 0x100cd860
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 + 0x3c]
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 0x100cd8d6
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
cmp dword [ebp + 0xc], 0
jne 0x100cd8c3
cmp dword [edi + 0x90], 0
jne 0x100cd8c3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [edi + 0x90], ecx
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x28], ecx
mov eax, dword [eax]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x3c]
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 0x100cd886
Function at 0x100ce8c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 1
test ebx, ebx
je 0x100ce927
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
mov dword [eax], esi
push 0x104
push 1
push eax
push ebx
call fcn.100ce230
add esp, 0x10
test eax, eax
cmovne ebx, eax
mov edi, dword [ebx + 8]
test edi, edi
je 0x100ce933
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
test edx, edx
je 0x100ce93f
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x100ce943
push 0
push 0xffffe005
jmp 0x100cea1a
push 0
push 0xffffe040
jmp 0x100cea1a
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
push 0
push eax
push edi
call sym.nss3.dll_PK11_ImportPublicKey
add esp, 0xc
test eax, eax
je 0x100cea39
mov dword [ebp - 0x30], eax
lea esi, [ebp - 0x24]
push esi
push edi
call fcn.100c3ab0
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [esi], 0
je 0x100ce97b
cmp dword [edi + 0x30], 0
jne 0x100ce9a5
mov esi, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100cea5b
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x28]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xf2]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 4]
mov ebx, dword [ebx + 4]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
mov esi, dword [ebp - 0x34]
push esi
call ecx
add esp, 0x18
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100ce9e1
cmp dword [edi + 0x30], 0
jne 0x100ce9ef
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
push esi
push edi
call fcn.100c3b70
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100cea0a
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
test ebx, ebx
je 0x100cea4e
push ebx
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
dec edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100cea25
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
jmp 0x100cea25
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 8], eax
xor edi, edi
jmp 0x100cea25
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x100ce995
Function at 0x100cf630
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xce534378
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cf6e7
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi]
mov esi, dword [edi + 0x38]
mov ecx, dword [eax + 0xfa]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push eax
xor eax, eax
push eax
push eax
push ebx
push edx
push esi
call ecx
add esp, 0x18
mov esi, eax
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100cf6d0
push esi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
jmp 0x100cf6d3
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
add esp, 0x14
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 0x100cf670
Function at 0x100d1590
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d160f
cmp dword [ebp + 0xc], 0
je 0x100d160f
mov edi, dword [eax + 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 0x100d1630
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebx + 0xc]
lea eax, [edi - 1]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor esi, esi
cmp edi, 1
jne 0x100d1626
mov eax, dword [ebx + 8]
lock dec dword [eax + 0x48]
jne 0x100d1604
mov dword [esp], eax
call fcn.100d1c70
mov dword [esp], ebx
call dword [sym.imp.mozglue.dll_free]
jmp 0x100d1626
mov dword [esp + 4], 0
mov dword [esp], 0xffffe005
call sym.nss3.dll_PR_SetError
xor esi, esi
dec 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 0x100d15c0

Function at 0x100d1670
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 8]
test esi, esi
je 0x100d174b
mov ebx, dword [esi]
test ebx, ebx
je 0x100d171f
mov dword [ebp - 0x10], esi
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
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 0x100d170b
mov edi, dword [ebp - 0x14]
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 + 0xc]
lea eax, [esi - 1]
mov dword [ebx + 0xc], eax
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp esi, 1
mov esi, edi
jne 0x100d1700
mov eax, dword [ebx + 8]
lock dec dword [eax + 0x48]
jne 0x100d16f7
mov dword [esp], eax
call fcn.100d1c70
mov dword [esp], ebx
call dword [sym.imp.mozglue.dll_free]
mov eax, dword [ebp - 0x18]
mov ebx, eax
test eax, eax
jne 0x100d1691
jmp 0x100d171f
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100d16b3
mov esi, dword [esi + 8]
test esi, esi
je 0x100d173e
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]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.mozglue.dll_free]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d1760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp], 0x10
call sym.nss3.dll_PORT_Alloc_Util
test eax, eax
je 0x100d17f1
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lock inc dword [eax + 0x48]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov ebx, dword [ecx + 8]
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 0x100d183c
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [ebp + 0x10], 0
je 0x100d17f6
test eax, eax
je 0x100d17f6
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x64]
mov edx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp dword [edx + 0x64], ecx
jle 0x100d17fa
mov eax, dword [eax]
test eax, eax
jne 0x100d17de
jmp 0x100d1807
xor eax, eax
dec eax
jmp 0x100d1834
test eax, eax
je 0x100d1807
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [eax + 4], esi
mov dword [esi], eax
jmp 0x100d1818
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [esi], 0
mov dword [edi + 4], esi
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100d1821
mov dword [ecx], esi
cmp dword [edi], eax
jne 0x100d1827
mov dword [edi], esi
mov eax, dword [edi + 8]
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 edi, eax
jmp 0x100d17b4
Function at 0x100d1870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, edx
mov esi, ecx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
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 0x100d195c
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
test ecx, ecx
cmove ecx, esi
mov dword [ecx], eax
mov eax, dword [ebx]
lea ecx, [esi + 4]
test eax, eax
lea eax, [eax + 4]
cmove eax, ecx
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
mov dword [ebp - 0x14], esi
mov esi, ebx
je 0x100d1974
mov ebx, dword [ebp - 0x10]
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 + 0xc]
lea eax, [ebx - 1]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp ebx, 1
jne 0x100d1954
mov eax, dword [esi + 8]
lock dec dword [eax + 0x48]
jne 0x100d194b
mov dword [esp], eax
call fcn.100d1c70
mov dword [esp], esi
call dword [sym.imp.mozglue.dll_free]
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 0x100d189f
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x100d1909

Function at 0x100d1990
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 0x100d19e6
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]
test esi, esi
je 0x100d19d1
inc dword [esi + 0xc]
mov eax, dword [edi + 8]
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 [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100d19b6
Function at 0x100d1a00
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 + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 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 0x100d1b00
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 [ebx]
test eax, eax
je 0x100d1ad0
inc dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov esi, dword [ebx + 8]
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 0x100d1b17
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0xc]
lea eax, [esi - 1]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp esi, 1
jne 0x100d1ac5
mov eax, dword [edi + 8]
lock dec dword [eax + 0x48]
jne 0x100d1abc
mov dword [esp], eax
call fcn.100d1c70
mov dword [esp], edi
call dword [sym.imp.mozglue.dll_free]
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
cmp dword [ebp + 0x10], 0
je 0x100d1a4e
cmp dword [ebx + 4], 0
jne 0x100d1a4e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, ebx
je 0x100d1a4e
test eax, eax
jne 0x100d1a49
jmp 0x100d1a4e
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100d1a2d
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x100d1a7d

Function at 0x100d1dc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.100d4740