joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800012c0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov ecx, 8
call fcn.180014334
mov rsi, rax
lea rax, [0x1800083f0]
mov qword [rsi], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1800013f0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x180001333
cmp dword [0x18001c630], 0
jne 0x180001348
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [0x18001c628], xmm0
add rsp, 0x58
pop rsi
pop rbp
ret
mov qword [rbp - 8], rsi
mov dword [rbp - 0x10], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3

Function at 0x1800030e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsi], rax
test rax, rax
je 0x1800031ed
lea rdx, [rbp - 0x40]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800031ed
mov rcx, qword [rsi]
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x1800031ed
mov rax, qword [rbp - 0x38]
movsxd r14, dword [rcx + 0x3c]
add r14, rax
cmp dword [r14], 0x4550
jne 0x1800031ed
mov qword [rsi + 8], rax
mov eax, dword [r14 + 0x50]
mov qword [rsi + 0x10], rax
movzx eax, word [r14 + 6]
test ax, ax
je 0x1800031ed
lea rcx, [rsi + 0x18]
mov qword [rbp - 8], rcx
movzx ecx, word [r14 + 0x14]
lea rdi, [r14 + rcx]
add rdi, 0x18
add rdi, 8
xor r15d, r15d
lea rbx, [rbp - 0x10]
jmp 0x1800031c1
mov ecx, dword [rdi]
mov qword [rdx], rax
mov dword [rdx + 8], ecx
add qword [rsi + 0x20], 0x10
movzx eax, word [r14 + 6]
inc r15
movzx ecx, ax
add rdi, 0x28
cmp r15, rcx
jae 0x1800031ed
test byte [rdi + 0x1f], 0x20
je 0x1800031b2
mov eax, dword [rdi + 4]
add rax, qword [rsi + 8]
mov qword [rbp - 0x10], rax
mov rdx, qword [rsi + 0x20]
cmp rdx, qword [rsi + 0x28]
jne 0x1800031a0
mov rcx, qword [rbp - 8]
mov r8, rbx
mov r9, rdi
call fcn.180007660
jmp 0x1800031ad
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x18000edd0
Capabilities:
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x18001c500]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x18001c924]
test rax, rax
je 0x18000ee28
mov edi, ecx
mov r14d, 0x20
mov rcx, qword [0x18001c918]
xor ebx, ebx
nop dword [rax + rax]
mov edx, dword [rcx + r14]
shr edx, 1
and edx, 1
cmp edx, edi
jne 0x18000ee2f
add r14, 0x38
inc rbx
cmp eax, ebx
jne 0x18000ee10
xor esi, esi
jmp 0x18000ef1d
xor r8d, r8d
test edi, edi
setne r8b
lea rcx, [rsp + 0x20]
mov edx, 0xffffffff
call fcn.18000f1b0
mov esi, eax
test eax, eax
jne 0x18000ef1d
mov eax, dword [0x18001c924]
xor esi, esi
cmp ebx, eax
jae 0x18000eea9
mov rcx, qword [0x18001c918]
jmp 0x18000ee7e
inc rbx
mov edx, eax
add r14, 0x38
cmp rbx, rdx
jae 0x18000eea9
mov edx, dword [rcx + r14]
shr edx, 1
and edx, 1
cmp edx, edi
je 0x18000ee70
mov ecx, ebx
mov edx, edi
call fcn.18000f580
test eax, eax
jne 0x18000eea7
mov rcx, qword [0x18001c918]
mov eax, dword [0x18001c924]
jmp 0x18000ee70
mov esi, eax
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x18000ef1d
mov r14d, dword [rsp + 0x2c]
test r14, r14
je 0x18000ef0b
xor r15d, r15d
mov r12, qword [sym.imp.KERNEL32.dll_OpenThread]
mov r13, qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbp, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000eee8
inc r15
cmp r14, r15
je 0x18000ef0b
mov r8d, dword [rdi + r15*4]
mov ecx, 0x5a
xor edx, edx
call r12
test rax, rax
je 0x18000eee0
mov rbx, rax
mov rcx, rax
call r13
mov rcx, rbx
call rbp
jmp 0x18000eee0
mov rcx, qword [0x18001c910]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800143c0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18000f580
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov esi, edx
mov rax, qword [0x18001c500]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r15, qword [0x18001c918]
mov eax, ecx
imul r12, rax, 0x38
mov rax, qword [r15 + r12]
movzx ecx, byte [r15 + r12 + 0x20]
xor edx, edx
test cl, 1
sete dl
lea rdx, [rdx + rdx*4]
lea rdi, [rax + rdx]
add rdi, 0xfffffffffffffffb
and ecx, 1
lea rbx, [rcx*2 + 5]
lea r9, [rsp + 0x2c]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000f61e
lea r14, [r15 + r12]
add r14, 0x20
test esi, esi
je 0x18000f625
mov byte [rdi], 0xe9
mov eax, dword [r15 + r12 + 8]
sub eax, edi
add eax, 0xfffffffb
mov dword [rdi + 1], eax
test byte [r14], 1
je 0x18000f647
add r15, r12
mov rax, qword [r15]
mov word [rax], 0xf9eb
jmp 0x18000f647
mov esi, 0xa
jmp 0x18000f68d
test byte [r14], 1
lea rax, [r15 + r12 + 0x18]
jne 0x18000f63d
movzx ecx, byte [rax + 4]
mov byte [rdi + 4], cl
mov eax, dword [rax]
mov dword [rdi], eax
jmp 0x18000f647
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rdi + 3], eax
mov dword [rdi], ecx
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [r14]
and sil, 1
lea ecx, [rsi + rsi]
and al, 0xf9
or al, cl
shl sil, 2
or sil, al
mov byte [r14], sil
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800143c0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x18000f6c0
Capabilities:
Resume thread

