joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ed08
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, r8
mov r15, rdx
and qword [rsp + 0x28], 0
mov ecx, ecx
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000eddd
mov ebx, 0xc0000001
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
test rax, rax
je 0x14000edc1
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov rsi, qword [rcx]
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x14000edb4
lea rbx, [rdi - 0x10]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14000edaf
cmp qword [rbx + 0x30], 0
je 0x14000edaf
mov rdx, qword [rbx + 0x60]
mov rcx, r15
call sub.ntoskrnl.exe__wcsicmp
test eax, eax
je 0x14000edb4
mov rdi, qword [rdi]
jmp 0x14000ed85
mov rax, qword [rbx + 0x30]
mov qword [r14], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x14000edc7
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000ee98
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, r9
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
and qword [rsp + 0x38], 0
mov ecx, ecx
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x14000f050
mov edi, 0xc0000001
rdtsc
shl rdx, 0x20
or rax, rdx
mov dword [0x140078638], eax
xor edx, edx
mov eax, 0x7fffffff
div dword [0x140076e94]
mov ebx, eax
lea rcx, [0x140078638]
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
xor edx, edx
div ebx
mov r8d, eax
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000ef47
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140015340
test rsi, rsi
je 0x14000f045
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f02c
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r15, rax
test rax, rax
je 0x14000eff0
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProtectMdlSystemAddress]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14000efe4
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140015080
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
jmp 0x14000f018
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov r8, r14
mov rdx, rsi
mov rcx, r12
call fcn.140015080
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000f074
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
and qword [rsp + 0x38], 0
mov ecx, ecx
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x14000f195
mov edi, 0xc0000001
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f18a
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rsi, rax
test rax, rax
je 0x14000f15d
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProtectMdlSystemAddress]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14000f151
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140015080
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
jmp 0x14000f176
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f1d8
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
cmovns rbx, qword [rsp + 0x38]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14000f648
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov edi, edx
lea rdx, [rsp + 0x40]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000f688
mov rcx, qword [0x1400774c8]
mov r8, qword [rsp + 0x40]
mov dword [rcx + r8], edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f7bc
Capabilities:
Find process by pid
Terminate thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov ecx, ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000f8a8
mov ebx, 4
movabs rsi, 0xfffff80004093e90
mov dword [rsp + 0x40], ebx
cmp ebx, 0x40000
jae 0x14000f8a8
mov ecx, ebx
call fcn.14000f204
mov rdi, rax
test rax, rax
je 0x14000f8a0
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_IoThreadToProcess]
cmp rax, qword [rsp + 0x48]
jne 0x14000f8a0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_PsGetThreadId]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupThreadByThreadId]
test eax, eax
js 0x14000f8a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [0x140077520]
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x14000f8a0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000f8a0
mov qword [rdi + 0x168], rsi
mov qword [rdi + 0x160], rsi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsTerminateSystemThread]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000f8a0
add ebx, 4
jmp 0x14000f7f4
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f8b0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
xor sil, sil
mov byte [rsp + 0x20], sil
mov r14d, 1
mov ebx, r14d
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000f99c
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000f99c
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, qword [sym.imp.ntoskrnl.exe_PsInitialSystemProcess]
cmp rax, qword [rcx]
jne 0x14000f939
or rdi, 0xffffffff80000000
xor ebx, ebx
mov dword [rsp + 0x38], ebx
and word [rsp + 0x24], 0
mov r8b, bl
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ObSetHandleAttributes]
mov ebx, eax
mov dword [rsp + 0x28], eax
test eax, eax
js 0x14000f969
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov ebx, eax
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000f985
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
movzx eax, sil
test ebx, ebx
cmovns eax, r14d
jmp 0x14000f99e
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140014fb0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14000fc20
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
and qword [rbp + 0x18], 0
lea rdx, [rbp + 0x18]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000fd1b
and qword [rbp + 0x20], 0
lea rdx, [rbp + 0x20]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x14000fc76
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc000010a
jmp 0x14000fd1d
mov rax, qword [0x140077510]
lea rcx, [rbp + 0x18]
lea rcx, [rcx + rax*8]
call qword [sym.imp.ntoskrnl.exe_ExAcquireRundownProtection]
test al, al
je 0x14000fc62
mov rdx, qword [0x1400774d0]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rdx + rax]
mov rax, qword [rbp + 0x18]
mov qword [rdx + rax], rcx
mov edx, 3
mov rcx, qword [rbp + 0x18]
mov rax, qword [0x1400774c0]
mov qword [rax + rcx], rdx
mov rcx, qword [rbp + 0x18]
mov rax, qword [0x1400774c8]
mov qword [rax + rcx], rdx
mov rdx, qword [0x1400774f8]
add rdx, qword [rbp + 0x18]
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov qword [rax], rcx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov qword [rdx + 8], rdx
mov qword [rdx], rdx
mov rdx, qword [0x140077508]
add rdx, qword [rbp + 0x18]
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov qword [rax], rcx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov qword [rdx + 8], rdx
mov qword [rdx], rdx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
Function at 0x1400115a0
Capabilities:
Delete file
Get file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rbp + 0x30], rax
and qword [rsp + 0x70], 0
lea r8, [rsp + 0x68]
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], 0x30
mov edx, 2
mov dword [rbp - 0x80], 0x240
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenDirectoryObject]
test eax, eax
js 0x1400116ac
jmp 0x140011649
test byte [rbp + 0x18], 0x10
lea rdx, [rbp + 0x20]
jne 0x140011632
lea rcx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movaps xmm0, xmmword [rbp - 0x60]
lea r9, [rbp - 0x50]
xor edx, edx
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [0x140015de0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140011649
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x40]
call fcn.1400115a0
test eax, eax
js 0x140011696
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x20]
mov byte [rsp + 0x50], 1
xor r9d, r9d
and qword [rsp + 0x48], 0
xor r8d, r8d
mov byte [rsp + 0x40], 0
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x48
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryDirectoryFile]
test eax, eax
jns 0x1400115fd
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0x140
pop rbp
ret

