joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140114200
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 0x140114239
mov r8d, esi
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.140114170
cmp dword [rcx + 0x2c], r12d
jne 0x1401142a2
mov edx, dword [rcx + 0x28]
mov ecx, dword [rcx + 0x24]
cmp edx, ecx
je 0x14011428c
sub ecx, edx
movsxd rdx, ecx
add rdx, qword [rbx + 0x10]
mov qword [rbx + 0x10], rdx
test r8b, 8
jne 0x14011428c
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 0x140114294
mov qword [rbx + 0x24], r12
test edi, edi
jns 0x1401142a2
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 0x14011430c
mov ebp, dword [rbx + 0x20]
sub ebp, r8d
je 0x1401142ef
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.140165120
mov r8d, dword [rbx + 0x2c]
add r8d, ebp
mov dword [rbx + 0x2c], r8d
cmp ebp, esi
je 0x14011438e
add r14, r15
sub esi, ebp
mov rdx, qword [rbx + 0x18]
mov rcx, rbx
call fcn.140114170
mov edi, eax
test eax, eax
js 0x140114390
mov dword [rbx + 0x2c], r12d
mov eax, dword [rbx + 0x20]
cmp esi, eax
jb 0x14011432d
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.140114170
mov edi, eax
test eax, eax
jns 0x14011438e
jmp 0x140114390
test esi, esi
je 0x14011438e
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x140114380
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 0x1401143a6
mov rcx, qword [rsp + 0x30]
mov qword [rbx + 0x18], rcx
test rcx, rcx
je 0x1401143aa
mov edi, r12d
mov r8d, esi
mov rdx, r14
call fcn.140165120
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 0x140114390
Function at 0x1401143c0
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 0x1401143f7
mov rdx, qword [rcx + 0x18]
call fcn.140114170
mov r9d, eax
test eax, eax
js 0x14011447d
mov dword [rbx + 0x2c], 0
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x14011445a
mov edx, dword [rbx + 0x28]
xor r9d, r9d
cmp edx, ecx
je 0x14011444d
sub ecx, edx
movsxd rdx, ecx
add rdx, qword [rbx + 0x10]
test byte [rbx + 8], 8
mov qword [rbx + 0x10], rdx
jne 0x14011444d
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 0x14011447a
mov qword [rbx + 0x24], 0
test r9d, r9d
js 0x14011447a
test dil, dil
je 0x14011447a
cmp dword [rbx + 8], 0
jge 0x14011447a
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
mov r9d, eax
test eax, eax
js 0x14011447d
mov eax, r9d
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov rdi, rdx
xor ecx, ecx
test r8d, r8d
je 0x140114522
sub r8d, 1
je 0x140114519
cmp r8d, 1
jne 0x140114529
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 0x140114561
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi]
add qword [rbx + 0x10], rax
jmp 0x140114529
mov rax, qword [rdx]
add qword [rbx + 0x10], rax
jmp 0x140114529
mov rax, qword [rdx]
mov qword [rbx + 0x10], rax
test byte [rbx + 8], 8
jne 0x14011455f
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 0x140114561
mov eax, ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140161390
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140118620
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x90
cmp byte [0x1402130ef], 0
mov edi, edx
mov rsi, rcx
je 0x1401186f7
mov qword [r11 - 0x48], rcx
lea rax, [0x140123cf0]
xor ecx, ecx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x48], ecx
lea rax, [r11 - 0x48]
mov qword [r11 - 0x58], rcx
lea r8, [0x140123af0]
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 [0x140213db0]
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 0x1401186f0
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
cmp eax, 0xc00000bb
jne 0x140118706
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 0x14011b010
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14020a008]
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 0x14011b056
mov rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov eax, ecx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140161390
add rsp, 0x60
pop rbx
ret

Function at 0x14011b070
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 0x14011b0a0
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 0x14011b0d7
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x40
pop rbx
ret

Function at 0x14011b0e0
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 0x14011c770
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.1401047c0
test rax, rax
jne 0x14011c789
add rsp, 0x20
pop rbx
ret
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.140104b60

