joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000242d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002424
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000242f
add rax, 0x28
cmp rax, r9
jne 0x140002410
xor eax, eax
ret

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400024c0
mov rdx, qword [0x140004400]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400024ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400024ae
cmp word [rax + 0x18], 0x20b
jne 0x1400024ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400024c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002499
add rbx, 0x28
cmp rbx, rdi
je 0x1400024c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002490
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x140004400]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400024f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400024f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000254d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002544
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400024f0
add rax, 0x28
cmp rax, r9
jne 0x140002530
xor eax, eax
ret

Function at 0x140002550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004400]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000256f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002578
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000256f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002590
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004400]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002600
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400025f7
test rcx, rcx
je 0x1400025b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400025e8
xor eax, eax
ret
Function at 0x140002610
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004400]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000262f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002638
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x140004400]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002670
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002678
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002670
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002670
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400026c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400026d0
add rdx, 0x28
cmp r9, rdx
jne 0x1400026b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004400]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002702
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002710
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002702
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002702
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002702
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002765
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002778
add rdx, 0x28
cmp rdx, r10
jne 0x140002750
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002787
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002797
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000276e
test ecx, ecx
jg 0x140002780
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001097
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001097
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4b023cd7
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140001092
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140001070
cmp r8d, 0xe424bc89
je 0x14000109c
test r9d, r9d
jne 0x140001050
mov rax, qword [rax]
jmp 0x140001020
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, str.user32.dll
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001147
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001147
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb9fa9ccf
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001142
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001120
cmp r8d, 0xd894e4fe
je 0x14000114c
test r9d, r9d
jne 0x140001100
mov rax, qword [rax]
jmp 0x1400010d0
mov ecx, dword [rbx + 0x24]
lea r8, [0x14000224c]
add rcx, r10
movzx edx, word [rcx + r9*2]
xor r9d, r9d
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14000224c]
add rax, r10
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140001a7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac8
xor al, al
add rsp, 0x28
ret
Function at 0x1400048ec
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400121b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
lea r8, [rsp + 0x20]
mov rcx, qword [0x1400121f8]
lea rdx, [0x14000ee70]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call fcn.14000a33c
test eax, eax
js 0x14000499b
mov ecx, dword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000499b
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdx, qword [rsp + 0x28]
mov r8, rbp
mov rcx, rdi
call fcn.140004b24
test rax, rax
je 0x140004980
mov r8, rsi
mov rdx, rax
mov rcx, rdi
call fcn.1400049bc
mov rbx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x14000499d
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000e560
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400049bc
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
xor edi, edi
mov rbx, rdx
test rdx, rdx
je 0x140004afe
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140004afe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140004afe
movups xmm1, xmmword [rax + 0x28]
add rax, 0x18
lea rcx, [rsp + 0x20]
mov edx, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm0, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
cmp dword [rsp + 0x90], edi
je 0x140004afe
mov esi, dword [r11 - 0xa8]
mov ebp, edi
add rsi, rbx
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x24]
add r14, rbx
mov r13d, dword [rsi + 0x20]
add r15, rbx
add r13, rbx
cmp dword [rsi + 0x18], edi
jbe 0x140004af9
mov r12d, ebp
mov rdx, r8
mov ecx, dword [r13 + r12*4]
add rcx, rbx
call sub.ntoskrnl.exe__stricmp
test eax, eax
je 0x140004aed
mov r8, qword [rsp + 0x150]
inc ebp
cmp ebp, dword [rsi + 0x18]
jb 0x140004ac5
jmp 0x140004af9
movzx eax, word [r15 + r12*2]
mov edi, dword [r14 + rax*4]
add rdi, rbx
mov rax, rdi
jmp 0x140004b00
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140004bd8
Capabilities:
Check for software breakpoints
Get system information on windows
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400121b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [0x14000eed0]
and dword [rsp + 0x20], 0
lea r9, [r11 - 0x48]
xor ebx, ebx
mov r13, rcx
xor r8d, r8d
xor edx, edx
movdqu xmmword [rsp + 0x28], xmm0
lea edi, [rbx + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov esi, 0xc0000004
mov r12d, 0x6864694e
jmp 0x140004ca5
test rbx, rbx
je 0x140004c4b
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x1400121d8]
mov edx, dword [rsp + 0x20]
test rax, rax
je 0x140004c77
cmp dword [0x1400121d0], 0x4a61
jb 0x140004c77
mov r8d, r12d
mov ecx, 0x100
call qword [0x1400102b0]
jmp 0x140004c85
mov r8d, r12d
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140004d27
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, esi
je 0x140004c3a
test eax, eax
js 0x140004cfc
test rbx, rbx
je 0x140004cfc
mov r8d, dword [rbx]
xor edx, edx
test r8d, r8d
je 0x140004ce9
lea rcx, [rbx + 0x20]
mov r9, qword [rcx - 8]
cmp qword [sym.imp.ntoskrnl.exe_NtCreateFile], r9
jb 0x140004cdb
mov eax, dword [rcx]
add rax, r9
cmp qword [sym.imp.ntoskrnl.exe_NtCreateFile], rax
jb 0x140004d2e
inc edx
add rcx, 0x128
cmp edx, r8d
jb 0x140004cc0
mov edi, 0xc0000225
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000e560
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 0xc000009a
jmp 0x140004cfc
mov eax, edx
imul rcx, rax, 0x128
mov rbp, qword [rcx + rbx + 0x18]
test rbp, rbp
je 0x140004ce9
mov eax, 0x5a4d
mov edi, 0xc0000225
cmp word [rbp], ax
jne 0x140004e09
movsxd rax, dword [rbp + 0x3c]
cmp dword [rax + rbp], 0x4550
jne 0x140004e09
lea rsi, [rbp + 0x108]
add rsi, rax
movzx eax, word [rax + rbp + 6]
lea rcx, [rax + rax*4]
lea r15, [rsi + rcx*8]
jmp 0x140004ddd
lea rdx, [0x14000eee0]
mov rcx, rsi
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x140004dd9
mov r14d, dword [rsi + 0xc]
mov r10d, dword [rsi + 8]
add r14, rbp
je 0x140004dd9
test r10d, r10d
je 0x140004dd9
xor edx, edx
test r10d, r10d
je 0x140004dd9
xor r8d, r8d
lea r9, [rsp + 0x28]
mov r11b, byte [r9]
cmp r11b, 0xcc
je 0x140004dc6
lea eax, [r8 + rdx]
cmp r11b, byte [rax + r14]
jne 0x140004de7
inc r8d
inc r9
cmp r8d, 0xf
jb 0x140004db3
mov eax, edx
add rax, r14
jne 0x140004df0
add rsi, 0x28
cmp rsi, r15
jb 0x140004d7f
jmp 0x140004cee
inc edx
cmp edx, r10d
jb 0x140004dab
jmp 0x140004dd9
mov r8d, dword [rax + 3]
xor edi, edi
add r8, 7
add r8, rax
mov qword [r13 + 0x1030], r8
jmp 0x140004cee
mov edi, 0xc0000141
jmp 0x140004cee
Function at 0x140004e14
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400121b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
lea r8, [rbp - 0x48]
mov r15, rdx
mov qword [rbp - 0x50], rbx
mov r14, rcx
mov dword [rbp - 0x48], ebx
mov rcx, qword [0x1400121f8]
lea rdx, [0x14000ee70]
mov edi, ebx
mov sil, bl
call fcn.14000a33c
test eax, eax
js 0x140004eaf
mov ecx, dword [rbp - 0x48]
lea rdx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140004eaf
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdx, qword [rbp - 0x50]
lea r8, [0x14000ee90]
mov rcx, r14
call fcn.140004b24
test rax, rax
jne 0x140004ed1
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000e560
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r8, r15
mov rdx, rax
mov rcx, r14
call fcn.1400049bc
mov rcx, rax
test rax, rax
je 0x140004e9b
mov al, byte [rax]
jmp 0x140004ef8
inc edi
cmp al, 0xb8
jne 0x140004ef5
mov sil, byte [rdi + rcx]
mov al, byte [rdi + rcx]
cmp al, 0xc3
jne 0x140004eeb
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test sil, sil
je 0x140004f24
mov rax, qword [r14 + 0x1030]
mov rcx, qword [rax]
movzx eax, sil
movsxd rbx, dword [rcx + rax*4]
sar rbx, 4
add rbx, rcx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x140004eb1
Function at 0x1400058fc
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov edi, dword [rdx + 4]
xor r15d, r15d
mov eax, dword [rdx + 8]
mov rbx, rdx
mov r14, rcx
mov dword [rbp + 0xb], r15d
mov ecx, edi
mov dword [rbp + 0x23], r15d
lea rdx, [rbp - 0x19]
mov qword [rbp + 0x77], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x19], r15
mov qword [rbp + 0x6f], r15
mov qword [rbp + 0x7f], rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140005acd
xorps xmm0, xmm0
mov dword [rbp + 7], 0x30
lea r9, [rbp - 9]
mov qword [rbp + 0xf], r15
lea r8, [rbp + 7]
mov dword [rbp + 0x1f], 0x200
mov edx, 0x1fffff
mov qword [rbp + 0x17], r15
lea rcx, [rbp + 0x77]
mov qword [rbp - 9], rdi
movdqu xmmword [rbp + 0x27], xmm0
mov qword [rbp - 1], r15
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov esi, eax
test eax, eax
js 0x140005a7c
mov rcx, qword [rbp + 0x77]
lea r9, [rbp + 0x7f]
mov dword [rsp + 0x28], 0x20
lea rdx, [rbp + 0x6f]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov esi, eax
test eax, eax
js 0x140005a7c
mov eax, dword [rbx + 8]
mov rcx, r14
mov r9, qword [rbp + 0x6f]
mov r8, qword [rbp - 0x19]
mov rdx, qword [rbx + 0x10]
mov dword [rsp + 0x28], 1
mov qword [rbp + 0x7f], rax
mov qword [rsp + 0x20], rax
call fcn.140005c00
mov esi, eax
test eax, eax
js 0x140005a7c
mov qword [rsp + 0x50], r15
lea r8, [rbp + 7]
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 7], 0x30
mov edx, 0x1fffff
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x1f], 0x200
mov qword [rbp + 0x17], r15
mov rdi, qword gs:[0x188]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov bl, byte [rdi + 0x232]
mov byte [rdi + 0x232], r15b
mov rcx, qword [rbp + 0x6f]
mov rax, qword [r14 + 0x1038]
mov r9, qword [rbp + 0x77]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x11]
call qword [0x1400102b0]
mov esi, eax
mov byte [rdi + 0x232], bl
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140005a8b
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test esi, esi
jns 0x140005aad
cmp qword [rbp + 0x6f], r15
je 0x140005aad
mov rcx, qword [rbp + 0x77]
lea r8, [rbp + 0x7f]
mov r9d, 0x4000
lea rdx, [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140005abc
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140005acb
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005dd0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400121b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rdx + 0x20]
xor r15d, r15d
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x31], r15
mov rbx, rsi
mov qword [rbp - 0x29], r15
mov rdi, rdx
mov r14, rcx
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140005e12
lea rbx, [rbx*2 + 2]
mov r8, rbx
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.140002fe4
mov rdx, qword [rdi + 0x20]
lea rcx, [rbp - 0x11]
mov r8, rbx
call fcn.140003aa0
mov ebx, eax
test eax, eax
js 0x140005f45
mov rax, qword [rdi + 0x20]
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x140005e52
lea rbx, [rsi*2 + 2]
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x21]
call fcn.140002fe4
mov rdx, qword [rdi + 0x18]
lea rcx, [rbp - 0x21]
mov r8, rbx
call fcn.140003aa0
mov ebx, eax
test eax, eax
js 0x140005f31
mov ecx, dword [rdi]
lea rdx, [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x140005f31
mov rcx, qword [rbp - 0x39]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [rbp - 0x31]
mov rcx, r14
mov rdx, qword [rbp - 0x39]
call fcn.140004b24
test rax, rax
jne 0x140005ecd
lea rcx, [rbp - 1]
jmp 0x140005ee8
mov r8, qword [rbp - 0x29]
mov rdx, rax
mov rcx, r14
call fcn.1400049bc
lea rcx, [rbp - 1]
mov rbx, rax
test rax, rax
jne 0x140005eff
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov ebx, 0xc0000001
jmp 0x140005f31
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, dword [rdi + 0x10]
mov r9, rbx
mov r8, qword [rbp - 0x39]
mov rcx, r14
mov rdx, qword [rdi + 8]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.140005c00
mov rcx, qword [rbp - 0x39]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140005f45
mov edx, 0x6864694e
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140005f59
mov edx, 0x6864694e
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000e560
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005fa4
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400121b0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
and qword [rsp + 0x30], 0
mov r13d, 0x19e
mov rsi, r8
mov qword [rsp + 0x38], r13
mov r14, rdx
mov rdi, rcx
mov r8d, r13d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r15, r9
call fcn.14000e840
mov rcx, qword [0x1400121e0]
lea r8, [0x14000ed60]
lea rdx, [0x14000eda0]
call fcn.1400048ec
mov rcx, qword [0x1400121e0]
lea r8, [0x14000ed60]
lea rdx, [0x14000edb0]
mov rbx, rax
call fcn.1400048ec
mov r8, rax
test rsi, rsi
je 0x140006159
test rbx, rbx
je 0x140006159
test rax, rax
je 0x140006159
xor ecx, ecx
mov edx, r13d
lea rax, [0x140012010]
mov al, byte [rcx + rax]
xor al, 0x31
mov byte [rsp + rcx + 0x50], al
inc rcx
sub rdx, 1
jne 0x140006055
mov qword [rsp + 0x7a], r8
or r8, 0xffffffffffffffff
mov qword [rbp - 0x52], rbx
inc r8
cmp byte [rsi + r8], 0
jne 0x14000607b
inc r8
lea rcx, [rbp - 0x26]
mov rdx, rsi
call fcn.14000ea40
lea r9, [rsp + 0x38]
mov dword [rsp + 0x28], 0x20
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000615e
and dword [rsp + 0x28], 0
lea rdx, [rsp + 0x50]
mov r9, qword [rsp + 0x30]
mov r8, r14
mov rcx, qword [0x1400121e0]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], r13
call fcn.140005c00
mov ebx, eax
test eax, eax
jns 0x14000610d
mov r9d, 0x4000
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov eax, ebx
jmp 0x14000615e
mov r9, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
and dword [rsp + 0x28], 0
mov r8, r14
mov rcx, qword [0x1400121e0]
mov qword [rsp + 0x38], r13
lea rax, [r9 + 0x8a]
mov qword [rsp + 0x20], 8
add r9, 0x72
mov qword [rsp + 0x40], rax
call fcn.140005c00
mov ebx, eax
test eax, eax
js 0x1400060f0
mov rax, qword [rsp + 0x30]
mov qword [r15], rax
jmp 0x140006109
mov eax, 0xc000000d
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000e560
add rsp, 0x200
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret