joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180125720
Capabilities:
Encode data using xor

Disassembly:
inc word [rcx + 0x3c]
xor r10d, r10d
movzx eax, word [rcx + 0x3c]
mov r8, rcx
movzx r11d, ax
shr r11w, 1
xor r11w, ax
test al, 1
je 0x180125743
mov r9d, r10d
jmp 0x1801257a6
test al, 2
je 0x18012574d
mov r9d, dword [rcx + 0x38]
jmp 0x1801257a6
test al, 4
je 0x18012575a
mov r9d, dword [rcx + 0x38]
add r9d, r9d
jmp 0x1801257a6
test al, 8
je 0x180125767
mov eax, dword [rcx + 0x38]
lea r9d, [rax + rax*2]
jmp 0x1801257a6
test al, 0x10
je 0x180125775
mov r9d, dword [rcx + 0x38]
shl r9d, 2
jmp 0x1801257a6
movzx eax, word [r8 + 0x3e]
mov ecx, 5
xor ax, r11w
movzx edx, ax
test dl, 0x20
jne 0x18012579b
nop dword [rax + rax]
inc cx
movzx eax, cl
bt edx, eax
jae 0x180125790
mov r9d, dword [r8 + 0x38]
movzx eax, cx
imul r9d, eax
mov word [r8 + 0x3e], r11w
cmp dword [r8 + 0x38], r10d
jbe 0x1801257e0
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r8 + 0x20]
lea ecx, [r10 + r9]
lea rdx, [rax + r10*2]
mov rax, qword [r8 + 8]
inc r10d
movzx ecx, word [rax + rcx*2]
xor word [rdx], cx
cmp r10d, dword [r8 + 0x38]
jb 0x1801257c0
ret

Function at 0x1801259e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 1
mov r9, rcx
mov word [rsp + 0x18], ax
xor eax, eax
cmp r8d, edx
sete al
xor r8d, r8d
mov word [rsp + 0x10], ax
movzx eax, word [rsp + 0x10]
test ax, ax
setne r8b
dec r8d
not r8d
mov word [rsp + 0x10], r8w
movzx eax, word [rsp + 0x10]
not eax
mov word [rsp + 0x10], ax
movzx eax, word [rsp + 0x10]
movzx ecx, word [rsp + 0x18]
and ecx, eax
mov word [rsp + 0x18], cx
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
cmp eax, edx
jae 0x180125a77
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rsp + 0x10]
movzx eax, word [rsp + 0x18]
inc word [rsp + 0x18]
and cx, ax
mov eax, dword [rsp + 0x20]
xor word [r9 + rax*2], cx
inc dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
cmp eax, edx
jb 0x180125a50
mov eax, edx
ret
Function at 0x18012b740
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
sub r8, rax
cmp r8, rbx
jae 0x18012b7a3
mov dword [rsp + 0x20], 0x75
lea r9, str.gold
lea r8, str.update
lea rdx, str.Offset_ok
lea rcx, str.buffer.size_____offset
call fcn.180043540
int3
lea rdx, [rax + rbx]
sub r8, rbx
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rax + rbx]
mov rcx, rdi
call fcn.180036440
lea rdx, [rsp + 0x38]
mov rcx, qword [r14 + 0x20]
call fcn.180023580
nop
mov r9, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
sub r9, rax
mov r8, qword [r14 + 0x40]
cmp r9, 0x10
jb 0x18012b80f
mov r10, r9
shr r10, 4
imul rcx, r10, 0xfffffffffffffff0
add r9, rcx
mov rdx, qword [r8 + 8]
mov rcx, qword [rax]
xor rcx, qword [r8]
xor qword [rax + 8], rdx
mov qword [rax], rcx
add rax, 0x10
add r8, 0x10
sub r10, 1
jne 0x18012b7f0
test r9, r9
je 0x18012b831
sub r8, rax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18012b820
mov rax, qword [r14 + 0x30]
cmp qword [r14 + 0x28], rax
jne 0x18012b892
mov rbx, qword [r14 + 0x20]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.18012b480
mov rdx, rax
lea rcx, [r14 + 0x28]
call fcn.1800361c0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18012b892
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
nop
mov r9, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
sub r9, rax
mov r8, qword [r14 + 0x28]
cmp r9, 0x10
jb 0x18012b8dc
mov r10, r9
shr r10, 4
imul rcx, r10, 0xfffffffffffffff0
add r9, rcx
nop word [rax + rax]
mov rcx, qword [r8]
mov rdx, qword [r8 + 8]
xor qword [rax], rcx
xor qword [rax + 8], rdx
add rax, 0x10
add r8, 0x10
sub r10, 1
jne 0x18012b8c0
test r9, r9
je 0x18012b901
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18012b8f0
mov rsi, qword [r14 + 8]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
lea rdx, [rbx + rsi]
mov rcx, rdi
call fcn.180036440
test rsi, rsi
je 0x18012b934
mov rcx, qword [rdi]
add rcx, rbx
mov r8, rsi
mov rdx, rbp
call fcn.1801a4560
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18012b952
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18012d2d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x18012d3c9
mov qword [rsp + 0x18], rbx
push rsi
push r14
push r15
sub rsp, 0x20
mov r15, qword [rcx + 0x58]
mov rbx, r8
mov qword [rsp + 0x40], rbp
mov r14, rdx
mov qword [rsp + 0x48], rdi
mov rsi, rcx
nop
cmp qword [rsi + 0x60], rbx
mov rbp, rbx
mov rdx, qword [rsi + 0x18]
cmovb rbp, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x10]
mov rdi, rbp
mov r8, rbp
imul rdi, r15
call fcn.18012cff0
mov rcx, qword [rsi + 8]
mov r9, rbp
mov r8, rax
mov rdx, r14
mov r10, qword [rcx]
call qword [r10 + 0x58]
mov rax, qword [rsi + 0x20]
mov r9, rdi
mov r8, r14
cmp rdi, 0x10
jb 0x18012d380
mov r10, rdi
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rdi
nop word [rax + rax]
mov rdx, qword [r8 + 8]
xor rdx, qword [rax + 8]
mov rcx, qword [r8]
add r8, 0x10
xor qword [rax], rcx
mov qword [rax + 8], rdx
add rax, 0x10
sub r10, 1
jne 0x18012d360
test r9, r9
je 0x18012d3a1
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18012d390
add qword [rsi + 0x18], rbp
add r14, rdi
sub rbx, rbp
jne 0x18012d300
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret

Function at 0x18012d3d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbp, r8
mov r15, qword [rcx + 0x58]
mov r14, rdx
mov rbx, rcx
je 0x18012d4dd
test r8, r8
je 0x18012d4ce
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
nop dword [rax]
cmp qword [rbx + 0x60], rbp
mov rsi, rbp
mov rdx, qword [rbx + 0x18]
cmovb rsi, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x10]
mov rdi, rsi
mov r8, rsi
imul rdi, r15
call fcn.18012cff0
mov rcx, qword [rbx + 0x20]
mov r11, rax
mov r9, rdi
mov r8, r14
cmp rdi, 0x10
jb 0x18012d480
mov r10, rdi
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rdi
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r8 + 8]
xor rdx, qword [rcx + 8]
mov rax, qword [r8]
add r8, 0x10
xor qword [rcx], rax
mov qword [rcx + 8], rdx
add rcx, 0x10
sub r10, 1
jne 0x18012d460
test r9, r9
je 0x18012d4a1
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x18012d490
mov rcx, qword [rbx + 8]
mov r9, rsi
mov r8, r11
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x50]
add qword [rbx + 0x18], rsi
add r14, rdi
sub rbp, rsi
jne 0x18012d410
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0x159
lea r8, str.encrypt
lea rdx, str.A_key_was_set
lea rcx, [0x18022ae68]
call fcn.180043540
int3
Function at 0x18015b440
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r9
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor ebp, ebp
mov rsi, qword [rax + 0x28]
test rsi, rsi
je 0x18015b59b
mov rax, qword [rdi]
mov r8, r15
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x10]
xor ebx, ebx
movzx ecx, bl
not cl
and cl, 3
shl cl, 3
mov edx, ebp
shr edx, cl
mov byte [rsp + 0x20], dl
mov rax, qword [rdi]
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x10]
inc rbx
cmp rbx, 4
jne 0x18015b491
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180023580
mov rcx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
sub rcx, r10
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x28]
cmp rsi, rcx
cmovae rax, rdx
mov r11, qword [rax]
mov r9, r11
mov r8, r10
mov rax, r14
cmp r11, 0x10
jb 0x18015b548
mov r10, r11
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, r11
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rax]
xor rdx, qword [r8]
mov rcx, qword [rax + 8]
xor rcx, qword [r8 + 8]
mov qword [rax], rdx
mov qword [rax + 8], rcx
add rax, 0x10
add r8, 0x10
sub r10, 1
jne 0x18015b520
mov r10, qword [rsp + 0x38]
test r9, r9
je 0x18015b566
sub r8, rax
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18015b550
mov r10, qword [rsp + 0x38]
add r14, r11
sub rsi, r11
mov qword [rsp + 0x90], rsi
inc ebp
test r10, r10
je 0x18015b592
mov rdx, qword [rsp + 0x48]
sub rdx, r10
mov r8d, 1
mov rcx, r10
call fcn.180033660
nop
test rsi, rsi
jne 0x18015b480
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x18017c010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1801661c2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1801661a5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x180166190

Function at 0x180185570
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1802a2980]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x18018559b
call qword [case.0x180190832.0]
jmp 0x1801855b0
call fcn.18018553c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180189c2c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x180189c3f
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.18018a240
lea rdx, [0x18028ca48]
lea rcx, [rsp + 0x20]
call fcn.1801a3720
int3
Function at 0x180194390
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1802a3320]
xor edx, edx
jmp fcn.180189c2c

Function at 0x180194d08
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1802a3320]
jmp fcn.180189c2c

Function at 0x1801a014c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1801a0208]
mov r9, qword [r9 + 8]
jmp fcn.180191dac

Function at 0x1801a01e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1801a0218]
mov r9, qword [r9 + 8]
jmp fcn.180191dac
Function at 0x140001000
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 [0x140006010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov ebx, ecx
mov qword [r11 - 0x50], rdx
and qword [r11 - 0x68], 0
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [r11 - 0x48]
call fcn.140004480
and qword [rsp + 0x40], 0
mov ecx, ebx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000106e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x14000106e
mov eax, 0xc0000001
jmp 0x1400010f2
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], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
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.140004480
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x1400010e5
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.140003f00
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x140001114
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
xor esi, esi
mov qword [rbp + 0x27], rcx
mov qword [r11 - 0x68], rsi
lea r9, [rbp + 7]
mov dword [rsp + 0x68], 0x100
lea r8, [rbp + 0x17]
mov qword [r11 - 0x78], rsi
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x58], esi
xor eax, eax
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
mov ebx, 0x110000
mov dword [rsp + 0x40], 0x60
mov edx, ebx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x67], rsi
mov qword [rbp + 0x17], 0x30
mov qword [rbp + 0x2f], 0x240
mov qword [rbp + 0x1f], rsi
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x14000123f
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rax
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x656c6946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
xor edx, edx
mov edi, eax
test eax, eax
jns 0x1400011ff
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
jmp 0x14000123d
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], rsi
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 0x14000123d
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
jns 0x14000123f
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000189c
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
xor eax, eax
mov rdi, rcx
and qword [rbp + 0x10], rax
lea rcx, [0x140006118]
and qword [0x140006108], rax
xor r8d, r8d
and dword [0x140006110], eax
lea edx, [rax + 1]
mov qword [rbp - 0x20], rax
mov dword [0x140006100], edx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [rdi + 0x28]
lea rcx, [0x140001260]
or dword [rax + 0x68], 0x20
mov qword [rdi + 0x70], rcx
lea rcx, [0x140001260]
mov qword [rdi + 0x80], rcx
lea rcx, [0x140001280]
mov qword [rdi + 0xe0], rcx
lea rcx, [0x140001a90]
mov qword [rdi + 0x68], rcx
lea rcx, [rbp - 0x10]
movups xmm0, xmmword [rax + 0x48]
movdqu xmmword [rbp - 0x10], xmm0
call fcn.140001114
mov edx, eax
lea rcx, [0x140004680]
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
test ebx, ebx
jns 0x140001954
mov eax, ebx
jmp 0x140001a71
call fcn.140002cdc
mov edx, eax
lea rcx, [0x1400046a0]
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
test ebx, ebx
js 0x14000194d
lea rdx, [0x1400046b0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp + 0x10]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x30]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edx, eax
lea rcx, [0x1400046e0]
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
test ebx, ebx
js 0x14000194d
lea rdx, [0x140004660]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edx, eax
lea rcx, [0x140004700]
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
test ebx, ebx
jns 0x1400019fc
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x14000194d
lea rcx, [0x140004720]
call fcn.140002fc4
mov rdx, rax
mov qword [0x1400060b0], rax
lea rcx, [0x140004740]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140004760]
call fcn.140002fc4
mov rdx, rax
mov qword [0x140006020], rax
lea rcx, [0x140004780]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x1400060b0], 0
je 0x140001a58
cmp qword [0x140006020], 0
je 0x140001a58
xor eax, eax
jmp 0x140001a71
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, 0xc0000001
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140001ad8
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebx, ecx
mov qword [rsp + 0x38], rdx
and qword [rsp + 0x20], 0
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004480
and qword [rsp + 0x30], 0
mov ecx, ebx
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140001b3a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140001b3a
mov eax, 0xc0000001
jmp 0x140001b98
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001b8b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140003f00
add rsp, 0x80
pop rbx
ret
Function at 0x140001bb0
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 [0x140006010]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
mov ebx, ecx
xor edi, edi
xor edx, edx
lea rcx, [rbp - 0x38]
movdqu xmmword [rbp - 0x48], xmm0
lea r8d, [rdi + 0x30]
call fcn.140004480
mov ecx, ebx
mov qword [rbp - 0x60], rdi
lea rdx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140001c14
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140001c14
xor eax, eax
jmp 0x140001ce0
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_PsGetProcessWow64Process]
mov rcx, qword [rbp - 0x60]
test rax, rax
jne 0x140001c83
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rbx, rsi
xor eax, eax
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov rdx, qword [rbx + 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 0x140001c7d
mov rbx, qword [rbx]
cmp rbx, rsi
je 0x140001cc9
jmp 0x140001c46
mov rdi, qword [rbx + 0x20]
jmp 0x140001cc9
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov ecx, dword [rax + 0xc]
mov esi, dword [rcx + 0x14]
mov ebx, esi
xor eax, eax
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov edx, dword [rbx + 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 0x140001cc6
mov ebx, dword [rbx]
cmp rbx, rsi
je 0x140001cc9
jmp 0x140001c91
mov edi, dword [rbx + 0x10]
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, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140003f00
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001d00
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
and qword [rsp + 0x30], 0
mov r14d, 0x30
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140004480
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140004480
mov ecx, ebx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140001d7e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140001d7e
mov eax, 0xc0000001
jmp 0x140001e08
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x38], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x20], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001dfb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140003f00
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
ret

Function at 0x140001e2c
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 [0x140006010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov ebx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x30], r9
and qword [rsp + 0x20], 0
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140004480
mov ecx, ebx
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jns 0x140001e9b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140001e9b
mov eax, 0xc0000001
jmp 0x140001f06
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov r8, r14
mov rdx, rsi
mov rcx, r15
call fcn.140004140
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001ef9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140003f00
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret