joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b278
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov edi, r9d
mov rsi, r8
mov rbx, rdx
mov r14, rcx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000b48e
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000b48e
lea rax, [0x140015cc0]
mov dword [rbp - 0x69], 0x10000e
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
lea rax, [0x140015cd0]
mov dword [rbp - 0x59], 0xe000c
mov qword [rbp - 0x51], rax
mov r15d, 0x10
lea rax, [0x1400158b0]
mov dword [rbp - 0x29], 0xa0008
mov qword [rbp - 0x21], rax
add r14, r15
lea rax, [0x140015ce0]
mov dword [rbp - 9], 0xc000a
mov qword [rbp - 1], rax
mov r8b, 1
lea rax, [0x140015cf0]
mov dword [rbp - 0x19], 0x10000e
mov qword [rbp - 0x11], rax
mov rcx, r14
lea rax, [0x140015d00]
mov dword [rbp - 0x49], 0xa0008
mov qword [rbp - 0x41], rax
lea rax, [0x140015d10]
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x39], 0xa0008
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b374
mov rcx, rbx
mov rdx, rsi
mov r8d, edi
call fcn.14000c238
jmp 0x14000b48e
mov r8b, 1
lea rdx, [rbp - 0x59]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b396
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoThreadToProcess]
mov rcx, rax
jmp 0x14000b364
mov r8b, 1
lea rdx, [rbp - 0x49]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b3d1
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140001e70
test eax, eax
jns 0x14000b48e
lea rcx, [0x140015d20]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000b48e
mov r8b, 1
lea rdx, [rbp - 0x39]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b41d
xorps xmm0, xmm0
lea rdx, [rbp + 7]
mov rcx, rbx
movups xmmword [rbp + 7], xmm0
call fcn.14000ae3c
test eax, eax
js 0x14000b414
cmp edi, r15d
lea rdx, [rbp + 7]
mov rcx, rsi
cmovb r15, rdi
mov r8, r15
call fcn.140015040
jmp 0x14000b48e
lea rcx, [0x140015d40]
jmp 0x14000b3c7
mov r8b, 1
lea rdx, [rbp - 0x29]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b441
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140001c54
jmp 0x14000b48e
mov r8b, 1
lea rdx, [rbp - 0x19]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x14000b465
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140001d38
jmp 0x14000b48e
mov r8b, 1
lea rdx, [rbp - 9]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
test al, al
je 0x14000b489
call fcn.140001f80
jmp 0x14000b48e
call fcn.14000aea8
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140014f80
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000b4ac
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov eax, 0x1000
mov dword [rsp + 0x28], 0x40
mov rsi, rdx
mov qword [rbp + 0x38], rax
mov rdi, rcx
mov dword [rsp + 0x20], eax
xor ebx, ebx
mov dword [rbp - 0x30], 0x68
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x30], rbx
or rcx, 0xffffffffffffffff
mov dword [rbp - 0x1c], ebx
lea r9, [rbp + 0x38]
mov dword [rbp - 0x2c], 0x6800
xor r8d, r8d
mov dword [rbp - 0x28], 0x6a0000
mov dword [rbp - 0x24], 0xe8006a
mov dword [rbp - 0x20], 0xba000000
mov dword [rbp - 0x18], 0x1e7e02c7
mov dword [rbp - 0x14], 0xbac037
mov dword [rbp - 0x10], 0x89000000
mov dword [rbp - 0xc], 0x4c202
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000b5cb
movzx eax, word [rsi]
mov rbx, qword [rbp + 0x30]
add rbx, 0x200
mov word [rbx], ax
movzx eax, word [rsi + 2]
mov word [rbx + 2], ax
mov eax, dword [rbp + 0x30]
add eax, 0x210
mov dword [rbx + 4], eax
movzx r8d, word [rsi]
mov rdx, qword [rsi + 8]
mov ecx, eax
call fcn.140015040
mov rax, qword [rbp + 0x30]
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rax + 0x10], xmm1
movsd qword [rax + 0x20], xmm0
mov rcx, qword [rbp + 0x30]
lea eax, [rcx + 0x5e0]
mov dword [rcx + 1], eax
mov rax, qword [rbp + 0x30]
mov dword [rax + 6], ebx
mov rax, qword [rbp + 0x30]
sub edi, eax
sub edi, 0x13
mov dword [rax + 0xf], edi
mov rcx, qword [rbp + 0x30]
lea eax, [rcx + 0x5e8]
mov dword [rcx + 0x14], eax
mov rcx, qword [rbp + 0x30]
lea eax, [rcx + 0x5ec]
mov dword [rcx + 0x1f], eax
mov rax, qword [rbp + 0x30]
jmp 0x14000b5cd
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b5e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
xor r14d, r14d
mov dword [rsp + 0x28], 0x40
mov eax, 0x1000
mov qword [rbp + 0x30], r14
mov rdi, rdx
mov qword [rbp + 0x38], rax
mov rsi, rcx
mov qword [rbp - 0x44], r14
lea rdx, [rbp + 0x30]
mov qword [rbp - 0x30], r14
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x24], r14
lea r9, [rbp + 0x38]
mov qword [rbp - 0x14], r14
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov dword [rbp - 0x50], 0x28ec8348
mov dword [rbp - 0x4c], 0x48c93148
mov dword [rbp - 0x48], 0xb849d231
mov qword [rbp - 0x3c], 0xb949
mov dword [rbp - 0x34], 0xb8480000
mov dword [rbp - 0x28], 0xba48d0ff
mov dword [rbp - 0x1c], 0x1e7e02c7
mov dword [rbp - 0x18], 0xba48c037
mov dword [rbp - 0xc], 0x83480289
mov word [rbp - 8], 0x28c4
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000b733
mov rbx, qword [rbp + 0x30]
mov rdx, rdi
add rbx, 0x200
mov rcx, rbx
mov dword [rbx], 0x3d00000
mov rax, qword [rbp + 0x30]
add rax, 0x210
mov qword [rbx + 8], rax
call fcn.140012df4
mov rcx, qword [rbp + 0x30]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movzx eax, word [rbp - 8]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + 0x20], xmm0
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rcx + 0x30], xmm1
movsd qword [rcx + 0x40], xmm0
mov word [rcx + 0x48], ax
mov byte [rcx + 0x4a], 0xc3
mov rax, qword [rbp + 0x30]
mov qword [rax + 0xc], rbx
mov rcx, qword [rbp + 0x30]
lea rax, [rcx + 0x5e0]
mov qword [rcx + 0x16], rax
mov rax, qword [rbp + 0x30]
mov qword [rax + 0x20], rsi
mov rcx, qword [rbp + 0x30]
lea rax, [rcx + 0x5e8]
mov qword [rcx + 0x2c], rax
mov rcx, qword [rbp + 0x30]
lea rax, [rcx + 0x5ec]
mov qword [rcx + 0x3c], rax
mov rax, qword [rbp + 0x30]
jmp 0x14000b735
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000c308
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rdi, rdx
lea rdx, [rsp + 0x40]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000c37d
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
and qword [rsp + 0x48], 0
call sub.ntoskrnl.exe_SeLocateProcessImageName
mov ebx, eax
test eax, eax
js 0x14000c372
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.14000e724
test al, al
je 0x14000c36d
neg rdi
sbb ebx, ebx
not ebx
and ebx, 0xc0000001
jmp 0x14000c372
mov ebx, 0xc0000001
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 0x14000c38c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rdi, rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000c3f5
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
call sub.ntoskrnl.exe_SeLocateProcessImageName
mov ebx, eax
test eax, eax
js 0x14000c3e8
mov rbx, qword [rsp + 0x48]
mov rcx, rdi
movzx r8d, word [rbx]
mov rdx, qword [rbx + 8]
add r8, r8
call fcn.140015040
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor ebx, ebx
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 0x14000c5b0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x14001a014]
mov rbx, rcx
imul rdx, rax, 0x38
xor esi, esi
mov r8d, 0x6d7467
lea ecx, [rsi + 1]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, rax
mov qword [0x140077178], rax
mov eax, dword [0x14001a014]
xor edx, edx
imul r8, rax, 0x38
call fcn.140015300
and qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x40]
and qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000c618
xor eax, eax
jmp 0x14000c684
mov ebx, 4
mov edi, 0xffff
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupThreadByThreadId]
test eax, eax
js 0x14000c66d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_IoThreadToProcess]
cmp rax, qword [rsp + 0x40]
jne 0x14000c66d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000c66d
mov rcx, qword [rsp + 0x38]
call fcn.140011518
mov rcx, qword [rsp + 0x38]
movzx esi, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
add rbx, 4
sub rdi, 1
jne 0x14000c622
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d0dc
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
lea r8, [0x1400794f8]
lea rdx, [0x1400178f0]
call sub.FLTMGR.SYS_FltRegisterFilter
test eax, eax
js 0x14000d11f
mov rcx, qword [0x1400794f8]
call sub.FLTMGR.SYS_FltStartFiltering
test eax, eax
jns 0x14000d11f
mov rcx, qword [0x1400794f8]
call sub.FLTMGR.SYS_FltUnregisterFilter
mov edx, 0x1f0001
lea rcx, [rbp + 0x18]
call sub.FLTMGR.SYS_FltBuildDefaultSecurityDescriptor
mov ebx, eax
test eax, eax
js 0x14000d1c5
lea rdx, [0x1400162a0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [0x1400794f8]
lea rax, [rbp - 0x40]
and qword [rbp - 0x28], 0
lea r8, [rbp - 0x30]
and qword [rbp - 8], 0
lea rdx, [0x1400794f0]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
lea rax, [0x14000e620]
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
lea rax, [0x14000e600]
mov qword [rsp + 0x28], rax
lea rax, [0x14000e5f0]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], 0x30
mov dword [rbp - 0x18], 0x240
call sub.FLTMGR.SYS_FltCreateCommunicationPort
mov rcx, qword [rbp + 0x18]
mov ebx, eax
call sub.FLTMGR.SYS_FltFreeSecurityDescriptor
test ebx, ebx
jns 0x14000d1e7
mov rcx, qword [0x1400794f0]
test rcx, rcx
je 0x14000d1d6
call sub.FLTMGR.SYS_FltCloseCommunicationPort
mov rcx, qword [0x1400794f8]
test rcx, rcx
je 0x14000d1e7
call sub.FLTMGR.SYS_FltUnregisterFilter
xor edx, edx
mov dword [rsp + 0x20], ebx
lea r9, [0x1400162c0]
lea r8, [0x1400162e0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x14000d2a8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
mov edi, 0xc0000001
mov dword [rsp + 0x30], edi
mov ebx, 0x50
mov r8d, 0x687a77
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14000d3b7
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.140015300
mov rax, cr8
cmp al, 1
ja 0x14000d396
call qword [sym.imp.ntoskrnl.exe_KeAreApcsDisabled]
test al, al
jne 0x14000d32b
mov rax, cr8
cmp al, 1
je 0x14000d32b
mov rax, cr8
movzx edx, al
lea rcx, [0x140015580]
jmp 0x14000d3a4
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov dword [rsi + 0x48], edi
and qword [rsi], 0
lea rax, [0x14000d3d0]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x20], r15
mov qword [rsi + 0x18], rsi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExQueueWorkItem]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
nop
mov edi, dword [rsi + 0x48]
mov dword [rsp + 0x30], edi
mov rax, qword [rsi + 0x28]
mov qword [r14], rax
jmp 0x14000d3a9
mov rcx, cr8
movzx edx, cl
lea rcx, [0x1400155c0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x687a77
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000ec40
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
and qword [rbp + 0x67], 0
xorps xmm0, xmm0
and qword [rbp - 0x19], 0
mov rdi, r9
and dword [rbp + 0x13], 0
lea r9, [rbp - 1]
and dword [rbp + 0x2b], 0
mov rsi, r8
and qword [rbp - 0x11], 0
lea r8, [rbp + 0xf]
and qword [rbp - 9], 0
mov r14, rdx
and qword [rbp + 0x17], 0
mov edx, 0x80000000
mov qword [rbp + 0x1f], rcx
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x28], 0x20
movups xmmword [rbp - 1], xmm0
mov dword [rbp + 0xf], 0x30
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0x27], 0x240
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x14000ed7e
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
xor r8d, r8d
mov dword [rsp + 0x20], 4
lea edx, [r9 + 6]
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov ebx, eax
test eax, eax
jns 0x14000ed10
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x14000ed7c
mov rcx, qword [rbp - 0x19]
lea rax, [rbp - 9]
mov dword [rsp + 0x48], 4
lea r8, [rbp - 0x11]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x400
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov ebx, eax
test eax, eax
jns 0x14000ed67
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x14000ed04
mov rax, qword [rbp + 0x67]
mov qword [r14], rax
mov rax, qword [rbp - 0x19]
mov qword [rsi], rax
mov rax, qword [rbp - 0x11]
mov qword [rdi], rax
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000ed98
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 0x14000ee6d
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 0x14000ee51
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 0x14000ee44
lea rbx, [rdi - 0x10]
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14000ee3f
cmp qword [rbx + 0x30], 0
je 0x14000ee3f
mov rdx, qword [rbx + 0x60]
mov rcx, r15
call sub.ntoskrnl.exe__wcsicmp
test eax, eax
je 0x14000ee44
mov rdi, qword [rdi]
jmp 0x14000ee15
mov rax, qword [rbx + 0x30]
mov qword [r14], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x14000ee57
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.140014f80
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000ef28
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 0x14000f0e0
mov edi, 0xc0000001
rdtsc
shl rdx, 0x20
or rax, rdx
mov dword [0x140078628], eax
xor edx, edx
mov eax, 0x7fffffff
div dword [0x140076e94]
mov ebx, eax
lea rcx, [0x140078628]
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 0x14000efd7
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140015300
test rsi, rsi
je 0x14000f0d5
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 0x14000f0bc
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 0x14000f080
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 0x14000f074
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140015040
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
jmp 0x14000f0a8
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.140015040
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.140014f80
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000f104
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 0x14000f225
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 0x14000f21a
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 0x14000f1ed
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 0x14000f1e1
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.140015040
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
jmp 0x14000f206
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.140014f80
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f268
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 0x14000f6d8
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 0x14000f718
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