joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036a84
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036b5a
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036b4a
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x140036bec
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036be1
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140036be1
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x140037638
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140037668
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x1400376ea
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400376b6
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x1400376be
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003765d
mov qword [rsp + 8], 0xe3
jmp 0x140037702
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140037789
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x140037753
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14003775b
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400376f5
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400377dd
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x1400377e5
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14003782c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14003784d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400378d1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14003789c
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400378a4
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140037840
add rsp, 0x18
ret
Function at 0x14003c27c
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140036474]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14003692c]
mov qword [rsp + 0x78], rax
lea rax, [0x140044e08]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14003c334
lea rdx, str._n_n_Notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400292c4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Notepad
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140050638], rax
mov edx, 5
mov rcx, qword [0x140050638]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140044df8]
mov rcx, qword [0x140050638]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140050638]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140050638]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14003e3d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003e41a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003e41a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003e41a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003e41a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003e41a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003e41c
xor al, al
add rsp, 0x28
ret
Function at 0x140003764
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400037e8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006370]
cmp byte [rcx + rax], 0
je 0x1400037e8
dec r8
sub rdx, 1
jne 0x1400037ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140004980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400049ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400049ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400049ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400049ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400049ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400049cc
xor al, al
add rsp, 0x28
ret
Function at 0x140001198
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov edi, r9d
lea rcx, [rsp + 0x38]
mov rsi, r8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
mov r8d, 2
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x20], 0x14
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000120b
cmp dword [rsp + 0x30], 0x14
ja 0x14000120b
cmp dword [rsp + 0x4c], 4
jne 0x14000120b
cmp dword [rsp + 0x50], 4
jne 0x14000120b
mov edi, dword [rsp + 0x54]
mov dword [rsi], edi
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140007890
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001490
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0x90]
mov r14, r9
mov r15d, r8d
mov r12, rdx
mov r13, rcx
test rdi, rdi
je 0x1400014fb
movzx esi, word [rdi]
mov r8d, 0x67666e43
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x1400014ea
mov eax, 0xc0000017
jmp 0x140001626
mov rdx, qword [rdi + 8]
mov r8, rsi
mov rcx, rax
call fcn.1400079c0
jmp 0x1400014ff
xor esi, esi
xor ebx, ebx
mov rdx, r12
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor r9d, r9d
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
and dword [rsp + 0x20], 0
mov rcx, r13
lea ebp, [r9 + 2]
mov r8d, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0x80000005
je 0x140001549
cmp eax, 0xc0000023
jne 0x140001617
cmp dword [rsp + 0x90], 0x10
jb 0x140001617
mov edx, dword [rsp + 0x90]
mov r12d, 0x67666e43
mov r8d, r12d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001617
lea rax, [rsp + 0x90]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x90]
mov r8d, ebp
mov rcx, r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000160b
cmp dword [rdi + 4], r15d
jne 0x14000160b
mov ecx, dword [rdi + 8]
lea eax, [rcx - 1]
cmp eax, 0xfffe
ja 0x14000160b
mov esi, ecx
test rbx, rbx
je 0x1400015d4
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov esi, dword [rdi + 8]
mov r8d, r12d
mov edx, esi
xor ecx, ecx
mov ebp, esi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x1400015fc
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400014e0
lea rdx, [rdi + 0xc]
mov r8, rbp
mov rcx, rax
call fcn.1400079c0
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [r14 + 8], rbx
xor eax, eax
mov word [r14], si
mov word [r14 + 2], si
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001a64
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x18], 0
lea rax, [0x1400083a0]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [0x1400083d0]
mov dword [rbp - 0x20], 0x260024
mov qword [rbp - 8], rax
mov r9d, 0x22
lea rax, [rbp + 0x18]
mov dword [rbp - 0x10], 0x2e002c
mov qword [rsp + 0x30], rax
xor edx, edx
mov byte [rsp + 0x28], 0
mov rbx, rcx
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
jns 0x140001afb
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x140008400]
xor edx, edx
mov dword [rsp + 0x28], edi
movzx r9d, bl
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001b9b
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x140001b2c
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea r8, [0x140008460]
jmp 0x140001ade
lea rax, [0x140001bb0]
mov qword [rbx + 0x70], rax
lea rax, [0x140001bb0]
mov qword [rbx + 0x80], rax
lea rax, [0x140001bb0]
mov qword [rbx + 0x100], rax
lea rax, [0x140001bd0]
mov qword [rbx + 0xe0], rax
mov rax, qword [rbp + 0x18]
mov qword [0x14000e030], rax
mov byte [0x14000e028], 1
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, bl
lea r8, [0x1400084d0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140003028
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor edx, edx
lea rcx, [0x14000e428]
call fcn.140007288
mov edi, eax
test eax, eax
jns 0x140003077
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
movzx r9d, bl
mov dword [rsp + 0x28], edi
lea r8, [0x140008b30]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400031be
xor r8d, r8d
lea rdx, [0x1400031f0]
xor ecx, ecx
call section..text
mov edx, 1
lea rcx, [0x14000e420]
call fcn.140007288
mov edi, eax
test eax, eax
jns 0x1400030d4
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
movzx r9d, bl
mov dword [rsp + 0x28], edi
lea r8, [0x140008b30]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e428]
jmp 0x1400031b9
xor r8d, r8d
lea rdx, [0x1400031d0]
lea ecx, [r8 + 1]
call section..text
lea r8, [0x14000e040]
mov rcx, rbx
lea rdx, [0x14000c300]
call sub.FLTMGR.SYS_FltRegisterFilter
mov edi, eax
test eax, eax
js 0x14000317d
mov rcx, qword [0x14000e040]
call sub.FLTMGR.SYS_FltStartFiltering
mov edi, eax
test eax, eax
jns 0x14000314c
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
movzx r9d, bl
mov dword [rsp + 0x28], edi
lea r8, [0x140008ba0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e040]
call sub.FLTMGR.SYS_FltUnregisterFilter
jmp 0x1400031a6
mov byte [0x14000e038], 1
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, bl
lea r8, [0x140008c60]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400031be
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
xor edx, edx
movzx r9d, bl
mov dword [rsp + 0x28], edi
lea r8, [0x140008c00]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14000e428]
call fcn.1400071c0
mov rcx, qword [0x14000e420]
call fcn.1400071c0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140003818
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r8
lea r9, [rax + 0x20]
mov r14, rdx
xor ebx, ebx
and dword [rax + 0x20], ebx
xor r8d, r8d
and dword [rax - 0x28], ebx
xor edx, edx
mov ebp, ecx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400038d5
mov eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x68], eax
test rbx, rbx
je 0x140003878
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x68]
mov edx, eax
xor ecx, ecx
mov r8d, 0x72706c48
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1400038d0
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
je 0x140003855
test eax, eax
jns 0x1400038c4
mov edx, 0x72706c48
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
jmp 0x1400038d5
mov eax, dword [rsp + 0x68]
mov qword [r14], rbx
mov qword [rsi], rax
jmp 0x1400038c0
mov eax, 0xc0000022
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140008180
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401b6838]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x260]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rbx + 0x268]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f8719.0]
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140008170]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rbx + 0x270], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012e910
add rsp, 0x40
pop rbx
ret
Function at 0x140026e90
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x140026ecb
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000e450
nop
cmp byte [rdx + r8 + 1], 0
je 0x140026f11
lea rdx, str.unsigned_long___cdecl_MinifilterStopCommand::Execute_int_wchar_t____
lea rdi, [0x1401c6980]
mov rcx, rdi
call fcn.140014760
mov rax, qword [0x1401c6980]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.1400165f0
movzx edx, al
mov rcx, rdi
call fcn.140016490
mov rcx, rdi
call fcn.140014250
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002afe0
Function at 0x140027120
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov r14d, 0x254
mov eax, dword [r14 + rdi]
mov edx, 0x250
test al, 1
jne 0x14002716d
or eax, 1
mov dword [r14 + rdi], eax
lea rcx, [rdi + rdx]
call fcn.14000e450
nop
lea rbx, [rdi + rdx]
lea rbp, [0x1401c6980]
cmp byte [rbx + 1], 0
je 0x1400271b5
lea rdx, str.unsigned_long___cdecl_MinifilterStartCommand::Execute_int_wchar_t____
mov rcx, rbp
call fcn.140014760
mov rax, qword [0x1401c6980]
movsxd rcx, dword [rax + 4]
add rcx, rbp
mov dl, 0xa
call fcn.1400165f0
movzx edx, al
mov rcx, rbp
call fcn.140016490
mov rcx, rbp
call fcn.140014250
mov eax, dword [r14 + rdi]
test al, 1
jne 0x1400271cd
or eax, 1
mov dword [r14 + rdi], eax
mov rcx, rbx
call fcn.14000e450
nop
cmp byte [rbx + 1], 0
je 0x14002720a
lea rdx, str.Start_Minifilter
mov rcx, rbp
call fcn.140014760
mov rax, qword [0x1401c6980]
movsxd rcx, dword [rax + 4]
add rcx, rbp
mov dl, 0xa
call fcn.1400165f0
movzx edx, al
mov rcx, rbp
call fcn.140016490
mov rcx, rbp
call fcn.140014250
mov rcx, qword [rsi + 8]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x14002ae50
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.DLL_StartServiceW]
test eax, eax
jne 0x14002af54
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x20]
cmp eax, 0x420
jne 0x14002aeca
call fcn.140016f80
nop
lea rbx, [rax + 0x10]
lea rdx, str.Cannot_start_service._ERROR_SERVICE_ALREADY_RUNNING
mov rcx, rbx
call fcn.140018e60
mov rcx, rbx
call fcn.140018000
nop
lea rcx, [rsp + 0x20]
call fcn.1400170c0
mov eax, 0x6e
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
call fcn.140016f80
cmp edi, 2
jne 0x14002af0e
lea rbx, [rax + 0x10]
lea rdx, str.Cannot_start_service._ERROR_FILE_NOT_FOUND
mov rcx, rbx
call fcn.140018e60
mov rcx, rbx
call fcn.140018000
nop
lea rcx, [rsp + 0x20]
call fcn.1400170c0
lea eax, [rdi + 0x6c]
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
lea rbx, [rax + 0x10]
lea rdx, str.Cannot_start_service._Error
mov rcx, rbx
call fcn.140018e60
mov edx, edi
mov rcx, rbx
call fcn.14002a540
mov rcx, rbx
call fcn.140018000
nop
lea rcx, [rsp + 0x20]
call fcn.1400170c0
mov eax, 0x6e
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x14002af82
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000e450
nop
cmp byte [rdx + r8 + 1], 0
je 0x14002afc8
lea rdx, str.Service_started_successfully.
lea rbx, [0x1401c6980]
mov rcx, rbx
call fcn.140014760
mov rax, qword [0x1401c6980]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.1400165f0
movzx edx, al
mov rcx, rbx
call fcn.140016490
mov rcx, rbx
call fcn.140014250
xor eax, eax
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x140027610
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x14002764b
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000e450
nop
cmp byte [rdx + r8 + 1], 0
je 0x140027691
lea rdx, str.Starting_service
lea rdi, [0x1401c6980]
mov rcx, rdi
call fcn.140014760
mov rax, qword [0x1401c6980]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.1400165f0
movzx edx, al
mov rcx, rdi
call fcn.140016490
mov rcx, rdi
call fcn.140014250
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14002ae50