joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cebf0
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 + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp edi, 1
jne 0x100cec25
cmp dword [ebx + 0x124], 0
je 0x100cec25
mov eax, dword [ebx + 0x128]
mov dword [ebp - 0x14], eax
jmp 0x100cecaf
cmp dword [ebx + 0x30], 0
jne 0x100cec54
mov edi, dword [ebx + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cecd8
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax + 0x22]
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
call ecx
add esp, 0xc
mov esi, edi
mov edi, eax
cmp dword [ebx + 0x30], 0
jne 0x100cec82
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x100ceca9
test edi, edi
jne 0x100ceca9
cmp dword [ebx + 0x124], 0
jne 0x100cecaf
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x124], 1
jmp 0x100cecaf
xor esi, esi
test edi, edi
jne 0x100cecc4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100cecc1
mov ecx, dword [ebp - 0x14]
not ecx
xor esi, esi
test eax, ecx
jne 0x100cecc4
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cec44
Function at 0x100cf740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x30], 0
jne 0x100cf784
mov ebx, dword [edi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cf7d4
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [edi + 0x40]
mov ecx, dword [eax + 0x22]
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
call ecx
add esp, 0xc
mov esi, eax
cmp dword [edi + 0x30], 0
jne 0x100cf7b0
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x1c], edi
cmove edi, eax
test esi, esi
cmovne edi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cf774
Function at 0x100cfa70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x100cfaaa
mov ebx, dword [eax + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cfb03
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x38]
mov ecx, dword [eax + 0x102]
call dword [section..00cfg]
push edi
push ebx
push esi
call ecx
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x100cfadf
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100cfafc
push esi
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100cfafe
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cfa9a
Function at 0x100cfb20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x80000efe
sub esp, 0x14
movaps xmm0, xmmword [0x101b16e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call fcn.100cf1d0
add esp, 0x14
mov esi, eax
test eax, eax
je 0x100cfbcf
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [esi + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100cfcf4
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov edi, dword [esi + 0x38]
mov ecx, dword [eax + 0xfe]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call ecx
add esp, 0xc
mov edi, eax
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x100cfbf1
push edi
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x100cfbf3
mov eax, dword [0x101f53e0]
test eax, eax
je 0x100cfc27
cmp dword [eax + 0xc], 0
je 0x100cfc4d
mov esi, dword [0x101f53d8]
test esi, esi
je 0x100cfc4d
lock inc dword [esi + 0x48]
jmp 0x100cfb5c
xor edi, edi
lock dec dword [esi + 0x48]
jne 0x100cfc02
push esi
call fcn.100cb320
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x100cfc39
mov eax, dword [0x101f53e0]
test eax, eax
je 0x100cfc27
cmp dword [eax + 0xc], 0
je 0x100cfc60
mov ebx, dword [0x101f53d8]
test ebx, ebx
je 0x100cfc60
lock inc dword [ebx + 0x48]
jmp 0x100cfc6d
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [eax + 0x28]
mov esi, dword [eax]
lock inc dword [esi + 0x48]
test esi, esi
jne 0x100cfb5c
jmp 0x100cfc36
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
lock inc dword [ebx + 0x48]
test ebx, ebx
je 0x100cfc36
mov edi, dword [ebx + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cfd11
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x38]
mov ecx, dword [eax + 0xfe]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call ecx
add esp, 0xc
mov esi, eax
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100cfcda
push esi
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x100cfcdc
xor edi, edi
lock dec dword [ebx + 0x48]
jne 0x100cfc39
push ebx
call fcn.100cb320
add esp, 4
jmp 0x100cfc39
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100cfb7b
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cfc86
Function at 0x100cfd30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x80000efe
movaps xmm0, xmmword [0x101b16e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call fcn.100cf1d0
test eax, eax
je 0x100cfe04
mov esi, eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x100cfdac
mov ebx, dword [esi + 0x3c]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100cfe2d
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 [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x102]
call dword [section..00cfg]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ecx
mov edi, eax
cmp dword [esi + 0x14], 0
jne 0x100cfde3
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test edi, edi
je 0x100cfe09
mov dword [esp], edi
call fcn.100aaef0
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.nss3.dll_PR_SetError
xor edi, edi
dec edi
jmp 0x100cfe0b
xor edi, edi
dec edi
jmp 0x100cfe19
xor edi, edi
lock dec dword [esi + 0x48]
jne 0x100cfe19
mov dword [esp], esi
call fcn.100cb320
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100cfd94
Function at 0x100cfe50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ecx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ecx + 0xf9]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
cmp eax, 0x20
mov ebx, 0x20
cmovb ebx, eax
lea eax, [ebp - 0x30]
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x1f
ja 0x100cfeae
lea eax, [ebx + ebp]
add eax, 0xffffffd0
mov ecx, 0x20
sub ecx, ebx
push ecx
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x3c]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cffdb
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax + 0x3a]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov dword [ebx + 0x38], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x26]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100cff0b
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
jmp 0x100cff0d
xor edi, edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x40]
mov ecx, esi
call dword [section..00cfg]
lea eax, [ebp - 0x30]
push eax
push edi
push dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
call esi
add esp, 0x10
mov esi, eax
sub esp, 4
push ebx
call fcn.100cc510
add esp, 8
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100cff62
push esi
call fcn.100aaef0
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x100cffc7
mov edi, dword [ebx + 0x140]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100cfff8
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebx + 0x13c]
test esi, esi
je 0x100cffb7
lock inc dword [esi + 8]
push dword [ebx + 0x140]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
push dword [esi + 0x28]
call fcn.1009f800
add esp, 8
push esi
call fcn.10096ae0
jmp 0x100cffc2
push dword [ebx + 0x140]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cfeca
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100cff7a
Function at 0x100d0020
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 + 0xc]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x100d0037
lock inc dword [eax + 8]
mov edi, dword [ebx + 0x140]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100d0097
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 + 0x13c]
mov eax, dword [ebx + 0x140]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x13c], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test esi, esi
je 0x100d008f
mov dword [esp], esi
call fcn.10096ae0
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100d0054

Function at 0x100d0250
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 + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100d0342
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 + 0x20]
mov esi, dword [edi + 0x24]
lea ecx, [esi - 1]
mov dword [edi + 0x24], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp esi, 1
jne 0x100d033a
mov eax, dword [edi + 0x50]
test eax, eax
je 0x100d02bf
mov dword [edi + 0x50], 0
mov dword [esp], eax
call sym.nss3.dll_SECMOD_DestroyModule
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x100d02f9
jle 0x100d033a
xor ebx, ebx
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x18], 0
jne 0x100d02e4
mov dword [esp], eax
call fcn.100cc2b0
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebx*4]
lock dec dword [eax + 0x48]
jne 0x100d02f2
mov dword [esp], eax
call fcn.100cb320
inc ebx
cmp esi, ebx
jne 0x100d02ca
jmp 0x100d033a
cmp dword [edi + 8], 0
je 0x100d0307
mov dword [esp], edi
call fcn.100b82c0
mov esi, dword [edi + 0x20]
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]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.nss3.dll_PORT_FreeArena_Util
dec dword [0x101f53f4]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100d027a
Function at 0x100d0370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
push 8
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100d0402
mov esi, eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100d0421
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov edi, dword [ebp + 0xc]
inc dword [edi + 0x24]
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [esi + 4], edi
push dword [0x101f53dc]
call fcn.100d4790
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edx
mov eax, ebx
mov ecx, dword [ecx]
mov ebx, ecx
test ecx, ecx
jne 0x100d03e6
test eax, eax
je 0x100d0407
push 0
push esi
push eax
call fcn.100ad4d0
add esp, 0xc
jmp 0x100d0409
xor eax, eax
dec eax
jmp 0x100d0419
mov dword [edx], esi
push dword [0x101f53dc]
call fcn.100d4880
add esp, 4
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x100d03ac

Function at 0x100d0440
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 + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100d0490
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
mov eax, dword [esi + 0x20]
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 [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100d0466

Function at 0x100d04b0
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 [edi + 4], 0
je 0x100d050b
cmp dword [0x101f53e0], 0
jne 0x100d050b
mov ebx, dword [edi + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100d0523
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
inc dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov dword [0x101f53e0], edi
mov dword [esp + 4], edi
mov dword [esp], 0x101f53e8
call fcn.100d0370
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100d04e5
Function at 0x100d0540
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 eax, dword [0x101f53e4]
test eax, eax
je 0x100d0563
test byte [edi + 0x58], 4
je 0x100d05a3
mov dword [esp], eax
call sym.nss3.dll_SECMOD_DestroyModule
mov ebx, dword [edi + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100d05bb
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
inc dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov dword [0x101f53e4], edi
mov dword [esp + 4], edi
mov dword [esp], 0x101f53ec
call fcn.100d0370
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100d057d

Function at 0x100d0600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x101f53dc]
test eax, eax
je 0x100d063b
mov edi, dword [ebp + 8]
push eax
call fcn.100d4620
add esp, 4
mov ebx, 0x101f53e8
mov ebx, dword [ebx]
test ebx, ebx
je 0x100d064e
mov esi, dword [ebx + 4]
push dword [esi + 0x14]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100d0620
jmp 0x100d066c
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
jmp 0x100d06ae
mov ebx, 0x101f53f0
mov ebx, dword [ebx]
test ebx, ebx
je 0x100d069e
mov esi, dword [ebx + 4]
push dword [esi + 0x14]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100d0653
mov ebx, dword [esi + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100d06b5
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100d06a0
xor esi, esi
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100d0681
Function at 0x100d06d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x101f53dc]
test eax, eax
je 0x100d073e
mov edi, dword [ebp + 8]
push eax
call fcn.100d4620
add esp, 4
mov eax, 0x101f53e8
mov eax, dword [eax]
test eax, eax
je 0x100d0747
mov esi, dword [eax + 4]
cmp dword [esi + 0x38], edi
jne 0x100d06f0
mov ebx, dword [esi + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x100d076d
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
jmp 0x100d0766
push 0
push 0xffffe09a
jmp 0x100d075c
push dword [0x101f53dc]
call fcn.100d4700
add esp, 4
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x100d0713

Function at 0x100d0790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x101f53dc]
mov dword [esp], eax
call fcn.100d4620
mov eax, dword [0x101f53e8]
test eax, eax
je 0x100d07c4
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 4]
test esi, esi
je 0x100d07be
cmp dword [esi + 0x1c], ecx
je 0x100d07e9
mov eax, dword [eax]
test eax, eax
jne 0x100d07b2
mov eax, dword [0x101f53dc]
mov dword [esp], eax
call fcn.100d4700
mov dword [esp + 4], 0
mov dword [esp], 0xffffe040
call sym.nss3.dll_PR_SetError
xor esi, esi
jmp 0x100d0830
mov ebx, dword [esi + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x100d083a
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, dword [0x101f53dc]
mov dword [esp], eax
call fcn.100d4700
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x100d0803
Function at 0x100d0f00
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 [ebp + 0xc], 0
je 0x100d0f57
mov ebx, dword [edi + 0x20]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100d0fa0
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 + 0x20]
mov esi, dword [edi + 0x2c]
lea ecx, [esi - 1]
mov dword [edi + 0x2c], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp esi, 1
jne 0x100d0f98
cmp dword [edi + 8], 0
je 0x100d0f65
mov dword [esp], edi
call fcn.100b82c0
mov esi, dword [edi + 0x20]
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]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.nss3.dll_PORT_FreeArena_Util
dec dword [0x101f53f4]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100d0f2c