joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100db990
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]
xor ebx, ebx
inc ebx
test eax, eax
cmovne ebx, eax
test ebx, ebx
js 0x100dba5b
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1c], 0xb8ac9bdf
jne 0x100dba1a
mov edi, dword [edi + 0x20]
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 0x100dbaab
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]
mov eax, dword [edi + 0x18]
lea ecx, [eax + ebx]
not eax
and eax, ecx
xor esi, esi
cmp eax, ebx
jb 0x100dba4c
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x100dba47
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.nss3.dll_PL_ArenaAllocate
mov esi, eax
jmp 0x100dba4c
mov eax, dword [edi + 0x18]
lea ecx, [eax + ebx]
not eax
and eax, ecx
cmp eax, ebx
jb 0x100dba5b
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x100dba92
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.nss3.dll_PL_ArenaAllocate
mov esi, eax
jmp 0x100dba57
add eax, esi
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test esi, esi
jne 0x100dba88
cmp dword [0x101f2f50], 0
je 0x100dbac2
mov eax, dword [0x101f25a4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x100dba99
mov dword [eax + 0x28], 0xffffe013
xor esi, esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
add eax, esi
mov dword [ecx + 0xc], eax
jmp 0x100dba57
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
jmp 0x100dba79
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
mov esi, eax
jmp 0x100db9d6
call fcn.100029d0
jmp 0x100dba64
Function at 0x100dbad0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100dbb7a
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [ebx + 0x1c], 0xb8ac9bdf
jne 0x100dbb14
mov edi, dword [ebx + 0x20]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100dbb7f
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100dbb23
push 0
push ebx
call sym.nss3.dll_PL_ClearArenaPool
add esp, 8
push 0x100dbba0
push 0x101f39cc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f39d8], 0
je 0x100dbb46
push ebx
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x100dbb4c
push ebx
call sym.nss3.dll_PL_FinishArenaPool
add esp, 4
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test edi, edi
je 0x100dbb7a
push edi
call sym.nss3.dll_PR_Unlock
add esp, 4
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
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 0x100dbb04
Function at 0x100dbc10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
js 0x100dbcad
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0xb8ac9bdf
jne 0x100dbcdb
mov edi, dword [edx + 0x20]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100dbd5f
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp + 0x10]
sub ebx, eax
lea eax, [ecx + ebx]
mov edi, ecx
not edi
and eax, edi
xor esi, esi
cmp eax, ebx
jb 0x100dbd29
mov edx, dword [edx + 0x10]
add ecx, dword [ebp + 0x10]
and ecx, edi
mov esi, dword [edx + 0xc]
mov edi, dword [ebp + 0xc]
add ecx, edi
cmp esi, ecx
jne 0x100dbc96
mov ecx, dword [edx + 8]
sub ecx, esi
cmp eax, ecx
jbe 0x100dbd1f
push ebx
push dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
call sym.nss3.dll_PL_ArenaGrow
mov edx, esi
add esp, 0x10
mov esi, eax
jmp 0x100dbd29
cmp dword [0x101f2f50], 0
je 0x100dbd7c
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100dbd44
mov dword [eax + 0x28], 0xffffe013
xor esi, esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
jmp 0x100dbd34
mov ecx, dword [edx + 0x18]
sub ebx, dword [ebp + 0x10]
lea eax, [ecx + ebx]
mov edi, ecx
not edi
and eax, edi
xor esi, esi
cmp eax, ebx
jb 0x100dbd34
mov edx, dword [edx + 0x10]
add ecx, dword [ebp + 0x10]
and ecx, edi
mov esi, dword [edx + 0xc]
mov edi, dword [ebp + 0xc]
add ecx, edi
cmp esi, ecx
jne 0x100dbd0d
mov ecx, dword [edx + 8]
sub ecx, esi
cmp eax, ecx
jbe 0x100dbd3b
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call sym.nss3.dll_PL_ArenaGrow
add esp, 0x10
jmp 0x100dbd36
add esi, eax
mov dword [edx + 0xc], esi
mov esi, edi
mov edx, dword [ebp + 8]
push dword [edx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, eax
mov dword [edx + 0xc], esi
mov esi, edi
jmp 0x100dbd34
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100dbcca
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x100dbc4a
call fcn.100029d0
jmp 0x100dbcba
Function at 0x100dbd90
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 + 0x1c], 0xb8ac9bdf
jne 0x100dbde4
mov ebx, dword [edi + 0x20]
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 0x100dbdf4
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 + 0x10]
mov ecx, dword [edi + 0x20]
mov esi, dword [eax + 0xc]
mov dword [esp], ecx
call sym.nss3.dll_PR_Unlock
jmp 0x100dbdea
mov eax, dword [edi + 0x10]
mov esi, dword [eax + 0xc]
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 0x100dbdbf
Function at 0x100dbe30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, edx
cmp dword [ecx + 0x1c], 0xb8ac9bdf
mov dword [ebp - 0x10], ecx
jne 0x100dbe9d
mov esi, dword [ecx + 0x20]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100dbfad
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
cmp dword [ebp + 8], 0
je 0x100dbed8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
cmp dword [eax + 4], edi
ja 0x100dbe83
mov eax, dword [eax + 0xc]
sub eax, edi
jae 0x100dbecc
mov ebx, dword [ecx]
test ebx, ebx
je 0x100dbed8
cmp dword [ebx + 4], edi
ja 0x100dbe99
mov eax, dword [ebx + 0xc]
sub eax, edi
jae 0x100dbf55
mov ebx, dword [ebx]
jmp 0x100dbe85
cmp dword [ebp + 8], 0
je 0x100dbf1f
mov eax, dword [ecx + 0x10]
cmp dword [eax + 4], edi
ja 0x100dbeb2
mov eax, dword [eax + 0xc]
sub eax, edi
jae 0x100dbf13
mov ebx, dword [ecx]
test ebx, ebx
je 0x100dbf1f
cmp dword [ebx + 4], edi
ja 0x100dbec8
mov eax, dword [ebx + 0xc]
sub eax, edi
jae 0x100dbf83
mov ebx, dword [ebx]
jmp 0x100dbeb4
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov esi, edi
sub esi, ecx
sub edx, ecx
cmp esi, edx
jbe 0x100dbefa
push edi
push ebx
call sym.nss3.dll_PL_ArenaRelease
add esp, 8
jmp 0x100dbf06
mov ecx, dword [ebx + 0x18]
add edi, ecx
not ecx
and ecx, edi
mov dword [eax + 0xc], ecx
push dword [ebx + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 8
jmp 0x100dbf50
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov esi, edi
sub esi, ecx
sub edx, ecx
cmp esi, edx
jbe 0x100dbf41
push edi
push ebx
call sym.nss3.dll_PL_ArenaRelease
add esp, 0xc
jmp 0x100dbf50
mov ecx, dword [ebx + 0x18]
add edi, ecx
not ecx
and ecx, edi
mov dword [eax + 0xc], ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [ebx]
test esi, esi
je 0x100dbed8
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
sub ecx, eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [esi]
jmp 0x100dbf63
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [ebx]
test esi, esi
je 0x100dbf1f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
sub ecx, eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [esi]
jmp 0x100dbf91
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100dbe5e
Function at 0x100dbff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100dc019
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov bl, byte [edx + edi]
xor bl, byte [esi + edi]
movzx ebx, bl
or eax, ebx
inc edi
cmp ecx, edi
jne 0x100dc007
jmp 0x100dc01b
xor eax, eax
neg eax
shr eax, 8
and eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100dc0f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100d14a0
add esp, 0x10
test eax, eax
je 0x100dc137
mov esi, eax
cmp dword [0x101f2f50], 0
je 0x100dc156
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100dc13e
cmp dword [eax + 0x28], 0xffffe005
jne 0x100dc139
pop esi
pop ebp
jmp fcn.100d1af0
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100dc127
call fcn.100029d0
jmp 0x100dc117
Function at 0x100de660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ecx
push eax
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x100de6b9
mov ebx, eax
add eax, eax
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100de6b9
mov edi, eax
push ebx
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x100de6af
push edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100e0a30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x100e0af7
test esi, esi
je 0x100e0b05
cmp eax, 3
mov dword [ebp - 0x10], esi
mov edi, esi
jb 0x100e0abc
mov dword [ebp - 0x14], eax
movzx esi, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, esi
shr esi, 2
mov al, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx esi, byte [ebx + 2]
mov byte [edi], al
shl edx, 0x10
shl ecx, 8
or edx, ecx
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], dl
or ecx, esi
shr ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], cl
and esi, 0x3f
mov cl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], cl
mov eax, dword [ebp - 0x14]
add ebx, 3
add edi, 4
add eax, 0xfffffffd
cmp eax, 2
ja 0x100e0a5c
cmp eax, 1
jne 0x100e0b10
movzx ecx, byte [ebx]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], cl
movzx ecx, byte [ebx]
shl ecx, 4
and ecx, 0x30
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], cl
mov cl, 0x3d
mov byte [edi + 2], cl
mov byte [edi + 3], 0x3d
mov ecx, dword [ebp - 0x10]
mov eax, ecx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
jmp 0x100e0a4a
cmp eax, 0xbffffffd
jbe 0x100e0b4d
xor ecx, ecx
jmp 0x100e0aed
cmp eax, 2
jne 0x100e0aea
movzx ecx, byte [ebx]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], cl
movzx ecx, byte [ebx]
shl ecx, 4
and ecx, 0x30
movzx edx, byte [ebx + 1]
shr edx, 4
mov cl, byte [ecx + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], cl
movzx ecx, byte [ebx + 1]
and ecx, 0xf
mov cl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x100e0ae3
mov edi, eax
add eax, 2
mov ecx, 0xaaaaaaab
mul ecx
mov esi, edx
add esi, edx
and esi, 0xfffffffc
lea eax, [esi + 1]
push eax
call sym.nss3.dll_PR_Malloc
add esp, 4
test eax, eax
mov ecx, 0
je 0x100e0aed
mov byte [eax + esi], 0
mov esi, eax
mov eax, edi
jmp 0x100e0a52
Function at 0x100e21b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100e21f0
mov eax, dword [eax]
test eax, eax
je 0x100e21ff
mov edi, ecx
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e21e0
cmp dword [eax + 0xc], 0xab
je 0x100e220b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e21ca
jmp 0x100e21ff
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
xor esi, esi
test ebx, ebx
je 0x100e2201
mov eax, dword [ebx + 4]
test eax, eax
je 0x100e2201
cmp dword [ebx + 8], 2
jb 0x100e2201
cmp byte [eax], 0
jne 0x100e2234
cmp byte [eax + 1], 0
je 0x100e2201
push 0xc
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x100e2302
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push ebx
push esi
push eax
call fcn.100e6430
add esp, 0x18
test eax, eax
je 0x100e22f7
mov edi, dword [edi + 0x40]
mov eax, dword [esi + 4]
push 0x3a
mov dword [ebp - 0x14], eax
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x100e2201
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edi, eax
sub edi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100e2201
push edi
push dword [ebp - 0x14]
push eax
mov dword [ebp - 0x18], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov byte [eax + edi], 0
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xf9
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100e22e8
inc ebx
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
push ecx
push ebx
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100e2201
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov dword [edi + 0x20], 1
cmp dword [0x101f2f50], 0
je 0x100e2345
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e232d
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
jmp 0x100e21ff
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e2322
call fcn.100029d0
jmp 0x100e2312
Function at 0x100e31e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
xor eax, eax
cmp dword [ecx + 0xc], 0
jne 0x100e3381
mov esi, edx
mov edi, ecx
mov eax, dword [ecx + 0xc4]
test eax, eax
je 0x100e322f
lea ecx, [eax*4 + 8]
lea eax, [eax*4 + 4]
push ecx
push eax
push dword [edi + 0xc8]
push dword [edi]
call sym.nss3.dll_PORT_ArenaGrow_Util
add esp, 0x10
mov dword [edi + 0xc8], eax
test eax, eax
jne 0x100e3250
jmp 0x100e3359
push 8
push dword [edi]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e334f
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [edi + 0xc8], eax
push 0x2c
push dword [edi]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
mov ebx, eax
test eax, eax
je 0x100e3270
xorps xmm0, xmm0
movups xmmword [ebx + 0x1c], xmm0
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
mov eax, dword [edi + 0xc4]
mov ecx, dword [edi + 0xc8]
mov dword [ecx + eax*4], ebx
mov eax, dword [edi + 0xc4]
mov ecx, dword [edi + 0xc8]
cmp dword [ecx + eax*4], 0
je 0x100e32e2
lea edx, [eax + 1]
mov dword [edi + 0xc4], edx
mov dword [ecx + eax*4 + 4], 0
mov dword [ebx], edi
mov eax, dword [edi]
mov dword [ebx + 4], eax
cmp esi, 1
mov eax, 0x101c22b0
mov ecx, 0x101c222c
cmove ecx, eax
mov eax, ebx
add eax, 0xc
push ecx
push eax
push dword [edi]
call fcn.100d85e0
add esp, 0xc
mov dword [ebx + 8], eax
test eax, eax
je 0x100e330f
mov dword [eax + 0x14], 0x100e3610
mov dword [eax + 0x18], ebx
mov eax, ebx
jmp 0x100e3381
cmp dword [0x101f2f50], 0
je 0x100e33db
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e339e
mov eax, dword [eax + 0x28]
mov dword [edi + 0x10], eax
test ebx, ebx
jne 0x100e3336
jmp 0x100e3378
cmp dword [0x101f2f50], 0
je 0x100e33e5
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e33b9
mov eax, dword [eax + 0x28]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x100e3378
push eax
call fcn.100d8590
add esp, 4
mov dword [ebx + 8], 0
jmp 0x100e3378
mov dword [edi + 0xc8], 0
cmp dword [0x101f2f50], 0
je 0x100e33d4
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e3386
mov eax, dword [eax + 0x28]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], 1
xor eax, 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
jmp 0x100e3372
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e3303
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e3330
call fcn.100029d0
jmp 0x100e3362
call fcn.100029d0
jmp 0x100e32ef
call fcn.100029d0
jmp 0x100e331c
Function at 0x100e76f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
call fcn.100e7090
add esp, 4
xor edi, edi
dec edi
cmp eax, 0x1a
jne 0x100e78e1
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100e78e1
cmp dword [eax], 0
je 0x100e78e1
mov dword [ebp - 0x24], eax
call sym.nss3.dll_PR_Now
mov ebx, eax
lea eax, [ebp - 0x1c]
mov esi, edx
push edx
push ebx
push eax
push 0
call fcn.100d14a0
add esp, 0x10
test eax, eax
je 0x100e779c
mov edi, eax
cmp dword [0x101f2f50], 0
je 0x100e7910
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e78f5
cmp dword [eax + 0x28], 0xffffe005
jne 0x100e78e1
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.100d1af0
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x100e78e1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, 0x23
lea esi, [ebp - 0x1c]
push esi
call fcn.100e7920
add esp, 4
mov edi, eax
push 0
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov dword [ebp - 0x20], edi
test edi, edi
je 0x100e78de
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x100e78cb
xor esi, esi
push 0
push 0x23
push dword [eax + 0x28]
call fcn.100eac80
add esp, 0xc
test eax, eax
jne 0x100e78b3
mov edi, dword [ebx]
mov ebx, dword [ebp + 8]
push ebx
call fcn.100e7090
add esp, 4
cmp eax, 0x1a
jne 0x100e78de
mov eax, dword [edi + 0x28]
test eax, eax
mov dword [ebp - 0x2c], edi
je 0x100e7844
xor ebx, ebx
cmp dword [eax + ebx], 0
lea ebx, [ebx + 4]
jne 0x100e7813
lea ecx, [ebx + 4]
push ecx
push ebx
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call sym.nss3.dll_PORT_ArenaGrow_Util
add esp, 0x10
test eax, eax
je 0x100e78de
mov edi, eax
add eax, ebx
mov ecx, dword [ebp - 0x20]
mov dword [edi + ebx - 4], ecx
jmp 0x100e78a7
push 0x10
push dword [ebx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e78de
mov edi, eax
push dword [ebx]
call sym.nss3.dll_PORT_ArenaMark_Util
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x24]
add eax, 0x28
mov edx, 0x21
push eax
call fcn.100e7920
add esp, 4
mov dword [edi], eax
mov ecx, dword [ebx]
mov edx, 0x22
push 0
call fcn.100e7920
add esp, 4
mov dword [edi + 4], eax
cmp dword [edi], 0
je 0x100e78cf
test eax, eax
je 0x100e78cf
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, edi
add eax, 0xc
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x28], edi
mov eax, dword [ebp - 0x24]
lea ebx, [eax + esi*4]
add ebx, 4
inc esi
mov eax, dword [ebx]
xor edi, edi
test eax, eax
jne 0x100e77d9
jmp 0x100e78e1
xor edi, edi
jmp 0x100e78e1
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x28]
push 0
call fcn.100dbe30
add esp, 4
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
add esp, 0x20
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 0x100e7775
call fcn.100029d0
jmp 0x100e7761
Function at 0x100e8380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e8417
cmp dword [esi + 4], 0
je 0x100e83e0
mov eax, dword [esi]
test eax, eax
je 0x100e83e0
cmp dword [esi + 0x34], 0
jne 0x100e83e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.100d6890
add esp, 0xc
test eax, eax
je 0x100e83e0
cmp dword [0x101f2f50], 0
je 0x100e8449
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e8431
mov eax, dword [eax + 0x28]
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ecx, eax
mov dword [esi + 0x34], ecx
cmp dword [esi + 0x34], 0
je 0x100e842c
mov eax, dword [esi]
test eax, eax
je 0x100e83fb
push eax
call fcn.100d8590
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100e8412
push eax
call sym.nss3.dll_SEC_PKCS7DestroyContentInfo
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 0x34]
jmp 0x100e841c
mov eax, 0xffffe005
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100e842e
xor eax, eax
pop esi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e83d1
call fcn.100029d0
jmp 0x100e83c1