joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dcf50
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 0x100dd01b
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1c], 0xb8ac9bdf
jne 0x100dcfda
mov edi, 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 0x100dd06b
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 0x100dd00c
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x100dd007
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.nss3.dll_PL_ArenaAllocate
mov esi, eax
jmp 0x100dd00c
mov eax, dword [edi + 0x18]
lea ecx, [eax + ebx]
not eax
and eax, ecx
cmp eax, ebx
jb 0x100dd01b
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
sub edx, esi
cmp eax, edx
jbe 0x100dd052
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.nss3.dll_PL_ArenaAllocate
mov esi, eax
jmp 0x100dd017
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 0x100dd048
cmp dword [0x101f4f80], 0
je 0x100dd082
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x100dd059
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 0x100dd017
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x100dd039
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100dcf96
call fcn.1001b2e0
jmp 0x100dd024
Function at 0x100dd090
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 0x100dd13a
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [ebx + 0x1c], 0xb8ac9bdf
jne 0x100dd0d4
mov edi, dword [ebx + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100dd13f
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 0x100dd0e3
push 0
push ebx
call sym.nss3.dll_PL_ClearArenaPool
add esp, 8
push 0x100dd160
push 0x101f59fc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f5a08], 0
je 0x100dd106
push ebx
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x100dd10c
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 0x100dd13a
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 [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100dd0c4
Function at 0x100dd1d0
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 0x100dd26d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 0xb8ac9bdf
jne 0x100dd29b
mov edi, dword [edx + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100dd31f
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 0x100dd2e9
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 0x100dd256
mov ecx, dword [edx + 8]
sub ecx, esi
cmp eax, ecx
jbe 0x100dd2df
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 0x100dd2e9
cmp dword [0x101f4f80], 0
je 0x100dd33c
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100dd304
mov dword [eax + 0x28], 0xffffe013
xor esi, esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
jmp 0x100dd2f4
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 0x100dd2f4
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 0x100dd2cd
mov ecx, dword [edx + 8]
sub ecx, esi
cmp eax, ecx
jbe 0x100dd2fb
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call sym.nss3.dll_PL_ArenaGrow
add esp, 0x10
jmp 0x100dd2f6
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 0x100dd2f4
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100dd28a
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x100dd20a
call fcn.1001b2e0
jmp 0x100dd27a
Function at 0x100dd350
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 0x100dd3a4
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 0x100dd3b4
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 0x100dd3aa
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 [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov esi, eax
jmp 0x100dd37f
Function at 0x100dd3f0
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 0x100dd45d
mov esi, dword [ecx + 0x20]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100dd56d
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
cmp dword [ebp + 8], 0
je 0x100dd498
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
cmp dword [eax + 4], edi
ja 0x100dd443
mov eax, dword [eax + 0xc]
sub eax, edi
jae 0x100dd48c
mov ebx, dword [ecx]
test ebx, ebx
je 0x100dd498
cmp dword [ebx + 4], edi
ja 0x100dd459
mov eax, dword [ebx + 0xc]
sub eax, edi
jae 0x100dd515
mov ebx, dword [ebx]
jmp 0x100dd445
cmp dword [ebp + 8], 0
je 0x100dd4df
mov eax, dword [ecx + 0x10]
cmp dword [eax + 4], edi
ja 0x100dd472
mov eax, dword [eax + 0xc]
sub eax, edi
jae 0x100dd4d3
mov ebx, dword [ecx]
test ebx, ebx
je 0x100dd4df
cmp dword [ebx + 4], edi
ja 0x100dd488
mov eax, dword [ebx + 0xc]
sub eax, edi
jae 0x100dd543
mov ebx, dword [ebx]
jmp 0x100dd474
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 0x100dd4ba
push edi
push ebx
call sym.nss3.dll_PL_ArenaRelease
add esp, 8
jmp 0x100dd4c6
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 0x100dd510
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 0x100dd501
push edi
push ebx
call sym.nss3.dll_PL_ArenaRelease
add esp, 0xc
jmp 0x100dd510
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 0x100dd498
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 0x100dd523
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [ebx]
test esi, esi
je 0x100dd4df
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 0x100dd551
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov ebx, eax
jmp 0x100dd41e
Function at 0x100dd5b0
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 0x100dd5d9
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 0x100dd5c7
jmp 0x100dd5db
xor eax, eax
neg eax
shr eax, 8
and eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100dd6b0
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.100d2a60
add esp, 0x10
test eax, eax
je 0x100dd6f7
mov esi, eax
cmp dword [0x101f4f80], 0
je 0x100dd716
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100dd6fe
cmp dword [eax + 0x28], 0xffffe005
jne 0x100dd6f9
pop esi
pop ebp
jmp fcn.100d30b0
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100dd6e7
call fcn.1001b2e0
jmp 0x100dd6d7
Function at 0x100dfc20
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 0x100dfc79
mov ebx, eax
add eax, eax
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100dfc79
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 0x100dfc6f
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 0x100e1ff0
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 0x100e20b7
test esi, esi
je 0x100e20c5
cmp eax, 3
mov dword [ebp - 0x10], esi
mov edi, esi
jb 0x100e207c
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 0x100e201c
cmp eax, 1
jne 0x100e20d0
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 0x100e200a
cmp eax, 0xbffffffd
jbe 0x100e210d
xor ecx, ecx
jmp 0x100e20ad
cmp eax, 2
jne 0x100e20aa
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 0x100e20a3
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 0x100e20ad
mov byte [eax + esi], 0
mov esi, eax
mov eax, edi
jmp 0x100e2012
Function at 0x100e3770
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 0x100e37b0
mov eax, dword [eax]
test eax, eax
je 0x100e37bf
mov edi, ecx
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e37a0
cmp dword [eax + 0xc], 0xab
je 0x100e37cb
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e378a
jmp 0x100e37bf
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 0x100e37c1
mov eax, dword [ebx + 4]
test eax, eax
je 0x100e37c1
cmp dword [ebx + 8], 2
jb 0x100e37c1
cmp byte [eax], 0
jne 0x100e37f4
cmp byte [eax + 1], 0
je 0x100e37c1
push 0xc
call sym.nss3.dll_PORT_ZAlloc_Util
add esp, 4
test eax, eax
je 0x100e38c2
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push ebx
push esi
push eax
call fcn.100e79f0
add esp, 0x18
test eax, eax
je 0x100e38b7
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 0x100e37c1
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 0x100e37c1
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 0x100e38a8
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 0x100e37c1
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov dword [edi + 0x20], 1
cmp dword [0x101f4f80], 0
je 0x100e3905
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e38ed
mov eax, dword [eax + 0x28]
mov dword [edi + 0x38], eax
jmp 0x100e37bf
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e38e2
call fcn.1001b2e0
jmp 0x100e38d2
Function at 0x100e47a0
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 0x100e4941
mov esi, edx
mov edi, ecx
mov eax, dword [ecx + 0xc4]
test eax, eax
je 0x100e47ef
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 0x100e4810
jmp 0x100e4919
push 8
push dword [edi]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e490f
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 0x100e4830
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 0x100e48a2
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, 0x101c4490
mov ecx, 0x101c440c
cmove ecx, eax
mov eax, ebx
add eax, 0xc
push ecx
push eax
push dword [edi]
call fcn.100d9ba0
add esp, 0xc
mov dword [ebx + 8], eax
test eax, eax
je 0x100e48cf
mov dword [eax + 0x14], 0x100e4bd0
mov dword [eax + 0x18], ebx
mov eax, ebx
jmp 0x100e4941
cmp dword [0x101f4f80], 0
je 0x100e499b
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e495e
mov eax, dword [eax + 0x28]
mov dword [edi + 0x10], eax
test ebx, ebx
jne 0x100e48f6
jmp 0x100e4938
cmp dword [0x101f4f80], 0
je 0x100e49a5
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e4979
mov eax, dword [eax + 0x28]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x100e4938
push eax
call fcn.100d9b50
add esp, 4
mov dword [ebx + 8], 0
jmp 0x100e4938
mov dword [edi + 0xc8], 0
cmp dword [0x101f4f80], 0
je 0x100e4994
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e4946
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 [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e4932
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e48c3
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e48f0
call fcn.1001b2e0
jmp 0x100e4922
call fcn.1001b2e0
jmp 0x100e48af
call fcn.1001b2e0
jmp 0x100e48dc
Function at 0x100e8cb0
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 [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
call fcn.100e8650
add esp, 4
xor edi, edi
dec edi
cmp eax, 0x1a
jne 0x100e8ea1
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100e8ea1
cmp dword [eax], 0
je 0x100e8ea1
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.100d2a60
add esp, 0x10
test eax, eax
je 0x100e8d5c
mov edi, eax
cmp dword [0x101f4f80], 0
je 0x100e8ed0
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e8eb5
cmp dword [eax + 0x28], 0xffffe005
jne 0x100e8ea1
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.100d30b0
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x100e8ea1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, 0x23
lea esi, [ebp - 0x1c]
push esi
call fcn.100e8ee0
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 0x100e8e9e
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x100e8e8b
xor esi, esi
push 0
push 0x23
push dword [eax + 0x28]
call fcn.100ec240
add esp, 0xc
test eax, eax
jne 0x100e8e73
mov edi, dword [ebx]
mov ebx, dword [ebp + 8]
push ebx
call fcn.100e8650
add esp, 4
cmp eax, 0x1a
jne 0x100e8e9e
mov eax, dword [edi + 0x28]
test eax, eax
mov dword [ebp - 0x2c], edi
je 0x100e8e04
xor ebx, ebx
cmp dword [eax + ebx], 0
lea ebx, [ebx + 4]
jne 0x100e8dd3
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 0x100e8e9e
mov edi, eax
add eax, ebx
mov ecx, dword [ebp - 0x20]
mov dword [edi + ebx - 4], ecx
jmp 0x100e8e67
push 0x10
push dword [ebx]
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x100e8e9e
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.100e8ee0
add esp, 4
mov dword [edi], eax
mov ecx, dword [ebx]
mov edx, 0x22
push 0
call fcn.100e8ee0
add esp, 4
mov dword [edi + 4], eax
cmp dword [edi], 0
je 0x100e8e8f
test eax, eax
je 0x100e8e8f
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 0x100e8d99
jmp 0x100e8ea1
xor edi, edi
jmp 0x100e8ea1
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x28]
push 0
call fcn.100dd3f0
add esp, 4
xor edi, edi
dec edi
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
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e8d35
call fcn.1001b2e0
jmp 0x100e8d21
Function at 0x100e9940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e99d7
cmp dword [esi + 4], 0
je 0x100e99a0
mov eax, dword [esi]
test eax, eax
je 0x100e99a0
cmp dword [esi + 0x34], 0
jne 0x100e99a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.100d7e50
add esp, 0xc
test eax, eax
je 0x100e99a0
cmp dword [0x101f4f80], 0
je 0x100e9a09
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e99f1
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 0x100e99ec
mov eax, dword [esi]
test eax, eax
je 0x100e99bb
push eax
call fcn.100d9b50
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100e99d2
push eax
call sym.nss3.dll_SEC_PKCS7DestroyContentInfo
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 0x34]
jmp 0x100e99dc
mov eax, 0xffffe005
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x100e99ee
xor eax, eax
pop esi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e9991
call fcn.1001b2e0
jmp 0x100e9981