joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400088b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x140008904
mov dword [rsp + 0x40], 1
jmp 0x14000890c
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140008940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x38], 0
lea rdx, [0x14000d0f0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0x40
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
lea r8, [rsp + 0x58]
mov edx, 0xf003f
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140008a9e
lea rdx, [0x14000d170]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
jne 0x140008a88
mov eax, dword [rsp + 0x34]
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140008a88
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 2
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140008a88
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp qword [rsp + 0x38], 0
je 0x140008aff
mov rax, qword [rsp + 0x38]
add rax, 0xc
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0x40
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x48]
call fcn.140005570
xor eax, eax
add rsp, 0xa8
ret
Function at 0x140009030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x89
mov byte [rsp + 0x2a], 0x4c
mov byte [rsp + 0x2b], 0x24
mov byte [rsp + 0x2c], 8
mov byte [rsp + 0x2d], 0x48
mov byte [rsp + 0x2e], 0x83
mov byte [rsp + 0x2f], 0xec
mov byte [rsp + 0x30], 0x38
mov byte [rsp + 0x31], 0x48
mov byte [rsp + 0x32], 0x8b
mov byte [rsp + 0x33], 0x44
mov byte [rsp + 0x34], 0x24
mov byte [rsp + 0x35], 0x40
mov byte [rsp + 0x36], 0x48
mov byte [rsp + 0x37], 0x89
mov byte [rsp + 0x38], 0x44
mov byte [rsp + 0x39], 0x24
mov byte [rsp + 0x3a], 0x20
mov byte [rsp + 0x3b], 0x48
mov byte [rsp + 0x3c], 0x8b
mov byte [rsp + 0x3d], 0x44
mov byte [rsp + 0x3e], 0x24
mov byte [rsp + 0x3f], 0x20
mov byte [rsp + 0x40], 0xff
mov byte [rsp + 0x41], 0xd0
mov byte [rsp + 0x42], 0x48
mov byte [rsp + 0x43], 0x83
mov byte [rsp + 0x44], 0xc4
mov byte [rsp + 0x45], 0x38
mov byte [rsp + 0x46], 0xc3
mov byte [rsp + 0x47], 0
mov edx, 0x20
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000911a
movzx eax, byte [0x1400593a0]
movzx eax, al
test eax, eax
jne 0x14000911a
mov edx, 0x20
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x20], rax
mov ecx, 0x3e8
call fcn.140002000
jmp 0x1400090e6
mov edx, 0x20
mov rcx, qword [rsp + 0x20]
call fcn.140002070
mov r8d, 0x20
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call fcn.14000cd40
lea r8, [0x140008c80]
mov rdx, qword [rsp + 0x20]
lea rcx, [0x140059390]
call fcn.1400088b0
add rsp, 0x58
ret
Function at 0x1400098c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
cmp qword [0x1400638b0], 0
je 0x140009916
cmp qword [rsp + 0x70], 0
je 0x14000990a
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x1400638b8]
mov dword [rax], ecx
mov rax, qword [0x1400638b0]
jmp 0x140009aae
lea rdx, [0x14000d1f0]
lea rcx, [rsp + 0x48]
call fcn.140008700
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140009946
xor eax, eax
jmp 0x140009aae
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
xor edx, edx
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x24], 0
jne 0x14000996f
xor eax, eax
jmp 0x140009aae
mov eax, dword [rsp + 0x24]
mov edx, eax
mov cl, 1
call fcn.140009680
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14000d000
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140009a95
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x1400099df
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140009a95
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
cmp qword [rsp + 0x40], rax
jb 0x140009a90
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + rcx + 0x18]
mov rdx, qword [rsp + 0x38]
add rcx, qword [rdx + rax + 0x10]
mov rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x140009a90
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x10]
mov qword [0x1400638b0], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x18]
mov dword [0x1400638b8], eax
cmp qword [rsp + 0x70], 0
je 0x140009a8e
mov rax, qword [rsp + 0x70]
mov ecx, dword [0x1400638b8]
mov dword [rax], ecx
jmp 0x140009a95
jmp 0x1400099d5
cmp qword [rsp + 0x30], 0
je 0x140009aa7
mov rcx, qword [rsp + 0x30]
call fcn.1400096e0
mov rax, qword [0x1400638b0]
add rsp, 0x68
ret
Function at 0x140009ac0
Capabilities:
Access pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x78
xor ecx, ecx
call fcn.1400098c0
mov qword [rsp + 0x40], rax
cmp qword [0x1400638c0], 0
je 0x140009ae9
mov rax, qword [0x1400638c0]
jmp 0x140009c4b
cmp qword [rsp + 0x40], 0
jne 0x140009af8
xor eax, eax
jmp 0x140009c4b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x108
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
jmp 0x140009b32
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x38], rax
jae 0x140009c49
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x8000000
test eax, eax
je 0x140009c44
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140009c44
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
jne 0x140009c44
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x54494e49
je 0x140009c44
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x45474150
je 0x140009c44
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x60]
lea rcx, [0x14000d330]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8d, 0xf
mov dl, 0xcc
lea rcx, [rsp + 0x60]
call fcn.140009540
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140009c44
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 3]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 7]
mov qword [0x1400638c0], rax
mov rax, qword [0x1400638c0]
jmp 0x140009c4b
jmp 0x140009b24
xor eax, eax
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140009c60
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rdi
sub rsp, 0xe0
lea rdx, [0x14000d2f0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0xa0], 0x30
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0xb8], 0x240
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call fcn.1400053c0
movzx eax, al
test eax, eax
je 0x140009cde
mov eax, 0xc0000001
jmp 0x140009e4a
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0xa0]
mov edx, 0x80000000
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x140009e46
mov dword [rsp + 0x88], 0
lea rax, [rsp + 0x8c]
mov rdi, rax
xor eax, eax
mov ecx, 0x14
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x140009e3b
mov eax, dword [rsp + 0x90]
mov dword [0x1400638bc], eax
mov eax, dword [0x1400638bc]
mov edx, eax
mov cl, 1
call fcn.140009680
mov qword [0x1400638c8], rax
cmp qword [0x1400638c8], 0
jne 0x140009dcc
mov eax, 0xc0000001
jmp 0x140009e4a
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov eax, dword [0x1400638bc]
mov dword [rsp + 0x30], eax
mov rax, qword [0x1400638c8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x140009e39
mov rcx, qword [0x1400638c8]
call fcn.1400096e0
jmp 0x140009e46
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x60]
add rsp, 0xe0
pop rdi
ret
Function at 0x14000a4a0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
mov word [rsp], ax
mov dword [rsp + 4], 0
jmp 0x14000a4eb
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
movzx eax, word [rsp]
cmp dword [rsp + 4], eax
jge 0x14000a57a
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x38]
cmp dword [rax + 0xc], ecx
ja 0x14000a567
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x10]
add eax, dword [rcx + 8]
cmp eax, dword [rsp + 0x38]
jbe 0x14000a567
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0xc]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], eax
jae 0x14000a559
mov eax, dword [rsp + 0x38]
mov dword [rsp + 8], eax
jmp 0x14000a561
mov dword [rsp + 8], 0xffffffff
mov eax, dword [rsp + 8]
jmp 0x14000a57f
mov rax, qword [rsp + 0x10]
add rax, 0x28
mov qword [rsp + 0x10], rax
jmp 0x14000a4e1
mov eax, 0xffffffff
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jbe 0x14000a5f1
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x14000a5b9
xor al, al
jmp 0x14000a5f3
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
xor edx, edx
mov rcx, 0xffffffffffffffff
call fcn.14000a010
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
jmp 0x14000a5f3
xor al, al
add rsp, 0x68
ret
Function at 0x14000a600
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x20], 0
je 0x14000a6a0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000a682
jmp 0x14000a738
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x38]
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jge 0x14000a6b1
jmp 0x14000a738
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
xor eax, eax
cmp eax, 1
je 0x14000a738
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x38]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x50]
mov rax, qword [rsp + 0x48]
call qword [0x14000e390]
movzx eax, al
test eax, eax
je 0x14000a713
jmp 0x14000a738
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jne 0x14000a71f
jmp 0x14000a738
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000a6bb
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14000a750
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
jne 0x14000a765
xor eax, eax
jmp 0x14000a7ba
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xc0000001
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14000a7b5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessImageFileName]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14000a7c0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x140
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x150], 0
jne 0x14000a7f8
mov dword [rsp + 0x150], 4
xor edx, edx
mov eax, dword [rsp + 0x150]
mov ecx, 4
div ecx
shl eax, 2
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
jmp 0x14000a82a
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10000
jae 0x14000a8f2
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.14000a750
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000a87f
mov r8d, 0xff
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140004df0
movzx eax, al
test eax, eax
jne 0x14000a87f
jmp 0x14000a81f
mov dword [rsp + 0x24], 0
jmp 0x14000a893
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
jae 0x14000a8ed
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x20
lea rcx, str.winlogon.exe
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.ntoskrnl.exe_strstr
test rax, rax
je 0x14000a8eb
mov eax, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jl 0x14000a8eb
mov rax, qword [rsp + 0x158]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
jmp 0x14000a8f4
jmp 0x14000a889
jmp 0x14000a81f
xor eax, eax
add rsp, 0x140
pop rdi
ret
Function at 0x14000b950
Capabilities:
Delete network filter via wfp api