Function at 0x1400116f8
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
test rbx, rbx
jne 0x14001170d
mov eax, 0xc0000001
jmp 0x140011777
mov rcx, qword [0x1400773f8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
mov rcx, rbx
test al, al
je 0x14001176d
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov edx, 0x10000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
js 0x140011775
mov rax, qword [0x1400773f8]
mov rcx, qword [rsp + 0x40]
call qword [0x1400176c8]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140011775
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov ebx, eax
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140011780
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, rcx
mov ebx, 0x208
mov r8d, ebx
lea rcx, [rbp + 0x170]
xor edx, edx
call fcn.140015340
mov r8d, ebx
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140015340
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0x170]
sub rcx, rdx
xor esi, esi
movzx eax, word [rdx]
mov word [rcx + rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400117e7
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x60]
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140011803
mov rcx, qword [0x140077408]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011839
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.1400109a4
mov ebx, eax
jmp 0x14001189e
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
lea r8, [rsp + 0x28]
mov qword [rsp + 0x30], rsi
mov edx, 0x10000
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov ebx, eax
test eax, eax
js 0x14001189e
mov rcx, qword [rsp + 0x20]
lea rdx, [rdi + 0x10]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140014fb0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400118c8
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x38
mov r9d, dword [rcx + 0x10]
mov r10, rdx
mov edx, dword [rcx + 8]
mov r8d, dword [rcx + 0xc]
mov rcx, qword [rcx]
mov rax, qword [r10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r10 + 8]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
add rsp, 0x38
ret

Function at 0x1400118fc
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov r9d, dword [rcx + 0x10]
mov r10, rdx
mov edx, dword [rcx + 8]
mov r8d, dword [rcx + 0xc]
mov rcx, qword [rcx]
mov rax, qword [r10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r10 + 8]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
add rsp, 0x38
ret

