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

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402ba040]
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 0x1401608f2
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.1401e0100
add rsp, 0x80
pop rbx
ret

Function at 0x140160910
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402ba040]
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 0x14016095c
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.1401e0100
add rsp, 0x70
pop rbx
ret

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

Function at 0x140160a00
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x48
test rdx, rdx
je 0x140160a0e
mov rax, qword [rdx]
jmp 0x140160a10
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 0x140160a40
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 0x140160a80
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
cmp dword [0x1402baf40], 0x6a
mov rdi, rcx
jb 0x140160ac8
mov r9d, 4
mov dword [rax + 0x10], 0x13
lea r8, [rax + 0x10]
mov dword [rsp + 0x20], 0x40
lea rdx, [rax - 0x58]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop word [rax + rax]
test eax, eax
jns 0x140160bc3
mov qword [rsp + 0xc0], rbx
lfence
mov r9d, 1
mov byte [rsp + 0xc8], 1
lea r8, [rsp + 0xc8]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov ebx, eax
test eax, eax
jns 0x140160bbb
xorps xmm0, xmm0
mov qword [rsp + 0x88], rdi
xor edi, edi
mov dword [rsp + 0x80], 0x30
mov dword [rsp + 0x50], edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
lea r9, [rsp + 0x70]
mov dword [rsp + 0x40], 0x1000
lea r8, [rsp + 0x80]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0xd0]
mov dword [rsp + 0x30], 4
mov edx, 0x10000
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0x90], rax
movdqu xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x140160bb9
mov rcx, qword ds:[rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0xc0]
mov eax, edi
add rsp, 0xb0
pop rdi
ret
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140160be0
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.14016eb20
test rax, rax
jne 0x140160c0c
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402c5110]
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, [0x14023bb00]
mov r13d, 0x5a4d
test byte [0x1402c10f0], 1
mov rsi, rax
jne 0x140160d99
lock bts qword [0x1402c10f0], 0x1f
jb 0x140160d82
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.1401776c0
test rax, rax
jne 0x140160cdf
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
jne 0x140160cdf
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x140160cdf
cmp dword [0x1402baf40], 0x3e
jae 0x140160d73
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140160d73
nop
cmp word [rax], r13w
jne 0x140160d73
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140160d73
cmp dword ds:[rdx + rax], 0x4550
jne 0x140160d73
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140160d73
cmp dword [rdx + 4], r12d
je 0x140160d73
lea r8, [rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransactionManager
call fcn.140177a80
mov r9, rax
test rax, rax
je 0x140160d73
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 [0x1402c8558], rax
xor rax, r9
mov qword [0x1402c8698], rax
lea rcx, [0x1402c10f0]
call sym.SystemInformer.exe_QifSetEvent
nop
jmp 0x140160d99
test byte [0x1402c10f0], 1
jne 0x140160d99
xor edx, edx
lea rcx, [0x1402c10f0]
call sym.SystemInformer.exe_QifWaitForEvent
mov rax, qword [0x1402c8698]
test rax, rax
je 0x140160db6
mov rcx, qword [0x1402c8558]
test rcx, rcx
je 0x140160db6
xor rax, rcx
jmp 0x140160db9
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 2
mov rcx, rbp
call qword [case.0x14013b5a0.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x140160e1d
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x140160e16
lfence
mov rcx, qword [0x1402c5110]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140160c4d
mov eax, 0xc000009a
jmp 0x140160e3d
nop dword [rax]
test ebx, ebx
js 0x140160e29
mov qword [r14], rsi
jmp 0x140160e3b
mov rcx, qword [0x1402c5110]
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 0x140160e80
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.14016e960
test rax, rax
jne 0x140160eac
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402c5110]
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, [0x14023bb00]
mov r13d, 0x5a4d
test byte [0x1402c1080], 1
mov rsi, rax
jne 0x140161039
lock bts qword [0x1402c1080], 0x1f
jb 0x140161022
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.1401776c0
test rax, rax
jne 0x140160f7f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
jne 0x140160f7f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x140160f7f
cmp dword [0x1402baf40], 0x3e
jae 0x140161013
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140161013
nop
cmp word [rax], r13w
jne 0x140161013
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140161013
cmp dword ds:[rdx + rax], 0x4550
jne 0x140161013
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140161013
cmp dword [rdx + 4], r12d
je 0x140161013
lea r8, [rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationTransaction
call fcn.140177a80
mov r9, rax
test rax, rax
je 0x140161013
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 [0x1402c8628], rax
xor rax, r9
mov qword [0x1402c8590], rax
lea rcx, [0x1402c1080]
call sym.SystemInformer.exe_QifSetEvent
nop
jmp 0x140161039
test byte [0x1402c1080], 1
jne 0x140161039
xor edx, edx
lea rcx, [0x1402c1080]
call sym.SystemInformer.exe_QifWaitForEvent
mov rax, qword [0x1402c8590]
test rax, rax
je 0x140161056
mov rcx, qword [0x1402c8628]
test rcx, rcx
je 0x140161056
xor rax, rcx
jmp 0x140161059
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 1
mov rcx, rbp
call qword [case.0x14013b5a0.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x1401610bd
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x1401610b6
lfence
mov rcx, qword [0x1402c5110]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140160eed
mov eax, 0xc000009a
jmp 0x1401610dd
nop dword [rax]
test ebx, ebx
js 0x1401610c9
mov qword [r14], rsi
jmp 0x1401610db
mov rcx, qword [0x1402c5110]
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 0x140161120
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.14016e7a0
test rax, rax
jne 0x14016114c
mov eax, 0xc00000bb
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x1402c5110]
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, [0x14023bb00]
mov r13d, 0x5a4d
test byte [0x1402c10a0], 1
mov rsi, rax
jne 0x1401612d9
lock bts qword [0x1402c10a0], 0x1f
jb 0x1401612c2
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], r15
call fcn.1401776c0
test rax, rax
jne 0x14016121f
xor edx, edx
mov r8d, 0x800
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
jne 0x14016121f
xor edx, edx
mov r8d, 0x200
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x14016121f
cmp dword [0x1402baf40], 0x3e
jae 0x1401612b3
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1401612b3
nop
cmp word [rax], r13w
jne 0x1401612b3
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x1401612b3
cmp dword ds:[rdx + rax], 0x4550
jne 0x1401612b3
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x1401612b3
cmp dword [rdx + 4], r12d
je 0x1401612b3
lea r8, [rax + rcx]
mov word [rsp + 0x20], r12w
mov rcx, rax
lea r9, str.NtQueryInformationResourceManager
call fcn.140177a80
mov r9, rax
test rax, rax
je 0x1401612b3
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 [0x1402c8600], rax
xor rax, r9
mov qword [0x1402c8680], rax
lea rcx, [0x1402c10a0]
call sym.SystemInformer.exe_QifSetEvent
nop
jmp 0x1401612d9
test byte [0x1402c10a0], 1
jne 0x1401612d9
xor edx, edx
lea rcx, [0x1402c10a0]
call sym.SystemInformer.exe_QifWaitForEvent
mov rax, qword [0x1402c8680]
test rax, rax
je 0x1401612f6
mov rcx, qword [0x1402c8600]
test rcx, rcx
je 0x1401612f6
xor rax, rcx
jmp 0x1401612f9
mov rax, r12
mov r9d, edi
mov qword [rsp + 0x20], r12
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [case.0x14013b5a0.0]
mov ebx, eax
cmp eax, 0x80000005
jne 0x14016135a
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x140161353
lfence
mov rcx, qword [0x1402c5110]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14016118d
mov eax, 0xc000009a
jmp 0x140161377
test ebx, ebx
js 0x140161363
mov qword [r14], rsi
jmp 0x140161375
mov rcx, qword [0x1402c5110]
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 0x140162ca0
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 [0x1402c5110]
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 0x140162d38
mov rcx, qword [0x1402c5110]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [0x1402c5110]
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 0x140162d42
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x178
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x130
call fcn.140207110
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 0x140162dfd
cmp dword [rsp + 0x30], 1
jb 0x140162dfd
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x140162dd0
lea rcx, ds:[rsp + 0x60]
call sym.SystemInformer.exe_QiConvertUtf8ToUtf16Ex
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x178
ret
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x178
ret
Function at 0x140162e20
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [0x1402baf40], 0x64
jb 0x140162ee7
mov qword [r11 + 8], rbx
mov qword [r11 - 8], rdi
mov rdi, qword [0x1402c0f00]
test rdi, rdi
jne 0x140162e6a
nop dword [rax]
call sym.SystemInformer.exe_QiReferenceEmptyString
mov rbx, rax
jmp 0x140162ebc
mov rdx, qword [0x1402c4fb8]
lea rcx, [rdi + 0x12]
mov qword [rsp + 0x188], rsi
mov rsi, qword [str._b__]
call sym.SystemInformer.exe_QiCreateObject
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 0x140162eb4
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1402074d0
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.1401e0100
add rsp, 0x178
ret
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x130
call fcn.140207110
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 0x140162f58
cmp eax, 0xc0000004
jne 0x140162f58
cmp dword [rsp + 0x30], 1
jb 0x140162f58
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x140162f40
lea rcx, [rsp + 0x60]
call sym.SystemInformer.exe_QiConvertUtf8ToUtf16Ex
mov rcx, rax
jmp 0x140162f5a
xor ecx, ecx
mov rax, rcx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x178
ret

Function at 0x140162f80
Capabilities:
Get system information on windows

Disassembly:
mov edx, 5
jmp sym.SystemInformer.exe_QiEnumProcessesEx
Function at 0x140162fa0
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 0x140162ff3
sub r8d, 0x34
je 0x140162fe4
nop
cmp r8d, 0x5b
je 0x140162fd5
mov eax, 0xc0000003
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x1402c0cc0]
lea r14, [0x1402c0cc0]
jmp 0x140163000
mov eax, dword [0x1402c0cbc]
lea r14, [0x1402c0cbc]
jmp 0x140163000
mov eax, dword [0x1402c0cb8]
lea r14, [0x1402c0cb8]
mov r8d, eax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rdi
mov rcx, qword [0x1402c5110]
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 0x14016304e
cmp eax, 0xc0000004
jne 0x14016306d
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
jmp 0x140163012
lfence
test ebx, ebx
jns 0x140163088
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140163099
mov eax, dword [rsp + 0x48]
cmp eax, 0x100000
ja 0x140163096
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 0x1401633e0
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 [0x1402c0c30]
xor ebp, ebp
mov r14, rcx
mov dword [rsp + 0x48], ebp
mov rcx, qword [0x1402c5110]
mov r8d, ebx
lea edx, [rbp + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
lea ecx, [rbp + 0x40]
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x14016348a
cmp ebp, 0xa
jae 0x140163492
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword ds:[rsp + 0x48]
mov edx, 4
mov rcx, qword [0x1402c5110]
mov r8d, ebx
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]
inc ebp
mov esi, eax
cmp eax, 0xc0000004
je 0x140163434
test esi, esi
jns 0x14016354f
mov ebx, dword [0x1402c0c30]
mov edx, 4
mov rcx, qword [0x1402c5110]
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
jne 0x140163527
nop
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x140163548
lfence
mov rcx, qword [0x1402c5110]
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 0x1401634d0
test esi, esi
jns 0x14016354f
lfence
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140163563
mov eax, 0xc000009a
jmp 0x140163565
lfence
cmp ebx, 0x200000
ja 0x140163560
mov dword [0x1402c0c30], 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
Function at 0x1401638a0
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 [0x1402c5110]
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 0x140163947
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x140163968
lfence
mov rcx, qword [0x1402c5110]
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 + 0x12]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x1401638f1
lfence
test esi, esi
jns 0x14016396f
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140163972
mov eax, 0xc000009a
jmp 0x140163974
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 0x1401639a0
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 [0x1402c5110]
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 0x140163a48
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x140163a68
lfence
mov rcx, qword [0x1402c5110]
mov edx, 4
mov r8d, ebx
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 0x1401639f2
lfence
test esi, esi
jns 0x140163a6f
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140163a72
mov eax, 0xc000009a
jmp 0x140163a74
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