joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180051dd0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180051bc0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051ea7
mov dword [rsp + 0x20], 0
jmp 0x180051e44
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051ea7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051ea5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800519a0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051e3a
add rsp, 0x30
pop rdi
ret

Function at 0x180051ec0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051f64
mov dword [rsp + 0x20], 0
jmp 0x180051efd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051f4d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051f4b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051ef3
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18006c808]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180051f70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18006ed80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180051ff4
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005201d
mov eax, 0xa
jmp 0x180052157
cmp dword [rsp + 0x88], 0
je 0x18005208b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180052089
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x1800520d7
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800520bb
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800520d7
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180059e70]
call fcn.1800555a8
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180053640
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800536ae
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800536ae
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800536ae
xor eax, eax
jmp 0x1800536f5
mov dword [rsp], 1
jmp 0x1800536bf
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800536f0
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800536ee
xor eax, eax
jmp 0x1800536f5
jmp 0x1800536b7
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x140001330
Capabilities:
Create process on windows
Delete file
Get common file path
Get startup folder
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2f20
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x2f10], rax
movups xmm0, xmmword [str.CMD__C_DEL__F__S__Q__]
movups xmm1, xmmword [0x14005fa50]
mov eax, dword [0x14005fa68]
lea rcx, [rsp + 0x5c]
xor edx, edx
mov r8d, 0xf74
mov dword [rsp + 0x58], eax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x14005fa60]
movsd qword [rsp + 0x50], xmm0
call fcn.14000cb60
lea rcx, [rsp + 0x1f72]
xor ebx, ebx
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0x1f70], bx
call fcn.14000cb60
lea rcx, [rsp + 0xfd2]
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0xfd0], bx
call fcn.14000cb60
lea r8d, [rbx + 7]
lea rdx, [rsp + 0x1f70]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x1f70]
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140001410
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rax, qword [str..__]
lea r9, [rsp + 0x30]
mov qword [rdi - 2], rax
mov eax, dword [0x14005fa38]
lea r8, [0x14005fa28]
mov dword [rdi + 6], eax
movzx eax, word [0x14005fa3c]
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov word [rdi + 0xa], ax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor r9d, r9d
lea rdx, [rsp + 0xfd0]
lea r8d, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfd0]
mov edx, 0x80
repne scasw ax, word [rdi]
mov rax, qword [str.CSIDL_]
lea rcx, [rsp + 0xfd0]
mov qword [rdi - 2], rax
mov rax, qword [0x14005fa10]
mov qword [rdi + 6], rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfd0]
mov edx, 0x80
repne scasw ax, word [rdi]
mov eax, dword [0x14005fa00]
lea rcx, [rsp + 0xfd0]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x2f10]
xor rcx, rsp
call fcn.14000cad0
mov rbx, qword [rsp + 0x2f30]
add rsp, 0x2f20
pop rdi
ret
Function at 0x140001530
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1f80
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x1f70], rax
movups xmm0, xmmword [str.CMD__C_DEL__F__S__Q__]
movups xmm1, xmmword [0x14005fa50]
mov eax, dword [0x14005fa68]
lea rcx, [rsp + 0x5c]
xor edx, edx
mov r8d, 0xf74
mov dword [rsp + 0x58], eax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x14005fa60]
movsd qword [rsp + 0x50], xmm0
call fcn.14000cb60
lea rcx, [rsp + 0xfd2]
xor ebx, ebx
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0xfd0], bx
call fcn.14000cb60
lea r8d, [rbx + 0x18]
lea rdx, [rsp + 0xfd0]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea r8, [rsp + 0xfd0]
repne scasw ax, word [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x1400015f0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rax, qword [str..__]
lea r9, [rsp + 0x30]
mov qword [rdi - 2], rax
mov eax, dword [0x14005fa38]
lea r8, [0x14005fa28]
mov dword [rdi + 6], eax
movzx eax, word [0x14005fa3c]
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov word [rdi + 0xa], ax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x1f70]
xor rcx, rsp
call fcn.14000cad0
mov rbx, qword [rsp + 0x1f90]
add rsp, 0x1f80
pop rdi
ret
Function at 0x140001680
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rdi
sub rsp, 0x490
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rax, [rsp + 0x50]
xor edi, edi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400017f9
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], di
call fcn.14000cb60
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], di
call fcn.14000cb60
lea rdx, [rsp + 0x270]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, str.cmd__c__
nop dword [rax]
movzx eax, word [rdi + rcx]
add rdi, 2
mov word [rsp + rdi + 0x5e], ax
test ax, ax
jne 0x140001740
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x270]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140001770
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
mov rax, qword [str.____zxcv]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x14005faa0]
lea rdx, str.SearchFilterHost
mov qword [rdi + 6], rax
movzx eax, word [0x14005faa8]
mov r9d, 1
mov word [rdi + 0xe], ax
xor eax, eax
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x490
pop rdi
ret
Function at 0x140001820
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, word [0x14005fb58]
movups xmm0, xmmword [str.Chrome_29.0.1547.7]
mov r8d, ecx
mov word [rsp + 0x40], ax
movzx eax, byte [0x14005fb5a]
or rcx, 0xffffffffffffffff
movaps xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x42], al
xor eax, eax
lea rdi, [r11 - 0x68]
mov qword [r11 - 0x55], rax
mov qword [r11 - 0x4d], rax
mov qword [r11 - 0x45], rax
mov qword [r11 - 0x3d], rax
mov qword [r11 - 0x35], rax
mov qword [r11 - 0x2d], rax
mov qword [r11 - 0x25], rax
mov dword [rsp + 0x7b], eax
mov byte [rsp + 0x7f], al
repne scasb al, byte [rdi]
mov rax, qword [str.2_Safari_537.36]
xor edx, edx
mov qword [rdi - 1], rax
mov rax, qword [0x14005fb40]
lea ecx, [rdx + 0x11]
mov qword [rdi + 7], rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x1400019da
xor ecx, ecx
mov edx, 0x300000
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, 0x2800
mov edx, 0x400000
mov rcx, rbp
mov r8, rax
mov qword [rsp + 0x20], 0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400019c0
movsxd rcx, dword [rsi + 0x3c]
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x1400019da
cmp dword [rcx + rsi], 0x4550
jne 0x1400019da
mov ebx, dword [rcx + rsi + 0x50]
mov eax, 0x2ffc00
mov r8, rsi
cmp ebx, 0x300000
mov edx, 0x400000
mov rcx, rbp
cmovae ebx, eax
mov qword [rsp + 0x20], 0
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400019c0
xor r10d, r10d
test ebx, ebx
je 0x1400019c0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x30]
mov r9, rsi
not rcx
sub r9, rax
lea r8, [rcx - 1]
xor edx, edx
test r8, r8
je 0x1400019b5
lea rdi, [rsp + 0x30]
movzx ecx, byte [r9 + rdi]
movsx eax, byte [rdi]
cmp ecx, eax
jne 0x1400019b5
lea rcx, [r8 - 2]
mov eax, edx
cmp rax, rcx
je 0x140001a05
inc edx
inc rdi
mov eax, edx
cmp rax, r8
jb 0x140001992
inc r10d
inc r9
cmp r10d, ebx
jb 0x140001986
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000cad0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x140074850], 1
mov eax, 1
jmp 0x1400019dc
Function at 0x140001ac0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push r12
push r13
mov eax, 0x1258
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov r12, rcx
lea rcx, [rsp + 0x34]
xor r13d, r13d
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], r13d
call fcn.14000cb60
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], r13d
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140001c7f
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140001c7f
mov qword [rsp + 0x1270], rbx
mov qword [rsp + 0x1278], rbp
mov qword [rsp + 0x1280], rsi
mov qword [rsp + 0x1288], rdi
mov qword [rsp + 0x1250], r14
lea rbx, [rsp + 0x30]
lea r14d, [r13 + 1]
mov ebp, eax
nop word [rax + rax]
lea rcx, [rsp + 0x1032]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1030], r13w
call fcn.14000cb60
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001c4a
lea r8, [rsp + 0x1030]
mov r9d, 0x104
xor edx, edx
mov rcx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov edi, r13d
mov rcx, rsi
test eax, eax
cmovne edi, r14d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140001c4a
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jbe 0x140001c4a
lea rdi, [rsp + 0x1030]
mov rax, r12
sub rdi, r12
nop
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x140001c13
add rax, 2
test ecx, ecx
jne 0x140001c00
test edx, edx
jne 0x140001c4a
mov r8d, dword [rbx]
lea ecx, [rdx + 0x11]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001c4a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
dec rbp
jne 0x140001b70
mov r14, qword [rsp + 0x1250]
mov rdi, qword [rsp + 0x1288]
mov rsi, qword [rsp + 0x1280]
mov rbp, qword [rsp + 0x1278]
mov rbx, qword [rsp + 0x1270]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x1258
pop r13
pop r12
ret
Function at 0x140002800
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push r13
mov eax, 0x1260
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea rcx, [rsp + 0x34]
xor r13d, r13d
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], r13d
call fcn.14000cb60
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], r13d
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140002a17
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140002a17
mov qword [rsp + 0x1270], rbx
mov qword [rsp + 0x1278], rbp
mov qword [rsp + 0x1280], rsi
mov qword [rsp + 0x1288], rdi
mov qword [rsp + 0x1258], r12
mov qword [rsp + 0x1250], r14
lea r14d, [r13 + 1]
lea rsi, [rsp + 0x30]
mov ebp, eax
lea r12, [0x140074d90]
nop dword [rax]
lea rcx, [rsp + 0x1032]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1030], r13w
call fcn.14000cb60
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400029da
lea r8, [rsp + 0x1030]
mov r9d, 0x104
xor edx, edx
mov rcx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov edi, r13d
mov rcx, rbx
test eax, eax
cmovne edi, r14d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400029da
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1030]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 4
jb 0x1400029da
cmp dword [0x140074c78], eax
mov ebx, r13d
jle 0x1400029da
nop dword [rax]
or rcx, 0xffffffffffffffff
xor eax, eax
movsxd rdx, ebx
imul rdx, rdx, 0x208
add rdx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 4
jbe 0x1400029cc
lea rdi, [rsp + 0x1030]
sub rdi, rdx
movzx ecx, word [rdx]
movzx eax, word [rdx + rdi]
sub ecx, eax
jne 0x140002993
add rdx, 2
test eax, eax
jne 0x140002980
test ecx, ecx
jne 0x1400029cc
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400029cc
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [0x140074c78]
jl 0x140002950
add rsi, 4
dec rbp
jne 0x1400028b0
mov r14, qword [rsp + 0x1250]
mov r12, qword [rsp + 0x1258]
mov rdi, qword [rsp + 0x1288]
mov rsi, qword [rsp + 0x1280]
mov rbp, qword [rsp + 0x1278]
mov rbx, qword [rsp + 0x1270]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x1260
pop r13
ret
Function at 0x140002bc0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push r12
mov eax, 0x1260
call fcn.14000cb00
sub rsp, rax
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea rcx, [rsp + 0x34]
xor r12d, r12d
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], r12d
call fcn.14000cb60
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], r12d
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140002d3f
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140002d3f
mov qword [rsp + 0x1278], rbp
mov qword [rsp + 0x1280], rsi
mov qword [rsp + 0x1258], rdi
mov qword [rsp + 0x1250], r13
lea rdi, [rsp + 0x30]
mov esi, eax
lea r13d, [r12 + 1]
mov qword [rsp + 0x1270], rbx
nop
lea rcx, [rsp + 0x1032]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1030], r12w
call fcn.14000cb60
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140002d0a
lea r8, [rsp + 0x1030]
mov r9d, 0x104
xor edx, edx
mov rcx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov ebx, r12d
mov rcx, rbp
test eax, eax
cmovne ebx, r13d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140002d0a
lea rcx, [rsp + 0x1030]
call fcn.1400020e0
test eax, eax
je 0x140002d0a
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002d0a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
dec rsi
jne 0x140002c60
mov r13, qword [rsp + 0x1250]
mov rdi, qword [rsp + 0x1258]
mov rsi, qword [rsp + 0x1280]
mov rbp, qword [rsp + 0x1278]
mov rbx, qword [rsp + 0x1270]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x1260
pop r12
ret
Function at 0x140003070
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003103
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400030fd
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x10]
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140003117
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x68
ret
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x68
ret

Function at 0x140003210
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14000329b
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000cad0
add rsp, 0x80
pop rbx
ret