Function at 0x14011ca00
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 [0x140213cd0]
mov edx, 4
mov r8d, 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011ca98
mov rcx, qword [0x140213cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011ca9f
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140213cd0]
xor edi, edi
mov r8d, 0x800
mov dword [rsp + 0x30], 0x800
lea edx, [rdi + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cb3d
mov rcx, qword [0x140213cd0]
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 [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cb4e
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx], 1
jb 0x14011cb71
lea rcx, [rbx + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rcx + rdx], dil
jne 0x14011cb60
call sym.ProcessHacker.exe_PhConvertMultiByteToUtf16Ex
mov rdi, rax
mov rcx, qword [0x140213cd0]
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 0x14011cba0
Capabilities:
Get system information on windows

Disassembly:
mov edx, 5
jmp sym.ProcessHacker.exe_PhEnumProcessesEx
Function at 0x14011cbb0
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 0x14011cc03
sub r8d, 0x34
je 0x14011cbf4
nop
cmp r8d, 0x5b
je 0x14011cbe5
mov eax, 0xc0000003
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x140210778]
lea r14, [0x140210778]
jmp 0x14011cc10
mov eax, dword [0x140210774]
lea r14, [0x140210774]
jmp 0x14011cc10
mov eax, dword [0x140210770]
lea r14, [0x140210770]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x48], eax
mov r8d, eax
mov rcx, qword [0x140213cd0]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cc5e
cmp eax, 0xc0000004
jne 0x14011cc7d
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
jmp 0x14011cc21
test ebx, ebx
jns 0x14011cc98
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14011cca9
mov eax, dword [rsp + 0x48]
cmp eax, 0x100000
ja 0x14011cca6
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 0x14011ccc0
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 [0x14021077c]
mov ebx, edx
mov rsi, rcx
mov dword [rsp + 0x48], eax
mov rcx, qword [0x140213cd0]
mov r8d, eax
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cd36
cmp eax, 0xc0000004
jne 0x14011cd62
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
mov edx, 4
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
jmp 0x14011ccf7
test ebx, ebx
jns 0x14011cd8a
mov rcx, qword [0x140213cd0]
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 [0x14021077c]
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 [0x14021077c], ecx
add rsp, 0x30
pop rdi
ret
Function at 0x14011cf40
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 [0x1402108e0]
mov r14, rcx
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cfe7
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x14011cfff
mov rcx, qword [0x140213cd0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011cf92
test esi, esi
jns 0x14011d006
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14011d01e
mov eax, 0xc000009a
jmp 0x14011d020
mov eax, dword [0x1402108e0]
cmp ebx, 0x100000
mov qword [r14], rdi
cmovbe eax, ebx
mov dword [0x1402108e0], 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 0x14011d040
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 [0x1402104dc]
mov r14, rcx
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d0e7
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x14011d0ff
mov rcx, qword [0x140213cd0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d092
test esi, esi
jns 0x14011d106
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14011d11e
mov eax, 0xc000009a
jmp 0x14011d120
mov eax, dword [0x1402104dc]
cmp ebx, 0x200000
mov qword [r14], rdi
cmovbe eax, ebx
mov dword [0x1402104dc], 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 0x14011d260
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 [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d307
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x10000000
ja 0x14011d31f
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d2b1
test esi, esi
jns 0x14011d326
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14011d329
mov eax, 0xc000009a
jmp 0x14011d32b
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 0x14011d350
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 [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d3f7
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rbx + rbx]
mov ebx, eax
cmp eax, 0x10000000
ja 0x14011d40f
mov rcx, qword [0x140213cd0]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d3a2
test esi, esi
jns 0x14011d416
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14011d419
mov eax, 0xc000009a
jmp 0x14011d41b
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 0x14011d440
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 [0x140213cd0]
mov edx, 4
mov r8d, 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d500
mov rcx, qword [0x140213cd0]
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 [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011d572
movzx eax, word [rsp + 0x28]
test ax, ax
jne 0x14011d518
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14011d56f
mov rdx, qword [0x140213b58]
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 0x14011d565
mov rcx, qword ds:[rbx + 8]
mov r8, rsi
mov rdx, r14
call fcn.140165120
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov qword [r15], rbx
mov rcx, qword [0x140213cd0]
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 0x14011e470
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 [0x140213cd0]
mov r8d, r14d
mov edx, 4
mov r12, r9
mov dil, 1
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011e518
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 0x14011e528
cmp ebx, 0xc0000004
jne 0x14011e562
mov rcx, qword [0x140213cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [0x140213cd0]
lea eax, [r14 + r14]
mov r8d, eax
mov edx, 4
mov r14d, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, dword [rsp + 0xa8]
jmp 0x14011e4ba
cmp ebx, 0x80000006
je 0x14011e5cf
test ebx, ebx
js 0x14011e5d1
mov rdx, qword [rsp + 0xc8]
mov rcx, rsi
mov rax, qword [rsp + 0xc0]
xor ebp, ebp
mov rdi, rsi
call qword [case.0x140101f48.0]
nop dword [rax]
test al, al
je 0x14011e5d1
mov eax, dword [rdi]
test eax, eax
je 0x14011e5c0
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.0x140101f48.0]
test al, al
jne 0x14011e594
jmp 0x14011e5d1
mov ebx, dword [rsp + 0xa8]
xor dil, dil
jmp 0x14011e4c0
xor ebx, ebx
mov rcx, qword [0x140213cd0]
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 0x14011e610
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 [0x140213cd0]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x14011afb5
cmp eax, 0xc0000023
je 0x14011afb5
cmp eax, 0xc0000004
jne 0x14011afd1
mov rcx, qword [0x140213cd0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rsi + rsi]
mov esi, eax
mov r8d, eax
jmp 0x14011af68
test ebx, ebx
js 0x14011afda
mov qword [r14], rdi
jmp 0x14011afee
mov rcx, qword [0x140213cd0]
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 0x14011af40