joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d2250
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 eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x30], 0
je 0x100d2272
cmp dword [edi + 0x2c], 0
je 0x100d22a9
mov ebx, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d2324
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
cmp dword [edi + 0x2c], 0
je 0x100d22a5
mov esi, dword [edi + 0x38]
test esi, esi
jne 0x100d2310
xor ebx, ebx
jmp 0x100d22ab
mov bl, 1
mov eax, dword [edi]
mov esi, dword [edi + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push sym.nss3.dll_SECMOD_CanDeleteInternalModule
push edi
push 6
push esi
call ecx
add esp, 0x14
test eax, eax
jne 0x100d22e1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100d22e1
cmp dword [edi + 0x2c], 0
je 0x100d2310
mov dword [edi + 0x38], esi
jmp 0x100d2310
test eax, eax
mov esi, 0x30
cmovne esi, eax
test bl, bl
jne 0x100d22fa
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, 8
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 0x100d228b
Function at 0x100d36f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test ecx, ecx
jle 0x100d371e
mov esi, dword [edx + 0x40]
xor edx, edx
mov edi, eax
cmp dword [edi], esi
je 0x100d3720
inc edx
add edi, 0x24
cmp ecx, edx
jne 0x100d370d
jmp 0x100d385e
xor edx, edx
cmp edx, ecx
je 0x100d385e
lea edx, [edx + edx*8]
mov ecx, dword [eax + edx*4 + 4]
mov edi, dword [ebp + 8]
mov dword [edi + 0x44], ecx
mov esi, dword [eax + edx*4 + 8]
mov dword [edi + 0x60], esi
mov esi, dword [eax + edx*4 + 0xc]
mov dword [edi + 0x64], esi
movsx eax, byte [eax + edx*4 + 0x10]
mov dword [edi + 0x11c], eax
cmp dword [edi + 0x18], 0
jne 0x100d385e
bt ecx, 0x1e
jb 0x100d3852
mov ebx, 0xffffff10
test dword [ebx + 0x101aad34], ecx
je 0x100d382b
mov ecx, dword [ebx + 0x101aad38]
call fcn.100d34a0
test eax, eax
je 0x100d382b
mov esi, eax
mov dword [esp], 0x10
call sym.nss3.dll_PORT_Alloc_Util
test eax, eax
je 0x100d382b
mov edi, eax
mov eax, dword [ebp + 8]
lock inc dword [eax + 0x48]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov dword [edi + 0xc], 1
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 dword [ebp - 0x10], eax
test eax, eax
je 0x100d383d
mov eax, dword [ebp - 0x14]
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x100d3802
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
mov dword [edi], eax
jmp 0x100d3811
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov dword [edi], 0
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x100d381a
mov dword [ecx], edi
cmp dword [esi], eax
jne 0x100d3820
mov dword [esi], edi
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test ebx, ebx
je 0x100d385e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ebx, 0xc
jmp 0x100d3767
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x100d37d4
xor eax, eax
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100d3870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
call fcn.100d34a0
mov edi, eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebx + 4]
je 0x100d3922
or dword [esi + 0x44], eax
xor eax, eax
test edi, edi
je 0x100d39d0
mov dword [esp], 0x10
call sym.nss3.dll_PORT_Alloc_Util
test eax, eax
je 0x100d39a0
mov ebx, eax
lock inc dword [esi + 0x48]
mov dword [eax + 8], esi
mov dword [eax + 4], 0
mov dword [eax + 0xc], 1
mov eax, dword [edi + 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 0x100d39e3
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x100d39a5
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov dword [eax + 4], ebx
mov dword [ebx], eax
jmp 0x100d39b4
not eax
and dword [esi + 0x44], eax
xor eax, eax
test edi, edi
je 0x100d39d0
mov eax, dword [edi + 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 0x100d39fb
mov ebx, dword [ebp - 0x14]
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov ebx, dword [edi]
test ebx, ebx
je 0x100d39c3
inc dword [ebx + 0xc]
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [ebx + 8], esi
je 0x100d39d8
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], 1
call sym.nss3.dll_PK11_GetNextSafe
mov ebx, eax
test eax, eax
jne 0x100d397f
jmp 0x100d39ce
xor eax, eax
dec eax
jmp 0x100d39d0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x100d39bd
mov dword [ecx], ebx
cmp dword [edi], eax
jne 0x100d39c3
mov dword [edi], ebx
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
mov edx, ebx
call fcn.100d1870
jmp 0x100d39ce
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x100d38f0
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x100d3953
Function at 0x100d3a20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x100d3a3a
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100d3a32
xor ebx, ebx
lea ecx, [ebx + ebx*2]
test dword [ecx*4 + 0x101aac44], eax
je 0x100d3b65
mov ecx, dword [ecx*4 + 0x101aac48]
call fcn.100d34a0
test eax, eax
je 0x100d3b65
mov esi, eax
mov eax, dword [eax + 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 0x100d3b7a
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 edi, dword [esi]
test edi, edi
je 0x100d3ae1
inc dword [edi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, dword [ebp + 8]
cmp dword [edi + 8], eax
je 0x100d3aee
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 1
call sym.nss3.dll_PK11_GetNextSafe
mov edi, eax
test eax, eax
jne 0x100d3aba
jmp 0x100d3b65
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
jmp 0x100d3b65
mov ecx, esi
mov edx, edi
call fcn.100d1870
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 dword [ebp - 0x14], eax
test eax, eax
je 0x100d3b92
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
dec eax
mov dword [edi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [ebp - 0x10], 1
jne 0x100d3b65
mov eax, dword [edi + 8]
lock dec dword [eax + 0x48]
jne 0x100d3b5c
mov dword [esp], eax
call fcn.100d1c70
mov dword [esp], edi
call dword [sym.imp.mozglue.dll_free]
inc ebx
cmp ebx, 0x15
je 0x100d3a32
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
jmp 0x100d3a46
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x100d3a8e
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x14], eax
jmp 0x100d3b15
Function at 0x100d4740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x94
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ecx + 0x18], 0
jne 0x100d480c
mov esi, ecx
cmp dword [ecx + 0xc], 0
je 0x100d4778
cmp dword [esi + 0x38], 0
je 0x100d4778
xor ebx, ebx
inc ebx
jmp 0x100d480c
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x100d4791
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.1009c6a0
mov ebx, eax
jmp 0x100d480c
cmp dword [esi + 0x30], 0
jne 0x100d47dd
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x90], eax
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x100d4902
mov edi, dword [ebp - 0x90]
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x8c]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 0x16]
call dword [section..00cfg]
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
test eax, eax
je 0x100d4823
cmp dword [esi + 0x30], 0
jne 0x100d480c
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0x38]
test byte [ebp - 0x18], 1
jne 0x100d4849
test edi, edi
je 0x100d47fb
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
mov dword [esi + 0x38], 0
jmp 0x100d47fb
test edi, edi
je 0x100d48d3
cmp dword [esi + 0x30], 0
je 0x100d488a
mov ebx, dword [esi + 0x3c]
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 0x100d491d
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 [esi + 0x38]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3e]
call dword [section..00cfg]
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
test eax, eax
je 0x100d48c2
mov eax, dword [esi]
mov edi, dword [esi + 0x38]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
mov dword [esi + 0x38], 0
cmp dword [esi + 0x30], 0
je 0x100d48d9
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [esi + 0x30], 0
jne 0x100d48e4
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [esi + 0x38], 0
jne 0x100d4770
mov dword [esp], esi
call fcn.100d3c80
xor ebx, ebx
test eax, eax
sete bl
jmp 0x100d480c
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x8c], eax
jmp 0x100d47bf
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x100d4875
Function at 0x100d4ce0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x30], 0
jne 0x100d4d1b
mov edi, dword [ecx + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d4dfb
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov ecx, dword [ebp + 8]
movaps xmm0, xmmword [str.________________f3]
movups xmmword [ebx + 0x50], xmm0
movups xmmword [ebx + 0x40], xmm0
movups xmmword [ebx + 0x30], xmm0
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x40]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x40]
mov ecx, dword [eax + 0x16]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
lea ecx, [ebx + 1]
cmp edi, ecx
cmova ecx, edi
mov esi, eax
sub ecx, ebx
xor eax, eax
cmp byte [ebx + eax], 0
je 0x100d4d6c
inc eax
cmp ecx, eax
jne 0x100d4d5f
jmp 0x100d4d86
lea ecx, [ebx + eax]
cmp ecx, edi
jae 0x100d4d86
mov edx, 0x40
sub edx, eax
push edx
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x60]
lea edx, [ebx + 0x41]
cmp eax, edx
cmova edx, eax
sub edx, ebx
add edx, 0xffffffc0
xor ecx, ecx
cmp byte [ebx + ecx + 0x40], 0
je 0x100d4da6
inc ecx
cmp edx, ecx
jne 0x100d4d98
jmp 0x100d4dc3
lea edx, [ebx + ecx]
add edx, 0x40
cmp edx, eax
jae 0x100d4dc3
mov eax, 0x20
sub eax, ecx
push eax
push 0x20
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x100d4dd7
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100d4df4
push esi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100d4df6
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 esi, eax
jmp 0x100d4d0b
Function at 0x100d4e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x30], 0
jne 0x100d4e5b
mov edi, dword [ecx + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d4fb5
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov ecx, dword [ebp + 8]
movaps xmm0, xmmword [str.________________f3]
movups xmmword [ebx + 0x50], xmm0
movups xmmword [ebx + 0x40], xmm0
movups xmmword [ebx + 0x30], xmm0
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
lea edi, [ebx + 0x20]
mov eax, dword [ecx]
mov esi, dword [ecx + 0x40]
mov ecx, dword [eax + 0x1a]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
lea ecx, [ebx + 1]
cmp edi, ecx
cmova ecx, edi
mov esi, eax
sub ecx, ebx
xor eax, eax
cmp byte [ebx + eax], 0
je 0x100d4eac
inc eax
cmp ecx, eax
jne 0x100d4e9f
jmp 0x100d4ec6
lea ecx, [ebx + eax]
cmp ecx, edi
jae 0x100d4ec6
mov edx, 0x20
sub edx, eax
push edx
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x40]
lea edx, [ebx + 0x21]
cmp eax, edx
cmova edx, eax
sub edx, ebx
add edx, 0xffffffe0
xor ecx, ecx
cmp byte [ebx + ecx + 0x20], 0
je 0x100d4ee6
inc ecx
cmp edx, ecx
jne 0x100d4ed8
jmp 0x100d4f03
lea edx, [ebx + ecx]
add edx, 0x20
cmp edx, eax
jae 0x100d4f03
mov eax, 0x20
sub eax, ecx
push eax
push 0x20
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x50]
lea edx, [ebx + 0x41]
cmp eax, edx
cmova edx, eax
sub edx, ebx
add edx, 0xffffffc0
xor ecx, ecx
cmp byte [ebx + ecx + 0x40], 0
je 0x100d4f23
inc ecx
cmp edx, ecx
jne 0x100d4f15
jmp 0x100d4f40
lea edx, [ebx + ecx]
add edx, 0x40
cmp edx, eax
jae 0x100d4f40
mov eax, 0x10
sub eax, ecx
push eax
push 0x20
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x60]
lea edx, [ebx + 0x51]
cmp eax, edx
cmova edx, eax
sub edx, ebx
add edx, 0xffffffb0
xor ecx, ecx
cmp byte [ebx + ecx + 0x50], 0
je 0x100d4f60
inc ecx
cmp edx, ecx
jne 0x100d4f52
jmp 0x100d4f7d
lea edx, [ebx + ecx]
add edx, 0x50
cmp edx, eax
jae 0x100d4f7d
mov eax, 0x10
sub eax, ecx
push eax
push 0x20
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x100d4f91
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100d4fae
push esi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100d4fb0
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 esi, eax
jmp 0x100d4e4b
Function at 0x100d52b0
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 [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp edi, 1
jne 0x100d52e5
cmp dword [ebx + 0x124], 0
je 0x100d52e5
mov eax, dword [ebx + 0x128]
mov dword [ebp - 0x14], eax
jmp 0x100d536f
cmp dword [ebx + 0x30], 0
jne 0x100d5314
mov edi, dword [ebx + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d5398
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 0x100d5342
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x100d5369
test edi, edi
jne 0x100d5369
cmp dword [ebx + 0x124], 0
jne 0x100d536f
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x124], 1
jmp 0x100d536f
xor esi, esi
test edi, edi
jne 0x100d5384
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100d5381
mov ecx, dword [ebp - 0x14]
and ecx, eax
xor esi, esi
cmp ecx, eax
jne 0x100d5384
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
add esp, 0x10
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 0x100d5304
Function at 0x100d5dc0
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 [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x30], 0
jne 0x100d5e04
mov ebx, dword [edi + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d5e54
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 0x100d5e30
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.1014dc80
mov eax, edi
add esp, 0x10
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 0x100d5df4
Function at 0x100d60f0
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 0x100d612d
mov ebx, dword [eax + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100d6186
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
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 0x100d6162
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100d617f
push esi
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100d6181
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 esi, eax
jmp 0x100d611a