joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400037bc
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rbx, rcx
mov dword [rsp + 0x28], 0x40
or rsi, 0xffffffffffffffff
mov dword [rbp - 0x19], 0x28ec8348
xor edi, edi
mov dword [rbp - 0x15], 0xb9
mov rcx, rsi
mov qword [rbp - 0x11], 0xba4800
lea r9, [rbp - 0x29]
mov dword [rbp - 9], 0x49000000
xor r8d, r8d
mov qword [rbp - 5], 0xb8
lea rdx, [rbp + 0x6f]
mov qword [rbp + 3], 0xb94900
mov dword [rbp + 0xb], 0x48000000
mov qword [rbp + 0xf], 0xb8
mov dword [rbp + 0x17], 0x48d0ff00
mov qword [rbp + 0x1b], 0xba
mov dword [rbp + 0x23], 0x7e02c700
mov dword [rbp + 0x27], 0x48c0371e
mov qword [rbp + 0x2b], 0xba
mov dword [rbp + 0x33], 0x2894800
mov dword [rbp + 0x37], 0x28c48348
mov qword [rbp + 0x6f], rdi
mov qword [rbp - 0x29], 0x1000
mov dword [rsp + 0x20], 0x101000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x1400039a0
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 0x7f]
movaps xmm0, xmmword [rbp - 0x19]
lea rdx, [rbp + 0x77]
movaps xmm1, xmmword [rbp - 9]
xor r8d, r8d
mov eax, dword [rbp + 0x37]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x28], 0x40
movaps xmm0, xmmword [rbp + 7]
movups xmmword [rcx + 0x10], xmm1
mov dword [rsp + 0x20], 0x101000
movaps xmm1, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x27]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov dword [rcx + 0x50], eax
mov byte [rcx + 0x54], 0xc3
mov rcx, rsi
mov qword [rbp + 0x77], rdi
mov qword [rbp + 0x7f], 0x2090
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x140003989
mov edx, edi
lea rax, [0x14000d030]
mov cl, byte [rdx + rax]
mov rax, qword [rbp + 0x77]
xor cl, 0x52
mov byte [rdx + rax], cl
inc rdx
cmp rdx, 0x2090
jb 0x1400038ef
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x77]
mov qword [rcx + 0x5f0], rax
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rcx + 0x5f8], rax
mov rax, qword [rbp + 0x6f]
mov dword [rax + 5], edi
mov rax, qword [rbp + 0x6f]
mov qword [rax + 0xb], rbx
mov rax, qword [rbp + 0x6f]
mov dword [rax + 0x15], 1
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5ec]
mov qword [rcx + 0x1f], rax
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx + 0x5f0]
mov qword [rcx + 0x29], rax
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5e8]
mov qword [rcx + 0x35], rax
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5e0]
mov qword [rcx + 0x45], rax
mov rax, qword [rbp + 0x6f]
jmp 0x1400039a2
mov r9d, 0x8000
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003ad0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov dword [rsp + 0x28], 0x40
xor edi, edi
mov dword [rbp - 0x38], 0x68
or rsi, 0xffffffffffffffff
mov dword [rbp - 0x34], 0x6800
mov rcx, rsi
mov dword [rbp - 0x30], 0x680000
lea r9, [rbp - 0x40]
mov qword [rbp - 0x2c], 0x68000000
xor r8d, r8d
mov dword [rbp - 0x24], 0xe8
lea rdx, [rbp + 0x28]
mov dword [rbp - 0x20], 0x10c48300
mov dword [rbp - 0x1c], 0xba
mov dword [rbp - 0x18], 0x7e02c700
mov dword [rbp - 0x14], 0xbac0371e
mov dword [rbp - 0x10], edi
mov word [rbp - 0xc], 0x289
mov qword [rbp + 0x28], rdi
mov qword [rbp - 0x40], 0x1000
mov dword [rsp + 0x20], 0x101000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x140003c7e
mov rcx, qword [rbp + 0x28]
lea r9, [rbp + 0x38]
movups xmm0, xmmword [rbp - 0x38]
mov eax, edi
mov dword [rsp + 0x28], 0x40
movups xmm1, xmmword [rbp - 0x28]
xor r8d, r8d
lea rdx, [rbp + 0x30]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], 0x101000
movsd xmm0, qword [rbp - 0x18]
movups xmmword [rcx + 0x10], xmm1
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
movzx eax, word [rbp - 0xc]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], 0xc3
mov rcx, rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], 0x1780
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x140003c67
mov edx, edi
lea rax, [0x140010510]
mov cl, byte [rdx + rax]
mov rax, qword [rbp + 0x30]
xor cl, 0x52
mov byte [rdx + rax], cl
inc rdx
cmp rdx, 0x1780
jb 0x140003bd1
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
mov qword [rax + 0x5f0], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
mov qword [rcx + 0x5f8], rax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5ec]
mov dword [rcx + 1], eax
mov rax, qword [rbp + 0x28]
mov dword [rax + 6], 1
mov rax, qword [rbp + 0x28]
mov dword [rax + 0xb], ebx
mov rax, qword [rbp + 0x28]
mov dword [rax + 0x10], edi
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + 0x5f0]
sub eax, ecx
sub eax, 0x19
mov dword [rcx + 0x15], eax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5e8]
mov dword [rcx + 0x1d], eax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5e0]
mov dword [rcx + 0x28], eax
mov rax, qword [rbp + 0x28]
jmp 0x140003c80
mov r9d, 0x8000
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004de0
Capabilities:
Get file attributes
Print debug messages
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rdx, [0x140009b00]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rbp + 0xf], 0
lea rax, [rbp - 9]
xorps xmm0, xmm0
mov qword [rbp + 0x17], rax
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 7], 0x30
mov dword [rbp + 0x1f], 0x240
mov rax, cr8
test al, al
je 0x140004e46
mov eax, 0xc0000001
jmp 0x140004f81
and dword [rsp + 0x50], 0
lea r9, [rbp - 0x19]
and qword [rsp + 0x48], 0
lea r8, [rbp + 7]
mov dword [rsp + 0x40], 0x20
lea rcx, [rbp - 0x29]
mov dword [rsp + 0x38], 1
mov edx, 0x80000000
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x140004f71
mov rcx, qword [rbp - 0x29]
lea r8, [rbp + 0x37]
xor eax, eax
mov dword [rsp + 0x20], 5
xorps xmm0, xmm0
mov qword [rbp + 0x47], rax
lea rdx, [rbp - 0x19]
movups xmmword [rbp + 0x37], xmm0
lea r9d, [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x140004f57
mov edx, dword [rbp + 0x3f]
lea rcx, [0x140009b40]
mov dword [0x140012130], edx
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [0x140012130]
mov cl, 1
call fcn.1400052ec
and qword [rsp + 0x40], 0
lea rcx, [rbp - 0x21]
and dword [rbp - 0x1d], 0
xor r9d, r9d
and dword [rbp - 0x21], 0
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov ecx, dword [0x140012130]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [0x140012128], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov ebx, eax
test eax, eax
jns 0x140004f65
mov rcx, qword [0x140012128]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, ebx
lea rcx, [0x140009b70]
jmp 0x140004f60
mov edx, eax
lea rcx, [0x140009bb0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140004f7f
mov edx, eax
lea rcx, [0x140009c00]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140009400
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x1400050b8
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp + 0x27], rax
and dword [rbp - 0x29], 0
mov esi, r9d
mov eax, r8d
mov qword [rbp - 0x19], rax
lea rax, [rdx - 0x10001]
mov qword [rbp - 0x11], rdx
movabs rdx, 0x7ffffffefffd
cmp rax, rdx
ja 0x140005174
mov ecx, ecx
lea rdx, [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140005174
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140005174
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdi, qword gs:[0x188]
lea rcx, [rbp - 0x29]
mov eax, dword [0x140012284]
lea r8, [rbp - 0x19]
add rdi, rax
mov qword [rsp + 0x20], rcx
mov r9d, esi
lea rdx, [rbp - 0x11]
or rcx, 0xffffffffffffffff
mov bl, byte [rdi]
mov byte [rdi], 0
mov rax, qword [0x140012308]
call qword [0x14000b3f0]
lea rcx, [rbp - 9]
mov byte [rdi], bl
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140009400
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [rdx - 0x10001]
mov rbp, rdx
movabs rdx, 0x7ffffffefffd
mov r14, r8
mov esi, 0xc0000001
cmp rax, rdx
ja 0x1400052cb
mov ecx, ecx
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov esi, eax
test eax, eax
js 0x1400052cb
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400052cb
lea rdx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdi, qword gs:[0x188]
lea rcx, [rsp + 0x48]
mov eax, dword [0x140012284]
mov r9, r14
add rdi, rax
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov qword [rsp + 0x20], 0x30
mov rdx, rbp
or rcx, 0xffffffffffffffff
mov bl, byte [rdi]
mov byte [rdi], 0
mov rax, qword [0x140012300]
call qword [0x14000b3f0]
lea rcx, [rsp + 0x50]
mov byte [rdi], bl
mov esi, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140009400
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005a38
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebx, ecx
movups xmm0, xmmword [rdx]
movdqu xmmword [rsp + 0x70], xmm0
and qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0x1000
and qword [rsp + 0x50], 0
test ecx, ecx
jne 0x140005a87
mov rax, 0xffffffffc0000001
jmp 0x140005b98
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rdx, [0x140009e20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [0x140009e40]
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.14000816c
mov rdi, rax
mov rcx, rbx
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140005adf
cdqe
jmp 0x140005b98
mov rcx, qword [rsp + 0x38]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
test rax, rax
setne bl
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x70]
mov rcx, rdi
test bl, bl
je 0x140005b1c
call fcn.140006608
jmp 0x140005b21
call fcn.140006320
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9b, 1
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rax
call fcn.140006084
movsxd rax, dword [rsp + 0x30]
test eax, eax
js 0x140005b98
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 0x5e0]
mov qword [rsp + 0x50], rbx
mov r9d, 0x8000
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
jmp 0x140005b7c
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140009400
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400061a4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
xor r14d, r14d
mov rdi, rcx
cmp qword [0x140012250], r14
mov dword [rbp + 0x28], r14d
je 0x1400061e2
test rcx, rcx
je 0x140006300
mov eax, dword [0x140012258]
mov dword [rcx], eax
jmp 0x140006300
xorps xmm0, xmm0
lea r8, [0x140009e60]
movups xmmword [rbp - 0x10], xmm0
mov rax, r8
mov ecx, 0x7fff
mov edx, 2
cmp word [rax], r14w
je 0x14000620e
add rax, rdx
sub rcx, 1
jne 0x1400061fd
jmp 0x140006228
add cx, cx
mov qword [rbp - 8], r8
mov eax, 0xfffe
sub ax, cx
mov word [rbp - 0x10], ax
add ax, dx
mov word [rbp - 0xe], ax
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rsi, rax
test rax, rax
je 0x140006309
mov r8d, dword [rbp + 0x28]
lea r9, [rbp + 0x28]
xor edx, edx
lea ecx, [rdx + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [rbp + 0x28]
test eax, eax
je 0x140006309
mov edx, eax
xor ecx, ecx
mov r8d, 0x656e6f42
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r8d, dword [rbp + 0x28]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400098c0
mov r8d, dword [rbp + 0x28]
lea r9, [rbp + 0x28]
mov rdx, rbx
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x1400062ed
mov r9d, dword [rbx]
mov edx, r14d
test r9d, r9d
je 0x1400062ed
lea rcx, [rbx + 0x20]
mov r8, qword [rcx - 8]
cmp rsi, r8
jb 0x1400062b7
mov eax, dword [rcx]
add rax, r8
cmp rsi, rax
jb 0x1400062c7
inc edx
add rcx, 0x128
cmp edx, r9d
jae 0x1400062ed
jmp 0x1400062a4
mov eax, edx
imul rcx, rax, 0x128
mov rax, qword [rcx + rbx + 0x18]
mov qword [0x140012250], rax
mov eax, dword [rcx + rbx + 0x20]
mov dword [0x140012258], eax
test rdi, rdi
je 0x1400062ed
mov dword [rdi], eax
test rbx, rbx
je 0x140006300
mov edx, 0x656e6f42
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x140012250]
jmp 0x14000630b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x140006320
Capabilities:
Allocate or change rwx memory

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call fcn.1400061a4
mov rsi, rax
mov rax, qword [0x140012248]
test rax, rax
jne 0x140006580
test rsi, rsi
je 0x14000657e
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rbp, rax
movzx ecx, word [rax + 6]
lea rdi, [rax + 0x108]
lea rdx, [rcx + rcx*4]
lea rcx, [rdi + rdx*8]
cmp rdi, rcx
jae 0x14000657e
lea rbx, [rdi + 8]
mov ecx, dword [rbx + 0x1c]
and ecx, 0x2a000000
cmp ecx, 0x28000000
jne 0x140006565
mov eax, dword [rbx - 8]
cmp eax, 0x54494e49
je 0x140006565
cmp eax, 0x45474150
je 0x140006565
movups xmm0, xmmword [0x140009e80]
mov r9d, dword [rbx + 4]
lea rcx, [rsp + 0x30]
mov eax, dword [rbx]
add r9, rsi
and qword [rsp + 0x30], 0
mov r8d, 0xf
mov qword [rsp + 0x28], rcx
mov dl, 0xcc
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x38], xmm0
call fcn.140005bbc
test eax, eax
jns 0x1400065a2
movzx eax, word [rbp + 6]
add rbx, 0x28
lea rcx, [rax + rax*4]
lea rdx, [rdi + rcx*8]
lea rax, [rbx - 8]
cmp rax, rdx
jb 0x140006502
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009400
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 3]
add rax, 7
add rax, rcx
mov qword [0x140012248], rax
jmp 0x140006580
Function at 0x140006608
Capabilities:
Allocate or change rwx memory

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
lea rdx, [rbp - 0x40]
xor edi, edi
mov qword [rbp - 0x50], rdi
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rdi
mov qword [rsp + 0x28], rax
mov ebx, 0x1fffff
mov r9d, 0x240
mov dword [rsp + 0x20], edi
mov r8d, ebx
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.140006be0
test eax, eax
js 0x140006db1
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov edx, ebx
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rbp - 0x48]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_NtClose]
mov rcx, qword [rbp - 0x50]
test ebx, ebx
cmovs rcx, rdi
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140009400
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov ebx, ecx
xorps xmm0, xmm0
lea rdx, [0x140009e20]
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movaps xmm0, xmmword [rbp - 0x19]
lea r8, [0x140009e50]
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov ecx, ebx
call fcn.14000816c
and qword [rbp - 0x21], 0
lea rdx, [rbp - 0x21]
mov ecx, ebx
mov rsi, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rbp - 0x29], eax
mov ebx, eax
test eax, eax
jne 0x140006fdf
mov rcx, qword [rbp - 0x21]
lea rdx, [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rbp - 0x29]
mov r9b, 1
lea r8d, [rbx + 4]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140006084
mov ebx, dword [rbp - 0x29]
test ebx, ebx
js 0x140006fdf
lea rcx, [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140009400
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret