joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7c00d4200
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x60
xor r12d, r12d
mov esi, r8d
mov r8d, dword [rcx + 8]
mov r14, rdx
mov rbx, rcx
mov edi, r12d
test r8b, 2
je 0x7ff7c00d4239
mov r8d, esi
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.7ff7c00d4170
cmp dword [rcx + 0x2c], r12d
jne 0x7ff7c00d42a2
mov edx, dword [rcx + 0x28]
mov ecx, dword [rcx + 0x24]
cmp edx, ecx
je 0x7ff7c00d428c
sub ecx, edx
movsxd rdx, ecx
add rdx, qword [rbx + 0x10]
mov qword [rbx + 0x10], rdx
test r8b, 8
jne 0x7ff7c00d428c
mov rcx, qword ds:[rbx]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdx
mov r9d, 8
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
test eax, eax
js 0x7ff7c00d4294
mov qword [rbx + 0x24], r12
test edi, edi
jns 0x7ff7c00d42a2
mov eax, edi
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r8d, dword [rbx + 0x2c]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
test r8d, r8d
je 0x7ff7c00d430c
mov ebp, dword [rbx + 0x20]
sub ebp, r8d
je 0x7ff7c00d42ef
mov ecx, r8d
cmp ebp, esi
mov rdx, r14
cmova ebp, esi
add rcx, qword [rbx + 0x18]
mov r8d, ebp
mov r15d, ebp
call fcn.7ff7c0125120
mov r8d, dword [rbx + 0x2c]
add r8d, ebp
mov dword [rbx + 0x2c], r8d
cmp ebp, esi
je 0x7ff7c00d438e
add r14, r15
sub esi, ebp
mov rdx, qword [rbx + 0x18]
mov rcx, rbx
call fcn.7ff7c00d4170
mov edi, eax
test eax, eax
js 0x7ff7c00d4390
mov dword [rbx + 0x2c], r12d
mov eax, dword [rbx + 0x20]
cmp esi, eax
jb 0x7ff7c00d432d
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.7ff7c00d4170
mov edi, eax
test eax, eax
jns 0x7ff7c00d438e
jmp 0x7ff7c00d4390
test esi, esi
je 0x7ff7c00d438e
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x7ff7c00d4380
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x20], 0x1000
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x7ff7c00d43a6
mov rcx, qword [rsp + 0x30]
mov qword [rbx + 0x18], rcx
test rcx, rcx
je 0x7ff7c00d43aa
mov edi, r12d
mov r8d, esi
mov rdx, r14
call fcn.7ff7c0125120
mov dword [rbx + 0x2c], esi
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rbx + 0x18], r12
mov eax, 0xc0000017
jmp 0x7ff7c00d4390
Function at 0x7ff7c00d43c0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov r8d, dword [rcx + 0x2c]
xor r9d, r9d
movzx edi, dl
mov rbx, rcx
test r8d, r8d
je 0x7ff7c00d43f7
mov rdx, qword [rcx + 0x18]
call fcn.7ff7c00d4170
mov r9d, eax
test eax, eax
js 0x7ff7c00d447d
mov dword [rbx + 0x2c], 0
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x7ff7c00d445a
mov edx, dword [rbx + 0x28]
xor r9d, r9d
cmp edx, ecx
je 0x7ff7c00d444d
sub ecx, edx
movsxd rdx, ecx
add rdx, qword [rbx + 0x10]
test byte [rbx + 8], 8
mov qword [rbx + 0x10], rdx
jne 0x7ff7c00d444d
mov rcx, qword ds:[rbx]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdx
mov r9d, 8
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov r9d, eax
test eax, eax
js 0x7ff7c00d447a
mov qword [rbx + 0x24], 0
test r9d, r9d
js 0x7ff7c00d447a
test dil, dil
je 0x7ff7c00d447a
cmp dword [rbx + 8], 0
jge 0x7ff7c00d447a
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
mov r9d, eax
test eax, eax
js 0x7ff7c00d447d
mov eax, r9d
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x7ff7c00d44b0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov rdi, rdx
xor ecx, ecx
test r8d, r8d
je 0x7ff7c00d4522
sub r8d, 1
je 0x7ff7c00d4519
cmp r8d, 1
jne 0x7ff7c00d4529
lea r9d, [rcx + 0x18]
mov dword [rsp + 0x20], 5
mov rcx, qword [rbx]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
test eax, eax
js 0x7ff7c00d4561
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi]
add qword [rbx + 0x10], rax
jmp 0x7ff7c00d4529
mov rax, qword [rdx]
add qword [rbx + 0x10], rax
jmp 0x7ff7c00d4529
mov rax, qword [rdx]
mov qword [rbx + 0x10], rax
test byte [rbx + 8], 8
jne 0x7ff7c00d455f
mov rax, qword [rbx + 0x10]
lea r8, [rsp + 0x30]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
mov r9d, 8
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ecx, eax
test eax, eax
js 0x7ff7c00d4561
mov eax, ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7c0121390
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x7ff7c00d8620
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x90
cmp byte [0x7ff7c01d30ef], 0
mov edi, edx
mov rsi, rcx
je 0x7ff7c00d86f7
mov qword [r11 - 0x48], rcx
lea rax, [0x7ff7c00e3cf0]
xor ecx, ecx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x48], ecx
lea rax, [r11 - 0x48]
mov qword [r11 - 0x58], rcx
lea r8, [0x7ff7c00e3af0]
mov qword [r11 - 0x20], rax
xor r9d, r9d
lea rax, [r11 + 0x18]
mov dword [rsp + 0x38], 4
mov qword [r11 - 0x68], rax
lea rax, [r11 - 0x38]
mov dword [rsp + 0x58], edx
xor edx, edx
mov dword [rsp + 0x5c], ecx
mov rcx, qword [0x7ff7c01d3db0]
mov dword [rsp + 0x28], 0x9999200b
mov qword [r11 - 0x78], rax
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], 2
mov dword [r11 - 0x18], 0xc0000001
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtTestAlert]
mov eax, dword ds:[rsp + 0x80]
test ebx, ebx
cmovs eax, ebx
mov rbx, qword [rsp + 0xa0]
cmp eax, 0xc00000db
jne 0x7ff7c00d86f0
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
cmp eax, 0xc00000bb
jne 0x7ff7c00d8706
mov edx, edi
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
mov rsi, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x7ff7c00db010
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x30]
mov r9d, 0x18
lea r8, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
test eax, eax
js 0x7ff7c00db056
mov rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov eax, ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x60
pop rbx
ret

Function at 0x7ff7c00db070
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rax, qword [rdx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret

Function at 0x7ff7c00db0a0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rdx
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
mov r9d, 8
lea r8, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
test eax, eax
js 0x7ff7c00db0d7
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x40
pop rbx
ret

Function at 0x7ff7c00db0e0
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
mov rax, qword [rdx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret
Function at 0x7ff7c00dc770
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.7ff7c00c47c0
test rax, rax
jne 0x7ff7c00dc789
add rsp, 0x20
pop rbx
ret
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.7ff7c00c4b60

Function at 0x7ff7c00dca00
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov dword [rsp + 0x38], 0x800
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r8d, 0x800
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x7ff7c00dca98
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x7ff7c00dca9f
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7c00dcab0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x7ff7c01d3cd0]
xor edi, edi
mov r8d, 0x800
mov dword [rsp + 0x30], 0x800
lea edx, [rdi + 4]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword ds:[rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
lea ecx, [rdi + 0xb]
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x7ff7c00dcb3d
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
lea edx, [rdi + 4]
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
lea ecx, [rdi + 0xb]
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x7ff7c00dcb4e
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx], 1
jb 0x7ff7c00dcb71
lea rcx, [rbx + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rcx + rdx], dil
jne 0x7ff7c00dcb60
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rdi, rax
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7c00dcba0
Capabilities:
Get system information on windows

Disassembly:
mov edx, 5
jmp sym.ProcessHacker.exe_PhEnumProcessesEx
Function at 0x7ff7c00dcbb0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x20
mov r8d, edx
mov esi, edx
mov r15, rcx
sub r8d, 5
je 0x7ff7c00dcc03
sub r8d, 0x34
je 0x7ff7c00dcbf4
nop
cmp r8d, 0x5b
je 0x7ff7c00dcbe5
mov eax, 0xc0000003
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x7ff7c01d0778]
lea r14, [0x7ff7c01d0778]
jmp 0x7ff7c00dcc10
mov eax, dword [0x7ff7c01d0774]
lea r14, [0x7ff7c01d0774]
jmp 0x7ff7c00dcc10
mov eax, dword [0x7ff7c01d0770]
lea r14, [0x7ff7c01d0770]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x48], eax
mov r8d, eax
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rax
mov ecx, esi
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x7ff7c00dcc5e
cmp eax, 0xc0000004
jne 0x7ff7c00dcc7d
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
jmp 0x7ff7c00dcc21
test ebx, ebx
jns 0x7ff7c00dcc98
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00dcca9
mov eax, dword [rsp + 0x48]
cmp eax, 0x100000
ja 0x7ff7c00dcca6
mov dword [r14], eax
mov qword [r15], rdi
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret

Function at 0x7ff7c00dccc0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x7ff7c01d077c]
mov ebx, edx
mov rsi, rcx
mov dword [rsp + 0x48], eax
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, eax
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov dword [rsp + 0x20], ebx
mov ecx, dword ds:[rsp + 0x48]
lea r9, [rsp + 0x48]
mov r8d, 0x10
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, rax
lea ecx, [r8 + 0x25]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x7ff7c00dcd36
cmp eax, 0xc0000004
jne 0x7ff7c00dcd62
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
nop
jmp 0x7ff7c00dccf7
test ebx, ebx
jns 0x7ff7c00dcd8a
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, dword [0x7ff7c01d077c]
cmp dword [rsp + 0x48], 0x100000
mov rbx, qword [rsp + 0x40]
cmovbe ecx, dword [rsp + 0x48]
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x50]
mov dword [0x7ff7c01d077c], ecx
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7c00dcf40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov ebx, dword [0x7ff7c01d08e0]
mov r14, rcx
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00dcfe7
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x7ff7c00dcfff
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x7ff7c00dcf92
test esi, esi
jns 0x7ff7c00dd006
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00dd01e
mov eax, 0xc000009a
jmp 0x7ff7c00dd020
mov eax, dword [0x7ff7c01d08e0]
cmp ebx, 0x100000
mov qword [r14], rdi
cmovbe eax, ebx
mov dword [0x7ff7c01d08e0], eax
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x7ff7c00dd040
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov ebx, dword [0x7ff7c01d04dc]
mov r14, rcx
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00dd0e7
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x7ff7c00dd0ff
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x7ff7c00dd092
test esi, esi
jns 0x7ff7c00dd106
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00dd11e
mov eax, 0xc000009a
jmp 0x7ff7c00dd120
mov eax, dword [0x7ff7c01d04dc]
cmp ebx, 0x200000
mov qword [r14], rdi
cmovbe eax, ebx
mov dword [0x7ff7c01d04dc], eax
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x7ff7c00dd260
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 0x200
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x12]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00dd307
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x10000000
ja 0x7ff7c00dd31f
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0x12]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x7ff7c00dd2b1
test esi, esi
jns 0x7ff7c00dd326
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00dd329
mov eax, 0xc000009a
jmp 0x7ff7c00dd32b
mov qword [r14], rdi
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x7ff7c00dd350
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 0x200
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x90
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00dd3f7
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x10000000
ja 0x7ff7c00dd40f
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x90
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x7ff7c00dd3a2
test esi, esi
jns 0x7ff7c00dd416
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00dd419
mov eax, 0xc000009a
jmp 0x7ff7c00dd41b
mov qword [r14], rdi
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x7ff7c00dd440
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r15
sub rsp, 0x40
mov r15, rdx
mov rbx, rcx
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r8d, 0x100
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r12d, r12d
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rbp, rax
lea r8d, [r12 + 0x18]
lea ecx, [r12 + 0x58]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00dd500
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx r8d, word [rsp + 0x2a]
lea edx, [r12 + 4]
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r9d, r9d
lea r8d, [r12 + 0x18]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea ecx, [r12 + 0x58]
mov rbp, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
test edi, edi
js 0x7ff7c00dd572
movzx eax, word [rsp + 0x28]
test ax, ax
jne 0x7ff7c00dd518
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x7ff7c00dd56f
mov rdx, qword [0x7ff7c01d3b58]
lea rcx, [rax + 0x12]
mov qword [rsp + 0x60], rsi
mov rsi, rax
mov qword [rsp + 0x68], r14
mov r14, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rsi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rsi], r12w
test r14, r14
je 0x7ff7c00dd565
mov rcx, qword ds:[rbx + 8]
mov r8, rsi
mov rdx, r14
call fcn.7ff7c0125120
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov qword [r15], rbx
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x70]
mov eax, edi
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r12
pop rdi
ret
Function at 0x7ff7c00de470
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
movzx r13d, r8b
mov ebx, edx
mov r15, rcx
mov r14d, 0x400
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, r14d
mov edx, 4
mov r12, r9
mov dil, 1
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rsi, rax
nop dword [rax]
mov byte [rsp + 0x50], dil
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r12
xor r9d, r9d
mov byte [rsp + 0x40], r13b
xor r8d, r8d
mov dword [rsp + 0x38], ebx
xor edx, edx
mov dword [rsp + 0x30], r14d
mov rcx, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov ebx, eax
cmp eax, 0x103
jne 0x7ff7c00de518
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
mov ebx, eax
cmovns ebx, dword [rsp + 0x60]
cmp ebx, 0x80000005
je 0x7ff7c00de528
cmp ebx, 0xc0000004
jne 0x7ff7c00de562
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [0x7ff7c01d3cd0]
lea eax, [r14 + r14]
mov r8d, eax
mov edx, 4
mov r14d, eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov ebx, dword [rsp + 0xa8]
jmp 0x7ff7c00de4ba
cmp ebx, 0x80000006
je 0x7ff7c00de5cf
test ebx, ebx
js 0x7ff7c00de5d1
mov rdx, qword [rsp + 0xc8]
mov rcx, rsi
mov rax, qword [rsp + 0xc0]
xor ebp, ebp
mov rdi, rsi
call qword [case.0x7ff7c00c1f48.0]
nop dword [rax]
test al, al
je 0x7ff7c00de5d1
mov eax, dword [rdi]
test eax, eax
je 0x7ff7c00de5c0
mov rdx, qword [rsp + 0xc8]
add ebp, eax
mov rax, qword [rsp + 0xc0]
mov edi, ebp
add rdi, rsi
mov rcx, rdi
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7c00de594
jmp 0x7ff7c00de5d1
mov ebx, dword [rsp + 0xa8]
xor dil, dil
jmp 0x7ff7c00de4c0
xor ebx, ebx
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x7ff7c00de610
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov esi, 0x200
mov r14, r8
mov r8d, esi
mov rbp, rcx
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r9d, esi
mov dword [rsp + 0x20], 0x16
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ebx, eax
cmp eax, 0x80000005
je 0x7ff7c00dafb5
cmp eax, 0xc0000023
je 0x7ff7c00dafb5
cmp eax, 0xc0000004
jne 0x7ff7c00dafd1
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rsi + rsi]
mov esi, eax
mov r8d, eax
jmp 0x7ff7c00daf68
test ebx, ebx
js 0x7ff7c00dafda
mov qword [r14], rdi
jmp 0x7ff7c00dafee
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov r8, rdx
jmp 0x7ff7c00daf40