Disassembly:
sub rsp, 0x28
cmp qword [0x140063ac8], 0
jne 0x14000b960
jmp 0x14000b9ab
cmp qword [0x140063ad8], 0
je 0x14000b97d
mov rdx, qword [0x140063ad8]
mov rcx, qword [0x140063ac8]
call sub.fwpkclnt.sys_FwpmFilterDeleteById0
lea rdx, [0x14000e440]
mov rcx, qword [0x140063ac8]
call sub.fwpkclnt.sys_FwpmSubLayerDeleteByKey0
call fcn.14000b850
cmp qword [0x140063ac8], 0
je 0x14000b9ab
mov rcx, qword [0x140063ac8]
call sub.fwpkclnt.sys_FwpmEngineClose0
add rsp, 0x28
ret
Function at 0x14000be00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
call fcn.140002870
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000bea7
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
jmp 0x14000c04b
call qword [sym.imp.ntoskrnl.exe_ExGetPreviousMode]
mov byte [rsp + 0x40], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x40]
mov r8, qword [0x140063ae8]
mov edx, 2
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14000c047
lea rax, [rsp + 0x80]
mov rdi, rax
mov rsi, qword [rsp + 0xc8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
call fcn.14000c100
cmp eax, 0x3d
jne 0x14000bfac
cmp qword [0x140063af8], 0
jne 0x14000bf32
call fcn.140002870
mov qword [0x140063af8], rax
cmp qword [0x140063af8], 0
jne 0x14000bf46
mov eax, 0xc0000001
jmp 0x14000c04b
mov rax, qword [0x140063af8]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x50]
and eax, 4
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xd8]
mov r8d, dword [rsp + 0xd0]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
call qword [0x14000e390]
mov dword [rsp + 0x44], eax
jmp 0x14000c034
cmp qword [0x140063af0], 0
jne 0x14000bfc2
call fcn.140002870
mov qword [0x140063af0], rax
cmp qword [0x140063af0], 0
jne 0x14000bfd3
mov eax, 0xc0000001
jmp 0x14000c04b
mov rax, qword [0x140063af0]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x50]
and eax, 4
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xd8]
mov r8d, dword [rsp + 0xd0]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
call qword [0x14000e390]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x48], 0
je 0x14000c047
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x44]
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x14000c100
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x114
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x34], 5
jne 0x14000c15d
cmp dword [rsp + 0x38], 1
jne 0x14000c15d
mov dword [rsp + 0x20], 0x33
jmp 0x14000c1bb
cmp dword [rsp + 0x34], 6
jne 0x14000c175
cmp dword [rsp + 0x38], 1
jne 0x14000c175
mov dword [rsp + 0x20], 0x3d
jmp 0x14000c1bb
cmp dword [rsp + 0x34], 6
jne 0x14000c18d
cmp dword [rsp + 0x38], 2
jne 0x14000c18d
mov dword [rsp + 0x20], 0x3e
jmp 0x14000c1bb
cmp dword [rsp + 0x34], 6
jne 0x14000c1a5
cmp dword [rsp + 0x38], 3
jne 0x14000c1a5
mov dword [rsp + 0x20], 0x3f
jmp 0x14000c1bb
cmp dword [rsp + 0x34], 0xa
jne 0x14000c1bb
cmp dword [rsp + 0x38], 0
jne 0x14000c1bb
mov dword [rsp + 0x20], 0x64
mov eax, dword [rsp + 0x20]
add rsp, 0x150
pop rdi
ret