joyce8/EMBER2024-capa huggingface dataset:
Function at 0x24cfe8a40
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x24cfe8a88
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x24cfe8a5a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x24cffc460
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x24cffc488
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x24cffc4d0
cdqe
add rsi, rax
sub rbx, rax
jne 0x24cffc4a0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x24cffc4dc
call rbp
cmp dword [rax], 4
je 0x24cffc4a0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x24d023370
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x24d028020]
jmp sym.__emutls_get_address

Function at 0x24d023380
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x24d028020]
jmp sym.__emutls_get_address

Function at 0x1004010e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str._______________Q_msgkey____M_shmkey____S_semkey__...
lea r8, str.usage:_ipcrm___q_msqid____m_shmid____s_semid_
lea rdx, str._s_n_s_n
call sub.cygwin1.dll_fprintf
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop word cs:[rax + rax]
Function at 0x140003bb0
Capabilities:
Delete file

Disassembly:
mov rcx, qword [0x14003dcd8]
test rcx, rcx
jne 0x140003bbf
xor al, al
ret
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x50]
jmp fcn.140003c50

Function at 0x140003bd0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x68
xorps xmm0, xmm0
mov dword [rsp + 0x34], 0
mov rdx, rcx
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x20]
mov dword [rsp + 0x30], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], 0
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 0x40
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
and eax, 0xc0000000
cmp eax, 0xc0000000
setne al
add rsp, 0x68
ret
Function at 0x140003c50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
xorps xmm0, xmm0
mov rdx, rcx
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edi, edi
mov qword [rbp + 0x27], 0x30
mov qword [rsp + 0x70], rdi
lea rax, [rbp + 7]
mov dword [rsp + 0x68], 0x100
lea r9, [rbp + 0x17]
mov qword [rsp + 0x60], rdi
lea r8, [rbp + 0x27]
mov dword [rsp + 0x58], edi
lea rcx, [rbp + 0x77]
mov dword [rsp + 0x50], edi
xorps xmm0, xmm0
mov qword [rsp + 0x48], rdi
mov edx, 0x110000
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
mov qword [rbp + 0x3f], 0x240
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x37], rax
movdqu xmmword [rbp + 0x47], xmm0
mov qword [rbp + 0x77], rdi
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x140003d36
cmp byte [0x14003dcf0], dil
je 0x140003e38
lea rcx, [0x1400109a0]
mov edx, eax
call fcn.14000ca70
xor al, al
jmp 0x140003e3e
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
mov rcx, qword [rbp + 0x77]
xor r9d, r9d
mov qword [rbp + 0x6f], rdi
mov edx, 0x110000
mov qword [rsp + 0x30], rdi
mov r8, qword [r8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x656c6946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov ecx, eax
xor edx, edx
and ecx, 0xc0000000
mov ebx, eax
cmp ecx, 0xc0000000
jne 0x140003dac
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
cmp byte [0x14003dcf0], dil
je 0x140003e38
mov edx, ebx
lea rcx, [0x1400109e0]
call fcn.14000ca70
xor al, al
jmp 0x140003e3e
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], rdi
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
mov qword [rcx], rdi
mov rcx, qword [rbp + 0x6f]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
movzx ebx, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x77]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
test bl, bl
jne 0x140003e07
cmp byte [0x14003dcf0], dil
je 0x140003e38
lea rcx, [0x140010a30]
call fcn.14000ca70
xor al, al
jmp 0x140003e3e
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x140003e3c
cmp byte [0x14003dcf0], dil
je 0x140003e38
lea rcx, [0x140010a70]
mov edx, eax
call fcn.14000ca70
xor al, al
jmp 0x140003e3e
mov al, 1
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003e60
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x40
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x48]
mov dword [rsp + 0x58], 0x30
lea r8, [rsp + 0x58]
mov qword [rsp + 0x60], 0
mov edx, 0x80000000
mov dword [rsp + 0x70], 0x240
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 3
movdqu xmmword [rsp + 0x78], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x140003f0a
cmp byte [0x14003dcf0], 0
je 0x140003f77
mov edx, eax
lea rcx, [0x140010b70]
call fcn.14000ca70
xor eax, eax
jmp 0x140003f88
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x88]
xor eax, eax
mov dword [rsp + 0x20], 5
xorps xmm0, xmm0
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x88], xmm0
lea r9d, [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ecx, eax
mov ebx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
mov rcx, qword [rsp + 0x30]
jne 0x140003f7b
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x14003dcf0], 0
je 0x140003f77
mov edx, ebx
lea rcx, [0x140010ba0]
call fcn.14000ca70
xor eax, eax
jmp 0x140003f88
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0xb0
pop rbx
ret

Function at 0x140003fb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rdi, rdx
mov ebx, r8d
mov rdx, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x40
xorps xmm0, xmm0
mov qword [rsp + 0x88], rax
lea r9, [rsp + 0x68]
mov dword [rsp + 0x78], 0x30
lea r8, [rsp + 0x78]
mov qword [rsp + 0x80], 0
mov edx, 0x80000000
mov dword [rsp + 0x90], 0x240
lea rcx, [rsp + 0xd8]
mov dword [rsp + 0x20], 3
movdqu xmmword [rsp + 0x98], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x140004074
cmp byte [0x14003dcf0], 0
je 0x1400040f0
mov edx, eax
lea rcx, [0x140010b10]
call fcn.14000ca70
xor al, al
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
mov rcx, qword [rsp + 0xd8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], 0
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov ecx, eax
mov ebx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
mov rcx, qword [rsp + 0xd8]
jne 0x140004103
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x14003dcf0], 0
je 0x1400040f0
mov edx, ebx
lea rcx, [0x140010b40]
call fcn.14000ca70
xor al, al
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0xc0]
mov al, 1
add rsp, 0xb0
pop rdi
ret
Function at 0x140004410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rdi, rdx
mov ebx, r8d
mov rdx, rcx
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor esi, esi
mov dword [rsp + 0x88], 0x30
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x78]
mov dword [rsp + 0x40], 0x40
lea r8, [rsp + 0x88]
mov dword [rsp + 0x38], 5
lea rcx, [rsp + 0xe8]
mov dword [rsp + 0x30], 3
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x10000000
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0xa0], 0x240
mov qword [rsp + 0x98], rax
movdqu xmmword [rsp + 0xa8], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x1400044ef
cmp byte [0x14003dcf0], sil
je 0x140004563
mov edx, eax
lea rcx, [0x140010ab0]
call fcn.14000ca70
xor al, al
jmp 0x14000456f
mov rcx, qword [rsp + 0xe8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], rsi
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov ecx, eax
mov ebx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
mov rcx, qword [rsp + 0xe8]
jne 0x140004567
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x14003dcf0], sil
je 0x140004563
mov edx, ebx
lea rcx, [0x140010ae0]
call fcn.14000ca70
xor al, al
jmp 0x14000456f
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140005780
Capabilities:
Attach user process memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0xd0]
mov ebp, r9d
mov edi, r8d
mov rbx, rdx
mov esi, ecx
call fcn.140009ec0
test rax, rax
jne 0x1400057d7
cmp byte [0x14003dcf0], al
je 0x1400057d0
mov edx, esi
lea rcx, [0x140011250]
call fcn.14000ca70
xor al, al
jmp 0x1400058a1
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
mov rcx, rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
cmp qword [0x14003d158], 0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
jne 0x14000582a
lea rcx, [0x140011230]
call fcn.14000b600
mov qword [0x14003d158], rax
test rax, rax
jne 0x14000582a
mov edi, 0xc0000001
jmp 0x140005874
xor ecx, ecx
call fcn.14000cd50
movzx ebx, al
mov qword [rsp + 0x20], r14
mov rax, qword [0x14003d158]
lea r8, [rsp + 0x30]
mov r9d, ebp
lea rdx, [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call qword [0x1400153f0]
movzx ecx, bl
mov edi, eax
call fcn.14000cd50
mov ecx, edi
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x14000588b
cmp byte [0x14003dcf0], 0
je 0x14000588b
mov edx, esi
lea rcx, [0x140011290]
call fcn.14000ca70
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
shr edi, 0x1f
xor dil, 1
movzx eax, dil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140005db0
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov esi, ecx
call fcn.140009ec0
test rax, rax
jne 0x140005df3
cmp byte [0x14003dcf0], al
je 0x140005dec
lea rcx, [0x1400112e0]
call fcn.14000ca70
xor al, al
jmp 0x140005e98
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x20]
mov rcx, rax
movups xmmword [rsp + 0x20], xmm0
mov bl, 1
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, rdi
call fcn.140009820
test al, al
jne 0x140005e3c
xor bl, bl
cmp byte [0x14003dcf0], bl
je 0x140005e82
lea rcx, [0x140011310]
jmp 0x140005e7d
mov rdx, rdi
mov rcx, rdi
call fcn.140009b30
test al, al
jne 0x140005e5e
xor bl, bl
cmp byte [0x14003dcf0], bl
je 0x140005e82
lea rcx, [0x140011330]
jmp 0x140005e7d
mov rdx, rdi
mov ecx, esi
call fcn.1400098c0
test al, al
jne 0x140005e82
xor bl, bl
cmp byte [0x14003dcf0], bl
je 0x140005e82
lea rcx, [0x140011360]
call fcn.14000ca70
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
movzx eax, bl
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ed70
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x140005ef0
Capabilities:
Allocate or change rwx memory
Allocate user process rwx memory
Attach user process memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebp, r9d
mov esi, r8d
mov rdi, rdx
mov ebx, ecx
call fcn.140009ec0
test rax, rax
jne 0x140005f41
cmp byte [0x14003dcf0], al
je 0x140005fc0
mov edx, ebx
lea rcx, [0x1400110d0]
call fcn.14000ca70
xor eax, eax
jmp 0x140005fe5
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
mov rcx, rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov eax, dword [rsp + 0xd0]
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x140005fc4
cmp byte [0x14003dcf0], 0
je 0x140005fc0
mov edx, eax
lea rcx, [0x140011120]
call fcn.14000ca70
xor eax, eax
jmp 0x140005fe5
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400101c0
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006000
Capabilities:
Attach user process memory
Free user process memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov ebx, ecx
call fcn.140009ec0
test rax, rax
jne 0x140006045
cmp byte [0x14003dcf0], al
je 0x14000603e
mov edx, ebx
lea rcx, [0x140011170]
call fcn.14000ca70
xor al, al
jmp 0x1400060c9
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
mov rcx, rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov ecx, eax
mov ebx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x1400060b9
cmp byte [0x14003dcf0], 0
je 0x1400060b9
mov edx, eax
lea rcx, [0x1400111b0]
call fcn.14000ca70
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test ebx, ebx
setns al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000ed70
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x1400081e0
Capabilities:
Attach user process memory

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov edi, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x28], r14d
test rdx, rdx
je 0x14000823c
call fcn.140009ec0
test rax, rax
jne 0x14000825a
cmp byte [0x14003dcf0], al
je 0x14000823c
mov edx, edi
lea rcx, [0x140012220]
call fcn.14000ca70
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov bl, 1
mov byte [rsp + 0x20], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
cmp edi, 4
je 0x14000829f
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
test r14, r14
je 0x14000829f
lea rcx, [rsi + r14]
cmp rcx, rsi
jb 0x1400082ae
mov rax, qword [sym.imp.ntoskrnl.exe_MmUserProbeAddress]
cmp rcx, qword [rax]
ja 0x1400082ae
mov rdx, r14
mov rcx, rsi
call fcn.140007d00
test al, al
jne 0x1400082b2
xor bl, bl
jmp 0x1400082ea
mov r8, r14
mov rdx, rsi
mov rcx, r15
call fcn.14000ff00
jmp 0x1400082ea
cmp edi, 4
je 0x1400082fa
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
movzx eax, bl
jmp 0x14000823e

Function at 0x140008310
Capabilities:
Attach user process memory

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x78
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
mov edi, ecx
call fcn.140009ec0
test rax, rax
jne 0x14000835b
cmp byte [0x14003dcf0], al
je 0x140008354
mov edx, edi
lea rcx, [0x1400123b0]
call fcn.14000ca70
xor al, al
jmp 0x14000843f
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
cmp edi, 4
je 0x140008385
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rdx, rbp
mov ecx, edi
call fcn.140005780
cmp edi, 4
setne cl
call fcn.14000cd50
mov r9d, r14d
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rbp
mov rcx, 0xffffffffffffffff
movzx ebx, al
call fcn.140008000
movzx ecx, bl
mov esi, eax
call fcn.14000cd50
mov rbx, qword [rsp + 0x70]
mov ecx, esi
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x14000840f
cmp byte [0x14003dcf0], 0
je 0x14000840f
mov r8d, esi
lea rcx, [0x1400123f0]
mov edx, edi
call fcn.14000ca70
mov r9d, dword [rsp + 0x30]
mov r8d, r14d
mov rdx, rbp
mov qword [rsp + 0x20], 0
mov ecx, edi
call fcn.140005780
cmp edi, 4
je 0x14000843a
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test esi, esi
setns al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008620
Capabilities:
Attach user process memory

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x78
mov rax, qword [0x14003cf48]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
mov edi, ecx
call fcn.140009ec0
test rax, rax
jne 0x14000866b
cmp byte [0x14003dcf0], al
je 0x140008664
mov edx, edi
lea rcx, [0x140012440]
call fcn.14000ca70
xor al, al
jmp 0x14000874f
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
cmp edi, 4
je 0x140008695
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rdx, rbp
mov ecx, edi
call fcn.140005780
cmp edi, 4
setne cl
call fcn.14000cd50
mov r9d, r14d
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rbp
mov rcx, 0xffffffffffffffff
movzx ebx, al
call fcn.140008090
movzx ecx, bl
mov esi, eax
call fcn.14000cd50
mov rbx, qword [rsp + 0x70]
mov ecx, esi
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x14000871f
cmp byte [0x14003dcf0], 0
je 0x14000871f
mov r8d, esi
lea rcx, [0x140012480]
mov edx, edi
call fcn.14000ca70
mov r9d, dword [rsp + 0x30]
mov r8d, r14d
mov rdx, rbp
mov qword [rsp + 0x20], 0
mov ecx, edi
call fcn.140005780
cmp edi, 4
je 0x14000874a
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test esi, esi
setns al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000ed70
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140008770
Capabilities:
Attach user process memory

Disassembly:
mov dword [rsp + 0x28], 3
jmp fcn.140007730
Function at 0x1400093a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1400093fa
test r9, r9
jne 0x1400093fa
mov rax, qword [0x14003d858]
test rax, rax
je 0x1400093fa
mov ecx, dword [0x14003d860]
test ecx, ecx
je 0x1400093fa
test rdi, rdi
je 0x1400093e2
mov qword [rdi], rax
test rbx, rbx
je 0x1400093e9
mov dword [rdx], ecx
mov al, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov edx, dword [rsp + 0x50]
xor ecx, ecx
mov r8d, 0x6f734d64
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
jne 0x140009453
cmp byte [0x14003dcf0], al
je 0x14000944c
mov edx, dword [rsp + 0x50]
lea rcx, [0x140012800]
call fcn.14000ca70
xor al, al
jmp 0x140009581
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x140009489
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor al, al
jmp 0x140009581
mov rcx, qword [rsi + 0x18]
mov eax, dword [rsi + 0x20]
mov qword [0x14003d858], rcx
mov dword [0x14003d860], eax
test rdi, rdi
je 0x1400094a5
mov qword [rdi], rcx
test rbx, rbx
je 0x1400094ac
mov dword [rbx], eax
mov rdi, 0xffffffffffffffff
test r14, r14
je 0x140009554
mov rbx, rdi
nop
inc rbx
cmp byte [rsi + rbx + 0x30], 0
jne 0x1400094c0
test ebx, ebx
je 0x140009554
mov qword [rsp + 0x40], rbp
nop word [rax + rax]
mov ebp, ebx
lea rcx, [rsi + 0x30]
add rcx, rbp
lea rdx, [0x140012850]
mov r8d, 1
call sub.ntoskrnl.exe_strncmp
test eax, eax
je 0x140009506
add ebx, 0xffffffff
jne 0x1400094e0
jmp 0x14000954f
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rsi + r8 + 0x30], 0
jne 0x140009510
xor edx, edx
mov rcx, r14
call fcn.1400101c0
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8 + 0x30], 0
jne 0x140009530
mov eax, ebx
lea rdx, [rsi + 0x31]
sub r8, rax
add rdx, rbp
mov rcx, r14
call sub.ntoskrnl.exe_strncpy
mov rbp, qword [rsp + 0x40]
test r15, r15
je 0x140009574
lea rdx, [rsi + 0x30]
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140009560
mov r8, rdi
mov rcx, r15
call fcn.14000ff00
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, 1
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret