joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a70
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x0040a6b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x0040a7a8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x405af1
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x0040a7a8]
jmp 0x405b0d
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x0040a7a8], r11
mov qword [0x0040a748], rax
mov rax, qword [0x00409c18]
mov qword [0x0040a620], r11
mov qword [0x0040a730], rdi
mov dword [0x0040a610], 0xc0000409
mov dword [0x0040a614], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x00409c10]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00407280]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x00409c18]
jne 0x405c19
rol rcx, 0x10
test cx, 0xffff
jne 0x405c15
ret
ror rcx, 0x10
jmp 0x405a70
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005460]
mov dword [rax], 1
mov rax, qword [0x140005470]
mov dword [rax], 1
mov rax, qword [0x140005480]
mov dword [rax], 1
mov rax, qword [0x140005420]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002900
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002928
mov eax, 0
jmp 0x140002976
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002951
mov eax, 0
jmp 0x140002976
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002971
mov eax, 0
jmp 0x140002976
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000297c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400029fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400029f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400029f1
mov rax, qword [rbp - 8]
jmp 0x140002a0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400029c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800326e0
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x94b347f6
mov ebp, 0xd57cfa8b
in al, 0x65
adc ecx, eax
adc dword [rbx + 0x75420cdc], edi
sbb al, 0x46
or dword [rcx], esp
mov edx, 0x4ce2eff9
xchg ebp, eax
shr ecx, 1
xchg dword [rbp + 0x26], esp
stosb byte [rdi], al
and al, 0x1a
lahf
invalid
Function at 0x140001008
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
nop dword [rax + rax]
lea rax, [rsp + 0x90]
mov edx, 0x105
sub rbx, rax
lea rcx, [rsp + 0x90]
xor edi, edi
lea rax, [rdx + 0x7ffffef9]
test rax, rax
je 0x14000107e
movzx eax, word [rbx + rcx]
test ax, ax
je 0x14000107e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000105c
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
je 0x140001198
movzx eax, word [rsp + 0x90]
lea rcx, [rsp + 0x90]
jmp 0x1400010b4
lea rbx, [rcx + 2]
cmp ax, 0x3a
je 0x1400010bb
movzx eax, word [rbx]
mov rcx, rbx
test ax, ax
jne 0x1400010a4
jmp 0x1400010e2
mov word [rcx], di
cmp word [rbx], di
je 0x1400010e2
lea rdx, str._ProcessID
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400010ea
lea rbx, [rsp + 0x90]
lea rax, [rsp + 0x30]
mov edx, 0x29
sub rbx, rax
lea rcx, [rsp + 0x30]
lea rax, [rdx + 0x7fffffd5]
test rax, rax
je 0x14000111e
movzx eax, word [rbx + rcx]
test ax, ax
je 0x14000111e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400010fc
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
je 0x140001198
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_IIDFromString]
nop dword [rax + rax]
test eax, eax
js 0x140001198
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
test eax, eax
js 0x140001198
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_com_private_l1_1_0.dll_CoRegisterSurrogateEx]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call 0x140001510
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret
Function at 0x140001524
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
and qword [r11 + 0x20], 0
movabs rax, 0xaaaaaaaaaaaaaaab
mov r8d, r8d
mov rsi, rdx
sub r8, 0x20
mov r15d, ecx
mul r8
mov rbp, rdx
shr rbp, 4
test ecx, ecx
jne 0x140001570
mov eax, 0xc0000001
jmp 0x140001685
mov rcx, r15
lea rdx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x140001670
mov rcx, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rbx, qword [rsp + 0x68]
mov r14, qword [rcx]
test r14, r14
je 0x140001675
test rbx, rbx
je 0x140001683
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001670
and qword [rsp + 0x20], 0
cmp qword [sym.imp.ntoskrnl.exe_MmIsAddressValid], 0
je 0x140001670
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001670
lea rdx, [rsp + 0x20]
lea rcx, [0x1400154b0]
call fcn.14000fa00
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140001670
mov rcx, rbx
call qword [0x1400176c8]
test rax, rax
je 0x140001670
cmp rax, r14
jne 0x140001670
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001670
mov rcx, qword [0x1400774d0]
add rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001670
mov rax, qword [0x1400774d0]
mov rcx, qword [rax + rbx]
test rcx, rcx
je 0x140001670
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001670
test rsi, rsi
je 0x140001670
mov rdx, qword [rsp + 0x68]
mov r9d, ebp
mov r8, rsi
mov ecx, r15d
call fcn.1400016a0
mov edi, eax
test eax, eax
js 0x140001670
cmp ebp, dword [rsi]
sbb edi, edi
and edi, 0xc0000023
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140001683
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140002168
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, rdx
and qword [rsp + 0x38], 0
test rcx, rcx
jne 0x1400021a8
mov eax, 0xc0000001
jmp 0x1400022f1
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jne 0x1400022f1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
setne sil
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor edi, edi
mov qword [rsp + 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
lea rdx, [0x1400161f0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, sil
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.14000c670
mov r15d, 0xc0000225
test rax, rax
cmove ebx, r15d
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x140002257
mov r8, qword [rsp + 0x38]
lea rdx, [0x140016210]
mov rcx, rax
call fcn.14000b0e8
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
cmove ebx, r15d
mov dword [rsp + 0x30], ebx
mov rdx, r14
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
mov rcx, rdi
test sil, sil
je 0x140002280
call fcn.14000b420
lea r8, [0x140016220]
jmp 0x14000228c
call fcn.14000b554
lea r8, [0x140016250]
mov rbx, rax
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9b, 1
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rbx
call fcn.1400096ac
mov ebx, dword [rsp + 0x30]
test ebx, ebx
jns 0x1400022d2
mov r9d, ebx
lea r8, [0x140016280]
xor edx, edx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x1400022d9
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140014fb0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140002498
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and qword [rax + 0x10], 0
mov ebp, ecx
xor ebx, ebx
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov esi, eax
test eax, eax
js 0x140002544
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140002539
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140002539
mov rcx, qword [0x1400774d0]
add rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140002539
mov rax, qword [0x1400774d0]
mov rcx, qword [rax + rdi]
test rcx, rcx
je 0x140002539
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140002539
mov rcx, qword [rsp + 0x38]
test ebp, ebp
je 0x140002524
mov rax, qword [0x1400774c8]
and dword [rax + rcx], 0
jmp 0x140002539
call qword [sym.imp.ntoskrnl.exe_PsGetProcessId]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [0x1400774c8]
mov dword [rcx + rdx], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
inc rbx
cmp rbx, 0xc350
jb 0x1400024b5
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
xor edx, edx
mov ebx, ecx
lea rcx, [rbp - 9]
lea r8d, [rdx + 0x58]
call fcn.140015340
and qword [rbp + 0x6f], 0
lea rdx, [rbp + 0x6f]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x140002653
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
movups xmm0, xmmword [0x140015510]
mov rbx, rax
mov rcx, qword [rax + 0x20]
mov rdx, qword [rcx + 0x78]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [0x140015520]
movups xmmword [rdx + 0x10], xmm1
mov ecx, dword [0x140015530]
mov dword [rdx + 0x20], ecx
movzx ecx, word [0x140015534]
mov word [rdx + 0x24], cx
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [rbx + 0x20]
lea rdx, [0x140015540]
movups xmm0, xmmword [rbp - 0x19]
movdqu xmmword [rax + 0x70], xmm0
mov rax, qword [rbx + 0x20]
movups xmm1, xmmword [rbp - 0x19]
movdqu xmmword [rax + 0x60], xmm1
mov rcx, qword [rbp + 0x6f]
call fcn.140011340
mov rcx, qword [rbp + 0x6f]
lea rdx, [0x140015560]
call fcn.140011278
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000266c
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
mov edi, ecx
mov ebx, 0xc0000001
mov dword [rax - 0x18], ebx
and qword [rax + 0x18], 0
and qword [rax + 0x10], 0
lea rdx, [rax + 0x18]
lea rcx, [0x1400154a0]
call fcn.14000995c
test eax, eax
je 0x140002702
mov ecx, edi
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
js 0x140002706
mov rax, qword [0x1400774e0]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rax + rcx]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400026ea
mov rdx, qword [0x1400774e0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdx + rax]
mov rax, qword [rsp + 0x48]
mov qword [rdx + rax], rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x14000270c
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400029a4
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
and qword [rax - 0x58], 0
lea r9, [rbp + 0x17]
and qword [rbp + 0x2f], 0
lea r8, [rbp + 0x27]
mov dword [rax - 0x60], 0x100
xorps xmm0, xmm0
and qword [rax - 0x68], 0
mov ebx, 0x80
and dword [rax - 0x70], 0
mov edx, 0x110000
and dword [rax - 0x78], 0
and qword [rax - 0x80], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov qword [rbp + 0x37], rcx
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x28], ebx
and qword [rsp + 0x20], 0
mov dword [rbp + 0x27], 0x30
mov dword [rbp + 0x3f], 0x240
movdqu xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x140002ae7
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x67]
mov edx, ebx
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edi, eax
test eax, eax
jns 0x140002a7c
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, edi
jmp 0x140002ae7
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140002ad6
cmp qword [rax + 8], 0
je 0x140002ad6
cmp qword [rax + 0x10], 0
je 0x140002ad6
mov rcx, qword [rcx + 0x28]
xor edx, edx
and qword [rcx + 0x10], 0
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
test bl, bl
je 0x140002a78
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
jns 0x140002ae7
jmp 0x140002a78
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, 0xc000000d
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002afc
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rbx, rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140002b28
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnmapViewOfSection]
add rsp, 0x20
pop rbx
ret