Disassembly:
mov edx, 1
jmp 0x18000f6c0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov edi, edx
mov rbx, rcx
mov rax, qword [0x18001c500]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
xor eax, eax
lock cmpxchg dword [0x18001c908], esi
je 0x18000f71b
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
nop
xor ecx, ecx
cmp r14, 0x20
setae cl
call r15
inc r14
xor eax, eax
lock cmpxchg dword [0x18001c908], esi
jne 0x18000f700
cmp qword [0x18001c910], 0
je 0x18000f767
test rbx, rbx
je 0x18000f771
mov ecx, dword [0x18001c924]
mov esi, 4
test rcx, rcx
je 0x18000f834
mov rax, qword [0x18001c918]
add rax, 0x20
neg rcx
xor r14d, r14d
nop
cmp qword [rax - 0x20], rbx
je 0x18000f77f
add rax, 0x38
dec r14
cmp rcx, r14
jne 0x18000f750
jmp 0x18000f834
mov esi, 2
jmp 0x18000f834
mov ecx, edi
call fcn.18000edd0
mov esi, eax
jmp 0x18000f834
cmp r14d, 1
je 0x18000f834
mov eax, dword [rax]
shr eax, 1
and eax, 1
cmp eax, edi
jne 0x18000f7a1
xor esi, esi
cmp edi, 1
adc esi, 5
jmp 0x18000f834
neg r14
lea rcx, [rsp + 0x20]
mov edx, r14d
mov r8d, 1
call fcn.18000f1b0
mov esi, eax
test eax, eax
jne 0x18000f834
mov ecx, r14d
mov edx, edi
call fcn.18000f580
mov esi, eax
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x18000f834
mov r14d, dword [rsp + 0x2c]
test r14, r14
je 0x18000f822
xor r15d, r15d
mov r12, qword [sym.imp.KERNEL32.dll_OpenThread]
mov r13, qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbp, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000f7ff
inc r15
cmp r14, r15
je 0x18000f822
mov r8d, dword [rdi + r15*4]
mov ecx, 0x5a
xor edx, edx
call r12
test rax, rax
je 0x18000f7f7
mov rbx, rax
mov rcx, rax
call r13
mov rcx, rbx
call rbp
jmp 0x18000f7f7
mov rcx, qword [0x18001c910]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xchg dword [0x18001c908], eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800143c0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1e6c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1e6c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1e6c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1e6c06f
add dl, dl
jne 0x1e6c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1e6c0f6
xor eax, eax
add dl, dl
jne 0x1e6c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1e6c1ad
add dl, dl
jne 0x1e6c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1e6c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1e6c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1e6c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1e6c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1e6c07e
mov eax, 1
add dl, dl
jne 0x1e6c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1e6c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1e6c0fb
sub eax, ebx
mov ebx, 1
jne 0x1e6c14c
mov ecx, 1
add dl, dl
jne 0x1e6c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1e6c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1e6c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1e6c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1e6c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1e6c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1e6c15d
cmp eax, 0x7d00
jae 0x1e6c19b
cmp eax, 0x500
jb 0x1e6c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1e6c07e
cmp eax, 0x7f
ja 0x1e6c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1e6c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1e6c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1e6c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14060e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14060e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14060e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060e06f
add dl, dl
jne 0x14060e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060e0f6
xor eax, eax
add dl, dl
jne 0x14060e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060e1ad
add dl, dl
jne 0x14060e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14060e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14060e07e
mov eax, 1
add dl, dl
jne 0x14060e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060e0fb
sub eax, ebx
mov ebx, 1
jne 0x14060e14c
mov ecx, 1
add dl, dl
jne 0x14060e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14060e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060e15d
cmp eax, 0x7d00
jae 0x14060e19b
cmp eax, 0x500
jb 0x14060e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060e07e
cmp eax, 0x7f
ja 0x14060e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14060e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14060e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x50], 0
xorps xmm0, xmm0
and qword [rbp - 0x48], 0
mov rdi, r8
mov qword [rbp - 0x40], rdx
lea rdx, [rbp - 0x50]
mov ecx, ecx
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 0x14000105f
lea rcx, [0x140002150]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x1400010b5
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r9, [rbp - 0x40]
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp - 0x48]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
test eax, eax
js 0x14000109f
mov rcx, qword [rbp - 0x48]
mov qword [rdi], rcx
lea rcx, [rbp - 0x38]
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.140001930
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret
Function at 0x14000123c
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rbx, rcx
lea rcx, [0x1400020a0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rbx + 0x28]
lea rdx, [0x1400020b0]
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
xorps xmm1, xmm1
or dword [rax + 0x68], 0x20
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
and qword [rbp + 0x67], 0
and dword [rbp + 0x3b], 0
and dword [rbp + 0x13], 0
and qword [rbp + 0x1f], 0
and qword [rbp + 0x3f], 0
mov qword [rbp + 7], rax
lea rax, [0x1400015a0]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x47], rax
lea rax, [0x1400010d0]
mov qword [rbx + 0x70], rax
lea rax, [0x1400010d0]
mov qword [rbx + 0x80], rax
lea rax, [0x1400010f0]
mov qword [rbx + 0xe0], rax
lea rax, [0x1400013c0]
mov qword [rbx + 0x68], rax
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp + 0x27], 0x10100
movups xmmword [rbp - 9], xmm1
mov dword [rbp + 0xf], 3
movdqu xmmword [rbp + 0x2b], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp + 0x67]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x19]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test eax, eax
jns 0x14000133a
lea rcx, [0x1400020e0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400013a6
lea rdx, [0x140002060]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x140001368
lea rcx, [0x140002100]
jmp 0x140001397
lea rdx, [0x140002120]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140004050]
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov ebx, eax
test eax, eax
jns 0x1400013a8
lea rcx, [0x140002130]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, ebx
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret
Function at 0x140001410
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
xor edi, edi
mov ecx, ecx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x60], rdi
movdqu xmmword [rbp - 0x48], xmm0
mov r15, r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 0x58], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov r14d, eax
test eax, eax
jns 0x140001481
lea rcx, [0x140002150]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x14000156e
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x38]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x60]
test rbx, rbx
je 0x1400014fd
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov rsi, rax
mov ecx, dword [rax + 0xc]
add rcx, 0xc
mov ebx, dword [rcx]
cmp rbx, rcx
je 0x140001554
mov ecx, dword [rbx + 0x30]
test ecx, ecx
je 0x1400014e8
mov edx, ecx
lea rcx, [rbp - 0x58]
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 0x1400014f8
mov eax, dword [rsi + 0xc]
mov ebx, dword [rbx]
add rax, 0xc
cmp rbx, rax
jne 0x1400014c0
jmp 0x140001554
mov edi, dword [rbx + 0x18]
jmp 0x140001554
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rsi, rax
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x140001554
mov rdx, qword [rbx + 0x60]
test rdx, rdx
je 0x14000153e
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140001550
mov rax, qword [rsi + 0x18]
mov rbx, qword [rbx]
add rax, 0x10
cmp rbx, rax
jne 0x140001516
jmp 0x140001554
mov rdi, qword [rbx + 0x30]
lea rcx, [rbp - 0x38]
mov qword [r15], rdi
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, r14d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001930
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400016a4
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x38], r9
xor edi, edi
mov qword [rsp + 0x20], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov ecx, ecx
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x140001717
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x140001717
mov eax, 0xc0000001
jmp 0x140001793
test ebx, ebx
jns 0x140001729
lea rcx, [0x140002150]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001710
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
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.140001b80
mov dword [rsp + 0x28], edi
jmp 0x14000177b
lea rcx, [rsp + 0x40]
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 + 0x70]
xor rcx, rsp
call fcn.140001930
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400017b0
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
and qword [rsp + 0x20], 0
lea rax, [rdx - 0x10001]
xorps xmm0, xmm0
mov ebx, ecx
movabs rcx, 0x7ffffffefffe
mov r14, r9
mov rdi, rdx
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
cmp rax, rcx
ja 0x1400018f7
mov edx, r8d
xor ecx, ecx
mov ebp, r8d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rsi, rax
test rax, rax
jne 0x140001826
lea rcx, [0x1400021a0]
jmp 0x1400018fe
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140001b80
mov rcx, rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jns 0x140001864
lea rcx, [0x140002150]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001903
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, rbp
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_MmCreateMdl]
mov rdi, rax
test rax, rax
je 0x1400018d2
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov rbx, rax
test rax, rax
je 0x1400018c4
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call fcn.140001b80
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
xor ebx, ebx
jmp 0x1400018c9
mov ebx, 0xc0000001
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
jmp 0x140001908
lea rcx, [0x140002180]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001930
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400077f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov rdx, qword [rsi + 0x18]
test eax, eax
je 0x1400078d9
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov rbp, rsi
mov qword [rsp + 0x48], rdi
cmp rdx, 0xf
jbe 0x140007828
mov rbp, qword [rsi]
mov rdi, 0xffffffffffffffff
nop
cmp byte [rdi + rbp + 1], 0
lea rdi, [rdi + 1]
jne 0x140007830
lea rdx, [rdi + 1]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rdi + 1]
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdx, qword [rsi + 0x18]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400078d5
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400078d0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007926
mov rcx, r8
call fcn.140030910
mov al, 1
jmp 0x14000790d
cmp rdx, 0xf
jbe 0x14000790b
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007906
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007926
mov rcx, r8
call fcn.140030910
xor al, al
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], 0
add rsp, 0x20
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3