Function at 0x140011930
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r8, qword [rcx + 0x18]
mov eax, dword [rcx + 0x20]
mov rdx, qword [rcx + 8]
mov r9d, dword [rcx + 0x10]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
add rsp, 0x38
ret
Function at 0x140013198
Capabilities:
Attach user process memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
mov esi, r8d
xor r15b, r15b
mov rbp, r9
mov r12, rdx
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
test r8d, r8d
je 0x14001327c
test r9, r9
je 0x14001327c
test rcx, rcx
je 0x14001327c
mov r8d, 0x687a77
mov edx, esi
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x14001327c
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140015340
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
cmp rbx, rax
je 0x140013236
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r15b, 1
mov r8d, esi
mov rdx, rdi
mov rcx, r12
call fcn.140012fc0
mov ebx, eax
test r15b, r15b
je 0x140013256
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
js 0x14001326a
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.140012e30
mov ebx, eax
mov edx, 0x687a77
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
jmp 0x140013281
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400134c0
Capabilities:
Register network filter via wfp api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
and qword [rsp + 0x30], 0
mov rdi, rdx
xor edx, edx
mov r14, r8
mov rbx, rcx
mov rsi, r9
lea rcx, [rbp + 0x70]
lea r8d, [rdx + 0x48]
call fcn.140015340
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0xc8
call fcn.140015340
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x58]
call fcn.140015340
xor r8d, r8d
mov dword [rbp + 0x90], 1
lea rax, [rsp + 0x30]
xor ecx, ecx
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0xa]
call sub.fwpkclnt.sys_FwpmEngineOpen0
test eax, eax
js 0x140013611
mov rcx, qword [rsp + 0x30]
xor edx, edx
call sub.fwpkclnt.sys_FwpmTransactionBegin0
test eax, eax
js 0x140013611
movups xmm0, xmmword [rbx]
mov rcx, qword [rsp + 0x30]
lea r15, [0x140016520]
movups xmm1, xmmword [rdi]
lea r12, [0x140016540]
mov qword [rbp + 0x20], r15
xor r9d, r9d
mov qword [rbp + 0x28], r12
xor r8d, r8d
lea rdx, [rbp + 0x10]
movdqu xmmword [rbp + 0x50], xmm0
movdqu xmmword [rbp + 0x10], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x140013611
movups xmm0, xmmword [rdi]
mov rcx, qword [rsp + 0x30]
mov r9, r14
movups xmm1, xmmword [0x140017978]
and dword [rbp - 0x60], 0
lea rdx, [rsp + 0x40]
movdqu xmmword [rbp - 0x3c], xmm0
xor r8d, r8d
mov dword [rbp - 0x40], 0x5003
movups xmm0, xmmword [rbx]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
movdqu xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
call sub.fwpkclnt.sys_FwpmFilterAdd0
test eax, eax
js 0x140013611
mov rcx, qword [rsp + 0x30]
call sub.fwpkclnt.sys_FwpmTransactionCommit0
mov ecx, eax
test eax, eax
js 0x140013611
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov eax, ecx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140014fb0
add rsp, 0x1d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140013634
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x1400774f0], 0
jne 0x14001364b
mov eax, 0xc0000141
jmp 0x1400136a8
mov ecx, ecx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
mov dword [rsp + 0x38], eax
test eax, eax
js 0x1400136a6
cmp dword [0x14007a9c0], 0
je 0x140013682
mov rdx, qword [0x1400774f0]
mov ecx, edx
bts ecx, 0xb
mov rax, qword [rsp + 0x40]
mov dword [rdx + rax], ecx
jmp 0x140013695
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x1400774f0]
mov dword [rax + rcx], 0x40000051
jmp 0x14001369b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140013b90
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
movsxd rcx, ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
cmp qword [rsp + 0x48], 0
je 0x140013c56
mov edx, 8
xor ecx, ecx
mov r8d, 0x31313131
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140013be7
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140013c56
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov ebx, 0x10000
mov dword [rsp + 0x20], ebx
cmp ebx, 0x20000000
jge 0x140013c29
movsxd rcx, ebx
xor edx, edx
mov r8d, 0x1000
call fcn.140015340
jmp 0x140013c21
add ebx, 0x1000
jmp 0x140013bfa
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140013c56
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140013d6c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
cmp qword [0x140077610], rcx
mov rdi, rcx
mov ebx, 0xc0000001
jne 0x140013d8f
lea eax, [rbx + 0x21]
jmp 0x140013e8b
call fcn.14000e21c
test al, al
je 0x140013e89
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140013e89
lea rcx, [rdi + 0x14f]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140013e89
and qword [rsp + 0x50], 0
movabs rax, 0x7fffffff0000
mov rcx, qword [rdi + 0x68]
cmp rcx, rax
jb 0x140013dec
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
lea rax, [0x14000c7b0]
jne 0x140013df3
lea rax, [0x140010aa0]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, eax
test eax, eax
js 0x140013e89
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
and qword [rsp + 0x58], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
js 0x140013e7e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov r9b, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], 0xfffffffffe363c80
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140014384
Capabilities:
Delete network filter via wfp api

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14007a9b0]
test rcx, rcx
je 0x1400143e0
mov rdx, qword [0x14007a9a0]
call sub.fwpkclnt.sys_FwpmFilterDeleteById0
mov edx, dword [0x14007a9a8]
mov rcx, qword [0x14007a9b0]
call sub.fwpkclnt.sys_FwpmCalloutDeleteById0
mov ecx, dword [0x14007a9a8]
and qword [0x14007a9a0], 0
call sub.fwpkclnt.sys_FwpsCalloutUnregisterById0
mov rcx, qword [0x14007a9b0]
and dword [0x14007a9a8], 0
call sub.fwpkclnt.sys_FwpmEngineClose0
and qword [0x14007a9b0], 0
xor eax, eax
add rsp, 0x28
ret