Function at 0x1400060f0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x28]
lea rdi, [0x14007a9e0]
mov rbx, rcx
lea rdx, [0x140016d90]
mov rcx, rdi
or dword [rax + 0x68], 0x20
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140016d40]
lea rcx, [0x14007a9d0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [0x14007a9f8]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
mov r8, rdi
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x14000622a
mov rdx, rdi
lea rcx, [0x14007a9d0]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test eax, eax
jns 0x14000618a
mov rcx, qword [0x14007a9f8]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x140006228
lea rax, [0x140002bb0]
mov ecx, 0x1b
lea rdi, [rbx + 0x70]
rep stosq qword [rdi], rax
lea rax, [0x140002bd0]
mov qword [rbx + 0xe0], rax
lea rax, [0x140002bb0]
mov qword [rbx + 0x70], rax
lea rax, [0x140006240]
mov qword [rbx + 0x68], rax
mov qword [0x140077610], rbx
mov rax, qword [rbx + 0x28]
mov rcx, qword [rax]
mov qword [0x140077618], rcx
call fcn.14000d188
movabs rax, 0x7ffffffffff
mov rcx, rbx
mov qword [0x140077580], rax
movabs rax, 0xfffff00000000000
mov qword [0x140077588], rax
call fcn.14000d04c
mov edi, eax
test eax, eax
jns 0x140006228
xor edx, edx
mov dword [rsp + 0x20], eax
lea r9, [0x140016de0]
lea r8, [0x140016df0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140006e48
Capabilities:
Find process by pid
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
mov r14, rdx
xor ebx, ebx
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x38], rbx
mov r12d, r8d
mov dword [rbp - 0x40], ebx
mov r15, rcx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140006ea4
mov eax, 0xc0000001
jmp 0x140006f77
mov r8d, 0x20
lea r9, [rbp - 0x40]
lea rdx, [rbp - 0x30]
lea ecx, [r8 - 0x10]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x140006f6b
mov ecx, dword [rbp - 0x40]
test ecx, ecx
je 0x140006f6b
add ecx, 0x1000
mov r8d, 0x6d7467
mov dword [rbp - 0x40], ecx
mov edx, ecx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140006f6b
mov r8d, dword [rbp - 0x40]
xor edx, edx
mov rcx, rax
call fcn.140015340
mov r8d, dword [rbp - 0x40]
lea r9, [rbp - 0x40]
mov rdx, rdi
mov ecx, 0x10
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov esi, eax
test eax, eax
js 0x140006f5d
cmp dword [rdi], ebx
jbe 0x140006f5d
mov eax, ebx
lea rdx, [rax*2 + 1]
add rdx, rax
lea rdx, [rdi + rdx*8]
mov eax, dword [rdx]
cmp r15, rax
jne 0x140006f57
mov eax, dword [r14]
cmp r12d, eax
jbe 0x140006f52
mov rcx, qword [rbp - 0x38]
mov r8, r14
call fcn.14000ce80
mov eax, dword [r14]
inc eax
mov dword [r14], eax
inc ebx
cmp ebx, dword [rdi]
jb 0x140006f23
mov edx, 0x6d7467
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140014fb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400079ec
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rsp + 0x48], 0
mov r14, rdx
mov esi, r8d
sub rsi, 0x28
shr rsi, 5
test ecx, ecx
jne 0x140007a20
mov eax, 0xc0000001
jmp 0x140007b2d
mov ecx, ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
js 0x140007b18
mov rcx, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rcx]
test rbp, rbp
je 0x140007b1d
test rbx, rbx
je 0x140007b2b
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b18
and qword [rsp + 0x58], 0
cmp qword [sym.imp.ntoskrnl.exe_MmIsAddressValid], 0
je 0x140007b18
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b18
lea rdx, [rsp + 0x58]
lea rcx, [0x1400154b0]
call fcn.14000fa00
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140007b18
mov rcx, rbx
call qword [0x1400176c8]
test rax, rax
je 0x140007b18
cmp rax, rbp
jne 0x140007b18
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b18
mov rcx, qword [0x1400774d0]
add rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b18
mov rax, qword [0x1400774d0]
mov rcx, qword [rax + rbx]
test rcx, rcx
je 0x140007b18
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007b18
mov rcx, qword [rsp + 0x48]
mov r8d, esi
mov rdx, r14
call fcn.140007b40
mov edi, eax
test eax, eax
js 0x140007b18
cmp esi, dword [r14]
sbb edi, edi
and edi, 0xc0000023
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140007b2b
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret