joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006210
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
mov rdi, rdx
mov r8, rcx
test rcx, rcx
je 0x1400062ed
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400062ed
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400062ed
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x14000626c
mov ecx, dword [rax + r8 + 0x88]
jmp 0x140006271
mov ecx, dword [rax + r8 + 0x78]
mov r9d, ecx
xor edx, edx
mov r14d, dword [r9 + r8 + 0x24]
mov ebp, dword [r9 + r8 + 0x20]
add r14, r8
mov ebx, dword [r9 + r8 + 0x1c]
add rbp, r8
mov r15d, dword [r9 + r8 + 0x14]
add rbx, r8
test r15d, r15d
je 0x1400062ed
cmp rdi, 0xffff
ja 0x1400062b4
movzx r10d, dx
mov ecx, r10d
movzx eax, di
add ecx, dword [r9 + r8 + 0x10]
cmp eax, ecx
jmp 0x1400062e4
cmp edx, dword [r9 + r8 + 0x18]
jae 0x1400062ed
mov ecx, dword [rbp + rdx*4]
mov rsi, rdi
movzx r10d, word [r14 + rdx*2]
add rcx, r8
sub rsi, rcx
movzx eax, byte [rcx]
movzx r11d, byte [rcx + rsi]
sub eax, r11d
jne 0x1400062e2
inc rcx
test r11d, r11d
jne 0x1400062cd
test eax, eax
je 0x140006308
inc edx
cmp edx, r15d
jb 0x140006298
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
movzx eax, r10w
mov eax, dword [rbx + rax*4]
add rax, r8
jmp 0x1400062ef

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

Disassembly:
test rcx, rcx
je 0x140006671
push rbx
sub rsp, 0x60
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000665f
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.140006a84
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e340
add rsp, 0x60
pop rbx
ret
Function at 0x140006770
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and dword [rax + 0x10], 0
lea rdx, [0x14000ef80]
mov rdi, rcx
mov qword [rax + 0x18], 0x1000
lea rcx, [rax - 0x18]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000639c
mov rbx, rax
test rax, rax
je 0x140006831
lea rdx, [0x14000efa0]
mov rcx, rax
call fcn.140006210
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140006831
lea rax, [rsp + 0x58]
mov r9d, 0x40
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
or rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwProtectVirtualMemory
test eax, eax
js 0x140006831
lea rdx, [0x14000efa0]
mov rcx, rbx
call fcn.140006210
xor edx, edx
mov word [rax], 0xb848
mov qword [rax + 2], rdi
mov word [rax + 0xa], 0xe0ff
mov r8d, dword [0x140a1a5d8]
mov rcx, qword [0x140a1a5d0]
call fcn.14000eb00
mov al, 1
jmp 0x140006833
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400068d0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x14000f3d0]
mov eax, dword [0x14000f3f8]
mov rbx, rcx
movups xmm1, xmmword [0x14000f3e0]
mov dword [rbp + 0x2f], eax
xor edi, edi
movzx eax, word [0x14000f3fc]
lea rcx, [rbp - 0x39]
movups xmmword [rbp + 7], xmm0
mov qword [rbp - 0x59], rdx
lea rdx, [rbp + 7]
movsd xmm0, qword [0x14000f3f0]
movsd qword [rbp + 0x27], xmm0
mov qword [rbp - 0x51], rdi
movups xmmword [rbp + 0x17], xmm1
mov word [rbp + 0x33], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp - 0x39]
mov dword [rbp - 0x29], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x19], rax
lea r8, [rbp - 0x29]
mov qword [rbp - 0x21], rdi
mov edx, 0xf001f
mov dword [rbp - 0x11], 0x40
lea rcx, [rbp - 0x49]
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
test eax, eax
js 0x1400069e9
mov rsi, qword [rbp - 0x49]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400069e9
mov rdx, qword [rbp - 0x59]
lea rax, [rbp - 0x59]
mov dword [rsp + 0x48], 4
lea r8, [rbp - 0x51]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rcx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
or rdx, 0xffffffffffffffff
mov qword [rbp - 0x41], rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
cmove rdi, qword [rbp - 0x51]
mov rax, rdi
jmp 0x1400069eb
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007064
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14b, r9b
mov r15, r8
mov rsi, rdx
and qword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jns 0x1400070d0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1400070d0
mov eax, 0xc0000001
jmp 0x140007177
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov ecx, esi
call fcn.140005e64
mov rbx, rax
test r14b, r14b
je 0x140007148
lea rcx, [rsp + 0x28]
call fcn.140009430
test eax, eax
js 0x140007148
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rdx, rax
lea r9, [rsp + 0x30]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1400094cc
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rdx, rax
xor r9d, r9d
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140009374
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1400093b0
nop
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14000eb00
mov qword [r15], rbx
jmp 0x14000715f
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14000e340
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140007198
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov qword [r11 - 0x50], rdx
and qword [r11 - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
and qword [r11 - 0x58], 0
mov ecx, ecx
lea rdx, [r11 - 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007205
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140007205
mov eax, 0xc0000001
jmp 0x140007290
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x103000
lea r9, [rsp + 0x48]
movabs r8, 0x7fffffffffffff
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x38], eax
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14000eb00
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140007283
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret

Function at 0x1400072b4
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov qword [r11 - 0x50], rdx
and qword [r11 - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
and qword [r11 - 0x58], 0
mov ecx, ecx
lea rdx, [r11 - 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007321
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140007321
mov eax, 0xc0000001
jmp 0x1400073a8
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x48]
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x38], eax
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14000eb00
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000739b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400078ec
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov edi, ecx
mov rax, cr8
xor ebx, ebx
test al, al
jne 0x140007a60
test ecx, ecx
je 0x140007a60
lea rdx, [0x14000f430]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rdx, [0x14000f370]
mov rsi, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov r14, rax
test rax, rax
je 0x140007a60
test rsi, rsi
je 0x140007a60
mov ecx, edi
lea rdx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rbp - 0x60]
test eax, eax
js 0x140007a55
test rcx, rcx
je 0x140007a55
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x60]
mov rax, rsi
call qword [0x1400103b8]
test rax, rax
je 0x1400079f8
mov eax, dword [rax + 0xc]
mov esi, dword [rax + 0x14]
mov edi, esi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov edx, dword [rdi + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x1400079f3
mov edi, dword [rdi]
cmp rdi, rsi
je 0x140007a47
jmp 0x1400079c2
mov ebx, dword [rdi + 0x10]
jmp 0x140007a47
mov rcx, qword [rbp - 0x60]
mov rax, r14
call qword [0x1400103b8]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rdi, rsi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov rdx, qword [rdi + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140007a43
mov rdi, qword [rdi]
cmp rdi, rsi
je 0x140007a47
jmp 0x140007a10
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x140007a62
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007a88
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov esi, r8d
mov r15, rdx
test rcx, rcx
je 0x140007b5d
test rdx, rdx
je 0x140007b5d
test r8d, r8d
je 0x140007b5d
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140007b5d
mov eax, 0x5a4d
mov dword [rbp - 0x20], 0xc7b84853
mov dword [rbp - 0x1c], 0x2b36211
mov dword [rbp - 0x18], 0x48000001
mov dword [rbp - 0x14], 0x9de38ebb
mov dword [rbp - 0x10], 0xca1c24
mov dword [rbp - 0xc], 0xc3334800
mov word [rbp - 8], 0x505b
mov byte [rbp - 6], 0xc3
cmp word [rbx], ax
jne 0x140007b5d
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
cmp dword [rcx], 0x4550
jne 0x140007b5d
movzx eax, word [rcx + 0x14]
lea rdi, [rcx + 0x18]
movzx r12d, word [rcx + 6]
add rdi, rax
xor r14d, r14d
test r12d, r12d
je 0x140007b5d
lea rdx, [0x14000f040]
mov rcx, rdi
call sub.ntoskrnl.exe_strcmp
test eax, eax
je 0x140007b7d
add rdi, 0x28
inc r14d
cmp r14d, r12d
jl 0x140007b3e
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ecx, dword [rdi + 8]
test ecx, 0xfff
je 0x140007b5d
mov edx, ecx
shl esi, 5
and edx, 0xfffff000
add edx, 0x1000
mov eax, edx
sub eax, ecx
cmp eax, esi
jb 0x140007b5d
mov ecx, dword [rdi + 0xc]
mov eax, esi
sub rcx, rax
mov eax, edx
add rbx, rax
add rbx, rcx
cmp byte [rbx], 0x53
je 0x140007b5d
movabs rdx, 0xfffff78000000014
mov r8d, 0x1b
mov rdx, qword [rdx]
mov rcx, rdx
mov qword [rbp - 0x13], rdx
xor rcx, r15
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x1d], rcx
mov rcx, rbx
call fcn.1400086b4
mov rax, rbx
jmp 0x140007b5f

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x50], 0
xorps xmm0, xmm0
and qword [rbp - 0x48], 0
mov qword [rbp - 0x40], rdx
lea rdx, [rbp - 0x50]
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007c39
mov eax, 0xc0000001
jmp 0x140007c77
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
lea rcx, [rbp - 0x38]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rbp
ret
Function at 0x140007c94
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
xor r9d, r9d
mov rbp, rdx
mov r8, rcx
test rcx, rcx
je 0x140007da2
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007da2
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140007da2
mov ecx, 0x20b
cmp word [rax + r8 + 0x18], cx
jne 0x140007cff
mov r11d, dword [rax + r8 + 0x8c]
mov ecx, dword [rax + r8 + 0x88]
jmp 0x140007d09
mov r11d, dword [rax + r8 + 0x7c]
mov ecx, dword [rax + r8 + 0x78]
mov edx, ecx
mov r10d, r9d
add rdx, r8
mov r15d, dword [rdx + 0x24]
mov r12d, dword [rdx + 0x20]
add r15, r8
mov esi, dword [rdx + 0x1c]
add r12, r8
mov r13d, dword [rdx + 0x14]
add rsi, r8
test r13d, r13d
je 0x140007d9d
cmp rbp, 0xffff
ja 0x140007d47
movzx ebx, r10w
mov ecx, ebx
movzx eax, bp
add ecx, dword [rdx + 0x10]
cmp eax, ecx
jmp 0x140007d77
cmp r10d, dword [rdx + 0x18]
jae 0x140007da2
mov eax, r10d
mov r14, rbp
mov ecx, dword [r12 + rax*4]
movzx ebx, word [r15 + rax*2]
add rcx, r8
sub r14, rcx
movzx eax, byte [rcx]
movzx edi, byte [rcx + r14]
sub eax, edi
jne 0x140007d75
inc rcx
test edi, edi
jne 0x140007d62
test eax, eax
je 0x140007d83
inc r10d
cmp r10d, r13d
jb 0x140007d2e
jmp 0x140007d9d
movzx eax, bx
mov r9d, dword [rsi + rax*4]
add r9, r8
cmp r9, rdx
jb 0x140007d9d
mov ecx, r11d
add rcx, rdx
cmp r9, rcx
jbe 0x140007da2
mov rax, r9
jmp 0x140007da4
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140007de8
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14001a380]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
xor ebx, ebx
mov ecx, ecx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x60], rbx
movdqu xmmword [rbp - 0x48], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140007e4a
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140007e4a
xor eax, eax
jmp 0x140007f03
mov rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rdi, rsi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov rdx, qword [rdi + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140007ee8
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x140007e6d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov ecx, dword [rax + 0xc]
mov esi, dword [rcx + 0x14]
mov edi, esi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov edx, dword [rdi + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140007ee3
mov edi, dword [rdi]
cmp rdi, rsi
je 0x140007eec
jmp 0x140007eb1
mov ebx, dword [rdi + 0x10]
jmp 0x140007eec
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000e340
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007fa8
Capabilities:
Map section object

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
and qword [rbp + 0x6f], 0
lea rax, [rbp - 1]
and qword [rbp + 0x77], 0
xorps xmm0, xmm0
and qword [rbp + 0x7f], 0
xorps xmm1, xmm1
and qword [rbp - 9], 0
mov rdx, rcx
and qword [rbp + 0x27], 0
lea rcx, [rbp - 1]
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0x2f], rax
movups xmmword [rbp + 0x3f], xmm0
mov dword [rbp + 0x1f], 0x30
movups xmmword [rbp + 0xf], xmm1
mov dword [rbp + 0x37], 0x40
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rbp + 0xf]
mov dword [rsp + 0x28], 0x20
lea r8, [rbp + 0x1f]
mov dword [rsp + 0x20], 1
mov edx, 0x100020
lea rcx, [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x1400080ce
mov rax, qword [rbp + 0x77]
lea r8, [rbp + 0x1f]
and qword [rbp + 0x2f], 0
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
mov edx, 0xf001f
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
js 0x1400080ce
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp - 9]
mov dword [rsp + 0x48], 4
lea r8, [rbp + 0x7f]
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], 0x3e8
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
js 0x1400080ce
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rbp + 0x7f]
jmp 0x1400080d0
xor eax, eax
add rsp, 0xb0
pop rbp
ret

Function at 0x1400080dc
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdx, [0x14000f470]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
cmp qword [0x140a1a9f8], 0
mov edi, dword [rax + 3]
je 0x140008140
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [0x140a1a9f8]
add rcx, rdi
call fcn.140008800
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret