joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ccb0
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x0002edb0], 1
mov rbx, rcx
jne 0x1ccca
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
lea r11, [0x0002edb0]
lea r8, [0x0002edb8]
lea rdx, [0x000117f0]
mov rcx, rbx
mov qword [0x0002edc0], r11
mov qword [0x0002edc8], r11
mov qword [0x0002edd0], r11
mov qword [0x0002edd8], r11
mov qword [0x0002ede0], r11
mov qword [0x0002ede8], r11
call sub.FLTMGR.SYS_FltRegisterFilter
mov ebx, eax
test eax, eax
js 0x1cd53
mov rcx, qword [0x0002edb8]
call sub.FLTMGR.SYS_FltStartFiltering
mov ebx, eax
test eax, eax
jns 0x1cd53
mov rcx, qword [0x0002edb8]
call sub.FLTMGR.SYS_FltUnregisterFilter
mov qword [0x0002edb8], 0
mov byte [0x0002edb0], 1
test ebx, ebx
jns 0x1cd63
call fcn.0001cd70
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1efc0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp byte [0x0002ee00], 0
jne 0x1f111
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea rdi, [0x0002ee00]
mov qword [0x0002ee60], rdi
lea rcx, [0x0002ee40]
lea edx, [r8 + 1]
mov dword [0x0002ee28], 1
mov qword [0x0002ee30], 0
mov dword [0x0002ee38], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r9, [0x0001eb20]
lea r8, [0x0001ead0]
lea rdx, [0x0001eaa0]
lea rcx, [0x0002ee78]
mov qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTable]
lea rcx, [0x000203e0]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutine]
test eax, eax
jns 0x1f082
lea rcx, [0x0002ee08]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rcx, [0x0001ea20]
mov rdx, rdi
call fcn.00026700
mov qword [0x0002ee20], rax
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [rsp + 0x40], 6
jae 0x1f0ea
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rcx, qword [rax]
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov rdx, qword [rax]
mov rax, qword [rcx + 0xe0]
mov qword [0x0002ee68], rax
mov rax, qword [rdx + 0xe0]
mov qword [0x0002ee70], rax
lea rax, [0x000200f0]
mov qword [rcx + 0xe0], rax
lea rax, [0x00020220]
mov qword [rdx + 0xe0], rax
jmp 0x1f0fd
lea rdx, [0x0002ee70]
lea rcx, [0x0002ee68]
call fcn.0001fcf0
mov rcx, rdi
mov byte [0x0002ee00], 1
call fcn.0001ec40
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x38
ret
Function at 0x1f120
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [0x0002ee60], 0
je 0x1f28f
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [rsp + 0x40], 6
jae 0x1f170
mov rdx, qword [0x0002ee70]
mov rcx, qword [0x0002ee68]
call fcn.00020360
jmp 0x1f183
mov rdx, qword [0x0002ee70]
mov rcx, qword [0x0002ee68]
call fcn.0001fe80
lea rcx, [0x000203e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_PsSetCreateProcessNotifyRoutine]
xor ebx, ebx
cmp qword [0x0002ee20], rbx
je 0x1f1dd
lea rcx, [0x0002ee08]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov rcx, qword [0x0002ee20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [0x0002ee20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x0002ee20], rbx
lea rcx, [0x0002ee28]
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
lea rcx, [0x0002ee78]
call qword [sym.imp.ntoskrnl.exe_RtlIsGenericTableEmpty]
test al, al
jne 0x1f238
nop dword [rax + rax]
lea rdx, [rsp + 0x48]
lea rcx, [0x0002ee78]
mov qword [rsp + 0x48], rbx
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplaying]
lea rcx, [0x0002ee78]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTable]
lea rcx, [0x0002ee78]
call qword [sym.imp.ntoskrnl.exe_RtlIsGenericTableEmpty]
test al, al
je 0x1f200
lea rcx, [0x0002ee28]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rcx, qword [0x0002ee60]
lea rdi, [0x0002ee00]
cmp rcx, rdi
je 0x1f277
nop dword [rax + rax]
mov rbx, qword [rcx + 0x28]
mov edx, 0x62746c74
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, rbx
cmp rbx, rdi
jne 0x1f260
mov rbx, qword [rsp + 0x50]
mov qword [0x0002ee60], rdi
mov rdi, qword [rsp + 0x30]
mov byte [0x0002ee00], 0
xor eax, eax
add rsp, 0x38
ret
Function at 0x1f3a0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
test r8, r8
jne 0x1f3c5
mov ebx, 0xc000000d
mov dword [rsp + 0x40], ebx
jmp 0x1f53d
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x1f53d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x1fffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1f429
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
mov edx, 0x1000
mov ecx, 1
mov r8d, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
jne 0x1f46b
mov ebx, 0xc000009a
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
mov r8, rdi
mov edx, 0x1b
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_ZwQueryInformationProcess
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x1f4c0
mov edx, 0x62746c70
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f53d
movzx edx, word [rdi]
add rdx, 2
mov word [rsi + 2], dx
movzx eax, word [rdi]
mov word [rsi], ax
movzx edx, dx
mov ecx, 1
mov r8d, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1f4f9
mov ebx, 0xc000009a
mov dword [rsp + 0x40], ebx
jmp 0x1f519
movzx r8d, word [rsi + 2]
xor edx, edx
mov rcx, rax
call fcn.0002b780
movzx r8d, word [rsi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rsi + 8]
call fcn.0002b3f0
mov edx, 0x62746c70
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1f541
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1f9d0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x30
xor ebp, ebp
xor eax, eax
mov ebx, 0x1000
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
mov dword [rsp + 0x58], ebp
mov word [rsp + 0x20], bp
mov qword [rsp + 0x50], rdi
nop dword [rax]
mov edx, ebx
mov ecx, 1
mov r8d, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
je 0x1fb12
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rdx, rax
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edi, eax
test eax, eax
jns 0x1fa74
mov ebx, dword [rsp + 0x58]
mov edx, 0x62746c70
mov rcx, rsi
add ebx, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp edi, 0xc0000004
je 0x1fa00
mov edx, 0x62746c70
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
mov rbx, rsi
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1faea
cmp rcx, 4
je 0x1faea
lea r8, [rsp + 0x20]
xor edx, edx
call fcn.0001f3a0
test eax, eax
js 0x1faea
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
lea rcx, [0x0002ee00]
mov dword [rsp + 0x60], ebp
call fcn.0001f2a0
test eax, eax
js 0x1fac9
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rbx + 0x50]
lea rcx, [0x0002ee00]
call fcn.0001f7b0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1fade
mov edx, 0x62746c70
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov eax, dword [rbx]
test eax, eax
je 0x1faf5
add rbx, rax
jmp 0x1fa77
mov edx, 0x62746c70
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xc000009a
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
Function at 0x208c0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rdi, r9
mov rsi, rdx
mov rbx, rcx
mov qword [r11 + 8], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
cmp rcx, 0xa
jb 0x20981
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp rbx, rax
jne 0x20920
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.00020750
mov ebx, eax
jmp 0x2095f
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x20986
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.00020750
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x2096f
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x22400
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xor eax, eax
xor edi, edi
mov rbx, rcx
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x68], edi
mov word [rsp + 0x40], di
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
mov word [rsp + 0x30], di
mov qword [rsp + 0x32], rax
mov dword [rsp + 0x3a], eax
mov word [rsp + 0x3e], ax
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp byte [0x0002ece8], dil
je 0x22464
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea rax, [0x0002ece8]
lea rdx, [0x00011bf0]
lea rcx, [rsp + 0x40]
mov qword [0x0002ecf0], rax
mov qword [0x0002ecf8], rax
mov qword [0x0002ed00], rax
mov qword [0x0002ed08], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00011c00]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp dword [rsp + 0x68], 5
jbe 0x224e9
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
test rax, rax
je 0x224e9
lea r8, [0x0002ed10]
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r8
lea rcx, [0x00021bf0]
xor r9d, r9d
mov r8, rbx
call rax
jmp 0x224ff
lea r8, [0x0002ed10]
lea rcx, [0x00021bf0]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_CmRegisterCallback]
mov ebx, eax
mov byte [0x0002ece8], 1
test eax, eax
jns 0x22511
call fcn.00022540
mov rax, qword [0x0002eda8]
cmp dword [rsp + 0x68], 5
cmovbe rax, rdi
mov qword [0x0002eda8], rax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x23710
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
je 0x237f3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x237f3
movsxd rdi, dword [rcx + 0x3c]
add rdi, rcx
cmp dword [rdi], 0x4550
jne 0x237f3
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x30], rbx
mov r8d, 0x70656472
cmp eax, edx
mov qword [rsp + 0x40], r12
cmovb eax, edx
xor ecx, ecx
mov edx, eax
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r12, rax
test rax, rax
je 0x237ef
mov r8, rbx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], rbp
call fcn.0002b780
mov r8d, dword [rdi + 0x114]
mov rdx, rsi
mov rcx, r12
call fcn.0002b3f0
xor ebp, ebp
cmp bp, word [rdi + 6]
jae 0x237d2
lea rbx, [rdi + 0x11c]
nop word [rax + rax]
mov edx, dword [rbx]
mov ecx, dword [rbx - 8]
mov r8d, dword [rbx - 4]
add rdx, rsi
add rcx, r12
call fcn.0002b3f0
movzx eax, word [rdi + 6]
inc ebp
add rbx, 0x28
cmp ebp, eax
jb 0x237b0
mov rbp, qword [rsp + 0x38]
mov rax, r12
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x237da
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x238c0
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
push rbx
push r12
sub rsp, 0x38
mov r12, rcx
test rcx, rcx
je 0x23a50
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x23a50
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x23a50
cmp dword [rax + 0x84], 1
jbe 0x23a50
mov ecx, dword [rax + 0x90]
test ecx, ecx
je 0x23a50
mov rbx, rcx
add rbx, r12
je 0x23a50
cmp dword [rax + 0x94], 0
je 0x23a50
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], rsi
add rbx, 0x10
cmp dword [rbx], 0
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
je 0x23a2e
xor r13d, r13d
nop dword [rax]
mov esi, dword [rbx - 4]
lea rdx, [0x00011c30]
mov rdi, r13
add rsi, r12
mov qword [rsp + 0x58], r13
mov ebp, r13d
mov rcx, rsi
mov dword [rsp + 0x50], r13d
call sub.ntoskrnl.exe__stricmp
test eax, eax
jne 0x239ea
lea r9, [rsp + 0x50]
lea ecx, [rax + 0xb]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x50], r13d
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edx, dword [rsp + 0x50]
xor ecx, ecx
add edx, 0x400
mov r8d, 0x6d61736b
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
je 0x23a4c
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rax
add r8d, 0x400
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x239dd
mov rdi, qword [rsi + 0x18]
mov ebp, dword [rsi + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x23a05
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.00018d90
mov rdi, qword [rsp + 0x58]
mov ebp, dword [rsp + 0x50]
test rdi, rdi
je 0x23a4c
test ebp, ebp
je 0x23a4c
lea r8, [rbx - 0x10]
mov rdx, rdi
mov rcx, r12
call fcn.00023800
test al, al
je 0x23a4c
add rbx, 0x14
cmp dword [rbx], r13d
jne 0x23950
mov al, 1
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x20]
add rsp, 0x38
pop r12
pop rbx
ret
xor al, al
jmp 0x23a30
xor al, al
add rsp, 0x38
pop r12
pop rbx
ret
Function at 0x23ca0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x23cda
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x23cda
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x23cda
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x10b
je 0x23ce9
cmp ecx, 0x20b
je 0x23ce2
xor al, al
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rax + rbx + 0x30]
jmp 0x23ced
mov edx, dword [rax + rbx + 0x34]
cmp dword [rax + rbx], 0x4550
mov qword [rsp + 0x38], rdi
jne 0x23d8d
cmp dword [rax + rbx + 0x84], 5
jbe 0x23d8d
mov ecx, dword [rax + rbx + 0xb0]
test ecx, ecx
je 0x23d8d
mov edi, dword [rax + rbx + 0xb4]
mov r8, rcx
add r8, rbx
je 0x23d8d
test edi, edi
je 0x23d8d
mov qword [rsp + 0x30], rsi
mov rsi, rbx
sub rsi, rdx
nop word [rax + rax]
mov edx, dword [r8 + 4]
mov ecx, dword [r8]
add r8, 8
sub edi, edx
add edx, 0xfffffff8
add rcx, rbx
shr edx, 1
mov r9, rsi
call fcn.00023a60
mov r8, rax
test rax, rax
je 0x23d7b
test edi, edi
jne 0x23d40
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rbx
ret
movzx eax, byte [rax + rbx + 0x16]
mov rdi, qword [rsp + 0x38]
not al
and al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x24060
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
xor eax, eax
xor ebp, ebp
mov r12, rdx
lea rdx, [0x000121a8]
lea rcx, [rsp + 0x20]
mov ebx, 0x1000
mov dword [rsp + 0x60], ebp
mov word [rsp + 0x20], bp
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop word [rax + rax]
mov r8d, 0x73726973
mov edx, ebx
mov ecx, 1
mov esi, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x24120
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.0002b780
lea r9, [rsp + 0x60]
mov r8d, ebx
mov rdx, rdi
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov esi, eax
test eax, eax
jns 0x24135
mov ebx, dword [rsp + 0x60]
mov edx, 0x73726973
mov rcx, rdi
add ebx, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp esi, 0xc0000004
je 0x240b0
mov edx, 0x73726973
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rbx, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x24172
cmp rax, 4
je 0x24172
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov r8b, 1
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x24172
mov rcx, qword [rbx + 0x50]
call fcn.00025a50
test al, al
je 0x2417d
mov eax, dword [rbx]
test eax, eax
je 0x24191
add rbx, rax
jmp 0x24140
mov rbp, qword [rbx + 0x50]
test r12, r12
je 0x24191
mov rcx, qword [rbx + 0x130]
mov qword [r12], rcx
mov edx, 0x73726973
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
jmp 0x24122
Function at 0x25d70
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov rbp, rcx
mov edi, 0x1000
mov dword [rsp + 0x48], r12d
nop word [rax + rax]
mov r8d, 0x73726973
mov edx, edi
mov ecx, 1
mov esi, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x25e10
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.0002b780
lea r9, [rsp + 0x48]
mov r8d, edi
mov rdx, rbx
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov rcx, rbx
mov esi, eax
test eax, eax
jns 0x25e25
mov edi, dword [rsp + 0x48]
mov edx, 0x73726973
add edi, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp esi, 0xc0000004
je 0x25da0
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
cmp qword [rbx + 0x50], rbp
je 0x25e3f
nop dword [rax + rax]
mov eax, dword [rcx]
test eax, eax
je 0x25e46
add rcx, rax
cmp qword [rcx + 0x50], rbp
jne 0x25e30
mov r12, qword [rcx + 0x130]
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, r12
jmp 0x25e12

Function at 0x25e60
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov rsi, rcx
mov edi, 0x1000
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x40], rbp
mov edx, edi
mov ecx, 1
mov r8d, 0x73726973
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x25ee3
lea r9, [rsp + 0x48]
mov r8d, edi
mov rdx, rax
mov ecx, 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebp, eax
test eax, eax
jns 0x25ef8
mov edi, dword [rsp + 0x48]
mov edx, 0x73726973
mov rcx, rbx
add edi, 0x20
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp ebp, 0xc0000004
je 0x25e82
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
mov rcx, rbx
cmp qword [rbx + 0x50], rsi
je 0x25f10
mov eax, dword [rcx]
test eax, eax
je 0x25f14
add rcx, rax
cmp qword [rcx + 0x50], rsi
jne 0x25f01
mov r12, qword [rcx + 0x58]
mov edx, 0x73726973
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, r12
jmp 0x25ee5
Function at 0x26700
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x70
xor ebx, ebx
mov qword [rax - 0x48], rdx
mov qword [rax - 0x50], rcx
lea rcx, [rax + 0x18]
lea r8, [rax - 0x38]
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov dword [rax - 0x38], 0x30
mov qword [rax - 0x30], rbx
mov dword [rax - 0x20], 0x200
mov qword [rax - 0x28], rbx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
mov qword [rax - 0x58], rbx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x267aa
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x98]
mov r8, qword [r8]
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x90]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
js 0x267aa
mov rax, qword [rsp + 0x98]
add rsp, 0x70
pop rbx
ret
xor eax, eax
add rsp, 0x70
pop rbx
ret

Function at 0x26880
Capabilities:
Create thread

Disassembly:
mov rax, rsp
sub rsp, 0x88
mov qword [rax + 0x20], rbp
xor ebp, ebp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
lea rcx, [0x0002f180]
xor edx, edx
mov r8d, 0x3e8
mov qword [0x0002f178], rbp
mov byte [0x0002f1a0], bpl
mov qword [rax - 0x18], r12
call qword [sym.imp.ntoskrnl.exe_KeInitializeSemaphore]
lea r11, [0x0002f168]
mov qword [0x0002f170], r11
mov qword [0x0002f168], r11
mov dword [0x0002f1a4], 2
mov esi, ebp
lea rdi, [0x0002f1a8]
lea r12, [0x00026b50]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x58], 0x200
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
js 0x269b6
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0xa0]
mov r8, qword [r8]
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x98]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
js 0x269b6
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x269b6
mov qword [rdi], rax
mov eax, dword [0x0002f1a4]
jmp 0x269ca
mov eax, dword [0x0002f1a4]
dec esi
dec eax
sub rdi, 8
mov dword [0x0002f1a4], eax
inc esi
add rdi, 8
cmp esi, eax
jb 0x268f6
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x90]
test eax, eax
je 0x26a0f
mov byte [0x0002f160], 1
xor eax, eax
add rsp, 0x88
ret
mov eax, 0xc000009a
add rsp, 0x88
ret