joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401611b0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x22
lea rdx, [rsp + 0x30]
mov r9d, 0x38
lea r8, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x140161212
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
movsd xmm1, qword [rsp + 0x70]
movups xmmword [rbx + 0x20], xmm0
movsd qword [rbx + 0x30], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x80
pop rbx
ret

Function at 0x140161230
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x30]
mov r9d, 0x18
lea r8, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14016127c
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [rsp + 0x38]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x70
pop rbx
ret

Function at 0x140161290
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 0x1401612c0
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
lfence
test eax, eax
js 0x1401612fa
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x40
pop rbx
ret

Function at 0x140161320
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
test rdx, rdx
je 0x14016132e
mov rax, qword [rdx]
jmp 0x140161330
xor eax, eax
mov r9d, 8
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret

Function at 0x140161360
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], 0x13
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
add rsp, 0x48
ret
Function at 0x1401613a0
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [0x1402bff40], 0x6a
mov rdi, rcx
jb 0x1401613dc
mov r9d, 4
mov dword [rsp + 0x58], 0x13
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x14016145a
mov qword [rsp + 0x50], rbx
lfence
mov r9d, 1
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ebx, eax
test eax, eax
jns 0x140161455
lfence
mov r9d, 4
mov dword [rsp + 0x20], 0x1000
mov r8d, 0x10000
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.140169b00
test eax, eax
js 0x140161453
mov rcx, qword ds:[rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140161480
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rbp, rcx
mov edi, 0x100
call fcn.1401708c0
test rax, rax
jne 0x1401614ac
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402caad0]
mov r8, rdi
mov qword [rsp + 0x70], rbx
mov edx, 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
lea r15, [0x14023ec90]
mov r13d, 0x5a4d
test byte [0x1402c6240], 1
mov rsi, rax
jne 0x14016164c
lock bts qword [0x1402c6240], 0x1f
setb al
test al, al
jne 0x140161635
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.14017d8a0
test rax, rax
jne 0x14016158f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x14016158f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax]
test rax, rax
jne 0x14016158f
cmp dword [0x1402bff40], 0x3e
jae 0x140161627
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140161627
cmp word [rax], r13w
jne 0x140161627
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140161627
cmp dword [rdx + rax], 0x4550
jne 0x140161627
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140161627
cmp dword [rdx + 4], r12d
je 0x140161627
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransactionManager
call fcn.14017dc40
mov r9, rax
test rax, rax
je 0x140161627
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402cdfa8], rax
xor rax, r9
mov qword [0x1402ce0e8], rax
lea rcx, [0x1402c6240]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14016164c
test byte [0x1402c6240], 1
jne 0x14016164c
xor edx, edx
lea rcx, [0x1402c6240]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ce0e8]
test rax, rax
je 0x14016166a
mov rcx, qword [0x1402cdfa8]
nop
test rcx, rcx
je 0x14016166a
xor rax, rcx
jmp 0x14016166d
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 2
mov rcx, rbp
call qword [case.0x14013d64a.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x1401616d6
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x1401616cf
lfence
mov rcx, qword [0x1402caad0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401614ed
mov eax, 0xc000009a
jmp 0x1401616f3
test ebx, ebx
js 0x1401616df
mov qword [r14], rsi
jmp 0x1401616f1
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x140161720
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rbp, rcx
mov edi, 0x100
call fcn.140170700
test rax, rax
jne 0x14016174c
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402caad0]
mov r8, rdi
mov qword [rsp + 0x70], rbx
mov edx, 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
lea r15, [0x14023ec90]
mov r13d, 0x5a4d
test byte [0x1402c61d0], 1
mov rsi, rax
jne 0x1401618ec
lock bts qword [0x1402c61d0], 0x1f
setb al
test al, al
jne 0x1401618d5
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.14017d8a0
test rax, rax
jne 0x14016182f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x14016182f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax]
test rax, rax
jne 0x14016182f
cmp dword [0x1402bff40], 0x3e
jae 0x1401618c7
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1401618c7
cmp word [rax], r13w
jne 0x1401618c7
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x1401618c7
cmp dword [rdx + rax], 0x4550
jne 0x1401618c7
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x1401618c7
cmp dword [rdx + 4], r12d
je 0x1401618c7
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransaction
call fcn.14017dc40
mov r9, rax
test rax, rax
je 0x1401618c7
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402ce078], rax
xor rax, r9
mov qword [0x1402cdfe0], rax
lea rcx, [0x1402c61d0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x1401618ec
test byte [0x1402c61d0], 1
jne 0x1401618ec
xor edx, edx
lea rcx, [0x1402c61d0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cdfe0]
test rax, rax
je 0x14016190a
mov rcx, qword [0x1402ce078]
nop
test rcx, rcx
je 0x14016190a
xor rax, rcx
jmp 0x14016190d
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 1
mov rcx, rbp
call qword [case.0x14013d64a.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x140161976
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x14016196f
lfence
mov rcx, qword [0x1402caad0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14016178d
mov eax, 0xc000009a
jmp 0x140161993
test ebx, ebx
js 0x14016197f
mov qword [r14], rsi
jmp 0x140161991
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x1401619c0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rbp, rcx
mov edi, 0x100
call fcn.140170540
test rax, rax
jne 0x1401619ec
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402caad0]
mov r8, rdi
mov qword [rsp + 0x70], rbx
mov edx, 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r15
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r12d, r12d
lea r15, [0x14023ec90]
mov r13d, 0x5a4d
test byte [0x1402c61f0], 1
mov rsi, rax
jne 0x140161b8c
lock bts qword [0x1402c61f0], 0x1f
setb al
test al, al
jne 0x140161b75
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.14017d8a0
test rax, rax
jne 0x140161acf
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x140161acf
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax]
test rax, rax
jne 0x140161acf
cmp dword [0x1402bff40], 0x3e
jae 0x140161b67
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140161b67
cmp word [rax], r13w
jne 0x140161b67
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140161b67
cmp dword [rdx + rax], 0x4550
jne 0x140161b67
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140161b67
cmp dword [rdx + 4], r12d
je 0x140161b67
lea r8, ds:[rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationResourceManager
call fcn.14017dc40
mov r9, rax
test rax, rax
je 0x140161b67
mov r8, qword [0x7ffe0320]
mov ecx, dword [0x7ffe0004]
mov eax, r8d
shr r8, 0x20
imul rax, rcx
imul r8, rcx
shr rax, 0x18
shl r8, 8
add rax, r8
mov qword [0x1402ce050], rax
xor rax, r9
mov qword [0x1402ce0d0], rax
lea rcx, [0x1402c61f0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x140161b8c
test byte [0x1402c61f0], 1
jne 0x140161b8c
xor edx, edx
lea rcx, [0x1402c61f0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ce0d0]
test rax, rax
je 0x140161baa
mov rcx, qword [0x1402ce050]
nop
test rcx, rcx
je 0x140161baa
xor rax, rcx
jmp 0x140161bad
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [case.0x14013d64a.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x140161c16
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x140161c0f
lfence
mov rcx, qword [0x1402caad0]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140161a2d
mov eax, 0xc000009a
jmp 0x140161c33
test ebx, ebx
js 0x140161c1f
mov qword [r14], rsi
jmp 0x140161c31
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x140163580
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 [0x1402caad0]
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 0x140163618
mov rcx, qword [0x1402caad0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [0x1402caad0]
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]
lfence
test eax, eax
js 0x140163622
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x178
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x130
call fcn.14020a280
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov r8d, 0x130
lea rdx, [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1401636dd
cmp dword [rsp + 0x30], 1
jb 0x1401636dd
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1401636b0
lea rcx, ds:[rsp + 0x60]
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x178
ret
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x178
ret
Function at 0x140163700
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [0x1402bff40], 0x64
jb 0x1401637c7
mov qword [r11 + 8], rbx
mov qword [r11 - 8], rdi
mov rdi, qword [0x1402c6040]
test rdi, rdi
jne 0x14016374a
nop dword [rax]
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14016379c
mov rdx, qword [0x1402ca978]
lea rcx, [rdi + 0x12]
mov qword [rsp + 0x188], rsi
mov rsi, qword [str.SystemRootSystem32_ntoskrnl.exe]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
xor ecx, ecx
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], cx
test rsi, rsi
je 0x140163794
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.14020a640
mov rsi, qword [rsp + 0x188]
mov rdi, qword [rsp + 0x170]
mov rax, rbx
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x178
ret
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x130
call fcn.14020a280
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov r8d, 0x130
lea rdx, [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax]
test eax, eax
je 0x140163838
cmp eax, 0xc0000004
jne 0x140163838
cmp dword [rsp + 0x30], 1
jb 0x140163838
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x140163820
lea rcx, [rsp + 0x60]
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov rcx, rax
jmp 0x14016383a
xor ecx, ecx
mov rax, rcx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x178
ret
Function at 0x140163860
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x130
lea rcx, [rsp + 0x30]
call fcn.14020a280
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov r8d, 0x130
lea rdx, [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax]
test eax, eax
je 0x1401639d0
cmp eax, 0xc0000004
jne 0x1401639d5
cmp dword [rsp + 0x30], 1
jb 0x1401639d0
nop
test rsi, rsi
je 0x1401639a8
cmp dword [0x1402bff40], 0x64
jb 0x140163982
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x170], rdi
mov rdi, qword [0x1402c5e08]
test rdi, rdi
jne 0x14016391c
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14016396d
mov rdx, qword [0x1402ca978]
lea rcx, [rdi + 0x12]
mov qword [rsp + 0x178], rbp
mov rbp, qword [str.SystemRootSystem32_ntoskrnl.exe]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
xor ecx, ecx
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], cx
test rbp, rbp
je 0x140163965
mov rcx, qword ds:[rbx + 8]
mov r8, rdi
mov rdx, rbp
call fcn.14020a640
mov rbp, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x1b8]
jmp 0x1401639a8
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x140163990
lea rcx, ds:[rsp + 0x60]
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov qword [rsi], rax
cmp dword [0x1402bff40], 0x71
mov rax, qword [rsp + 0x48]
jb 0x1401639c2
test rax, rax
jne 0x1401639c2
mov rax, 0xfffffffffffffffe
mov qword [r14], rax
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
xor eax, eax
jmp 0x1401639d5
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x180
pop r15
pop r14
pop rsi
ret

Function at 0x140163a00
Capabilities:
Get system information on windows

Disassembly:
mov edx, 5
jmp sym.SystemInformer.exe_PhEnumProcessesEx
Function at 0x140163a20
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 0x140163a73
sub r8d, 0x34
je 0x140163a64
nop
cmp r8d, 0x5b
je 0x140163a55
mov eax, 0xc0000003
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x1402c5de0]
lea r14, [0x1402c5de0]
jmp 0x140163a80
mov eax, dword [0x1402c5ddc]
lea r14, [0x1402c5ddc]
jmp 0x140163a80
mov eax, dword [0x1402c5dd8]
lea r14, [0x1402c5dd8]
mov rcx, qword [0x1402caad0]
xor edx, edx
mov r8d, eax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x140163b05
nop
mov r8d, dword ds:[rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x140163ad6
cmp eax, 0xc0000004
jne 0x140163b1e
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [0x1402caad0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x140163ab0
mov eax, 0xc0000017
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
lfence
test ebx, ebx
jns 0x140163b3b
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
jmp 0x140163b0a
mov eax, dword ds:[rsp + 0x48]
cmp eax, 0x100000
ja 0x140163b4a
mov dword [r14], eax
mov qword [r15], rdi
mov eax, ebx
jmp 0x140163b0a
Function at 0x140163e80
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, dword [0x1402c5d70]
mov r14, rcx
mov rcx, qword [0x1402caad0]
xor ebp, ebp
mov r8d, ebx
mov dword [rsp + 0x48], ebp
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x140163f31
cmp ebp, 0xa
jae 0x140163f39
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [rsp + 0x48]
mov edx, 4
mov rcx, qword [0x1402caad0]
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r9, ds:[rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
inc ebp
mov esi, eax
cmp eax, 0xc0000004
je 0x140163ed8
test esi, esi
jns 0x140163fef
mov ebx, dword [0x1402c5d70]
mov edx, 4
mov rcx, qword [0x1402caad0]
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x140163fc8
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x140163fe8
lfence
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x140163f74
test esi, esi
jns 0x140163fef
lfence
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140164003
mov eax, 0xc000009a
jmp 0x140164005
lfence
cmp ebx, 0x200000
ja 0x140164000
mov dword [0x1402c5d70], ebx
mov qword [r14], rdi
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret