joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400df2c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r8, rcx
test rdx, rdx
je 0x1400df2e6
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub rdx, 1
jne 0x1400df2d0
ret

Function at 0x1400df2f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx]
xor ebx, ebx
test r8, r8
jne 0x1400df308
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov rsi, r8
shr rsi, 1
mov qword [rsp + 0x38], rdi
mov rdi, qword [rcx + 8]
test dl, dl
jne 0x1400df350
movzx eax, byte [rdi]
lea rdi, [rdi + 1]
xor ebx, eax
imul ebx, ebx, 0x1000193
sub r8, 1
jne 0x1400df320
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
movzx ecx, word [rdi]
lea rdi, [rdi + 2]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub rsi, 1
jne 0x1400df350
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400e0500
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov edi, dword [rsp + 0x108]
mov rax, rdx
mov ebp, r9d
lea rdx, [rsp + 0x68]
mov r14d, r8d
mov rsi, rcx
xor r9d, r9d
xor r8d, r8d
lea ebx, [rdi*8]
mov rcx, rax
not ebx
and ebx, 0x20
or ebx, 0x40
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x1400e0561
mov ebx, 0xc0000034
mov eax, ebx
jmp 0x1400e06e4
xor r15d, r15d
mov dword [rsp + 0x90], 0x30
mov dword [rsp + 0x50], r15d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], r15
lea r9, [rsp + 0x80]
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x60]
mov eax, dword [rsp + 0x100]
xorps xmm0, xmm0
mov dword [rsp + 0x38], eax
mov edx, r14d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x98], r15
mov dword [rsp + 0xa8], 0x40
movdqu xmmword [rsp + 0xb0], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov ebx, eax
xor edx, edx
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x70]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x60]
test ebx, ebx
cmovns rbp, qword [rsp + 0x60]
jns 0x1400e0619
mov eax, ebx
jmp 0x1400e06e4
mov rdx, qword [0x140191170]
mov ecx, 0x30
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov ecx, edi
mov rbx, rax
shl ecx, 0xb
not ecx
and ecx, 0x1000
mov qword [rax], rbp
mov dword [rax + 8], edi
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], ecx
mov qword [rax + 0x24], r15
mov dword [rax + 0x2c], r15d
bt edi, 0x10
jae 0x1400e06df
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea r8, [rsp + 0x68]
mov rcx, rbp
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x1400e06c5
test byte [rbx + 8], 8
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x10], rax
jne 0x1400e06df
mov rcx, qword [rbx]
lea r8, [rsp + 0x60]
mov r9d, 8
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x1400e06df
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400e06e2
call fcn.1400d9400
jmp 0x1400e06e2
mov qword [rsi], rbx
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400e0840
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 8], 0xc
mov rbx, rcx
jne 0x1400e0894
mov rcx, qword [rcx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x1400e087d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rax, qword [rsp + 0x50]
cmp qword [rbx + 0x10], rax
je 0x1400e0894
mov ecx, 0xc00000e5
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400e0f20
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
mov edx, dword [rcx + 0x2c]
lea rax, [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov esi, 0
test byte [rcx + 8], 8
mov rbx, rcx
mov rcx, qword [rcx]
cmove rax, rsi
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x30], edx
lea rax, [r11 - 0x18]
mov qword [r11 - 0x40], r8
xor edx, edx
xor r8d, r8d
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, eax
cmp eax, 0x103
jne 0x1400e0f95
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ecx, eax
test eax, eax
js 0x1400e0fac
mov ecx, dword [rsp + 0x50]
test ecx, ecx
js 0x1400e0fac
mov rax, qword [rsp + 0x58]
add qword [rbx + 0x10], rax
or dword [rbx + 8], 0x80000000
mov dword [rbx + 0x2c], esi
mov rbx, qword [rsp + 0x70]
mov eax, ecx
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x1400e0fc0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
xor r8d, r8d
movzx edi, dl
mov rbx, rcx
cmp dword [rcx + 0x2c], r8d
je 0x1400e0fe5
call fcn.1400e0f20
mov r8d, eax
test eax, eax
js 0x1400e1062
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x1400e103f
mov edx, dword [rbx + 0x28]
xor r8d, r8d
cmp edx, ecx
je 0x1400e1037
sub ecx, edx
movsxd rax, ecx
add rax, qword [rbx + 0x10]
test byte [rbx + 8], 8
mov qword [rbx + 0x10], rax
jne 0x1400e1032
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov r8d, eax
test r8d, r8d
js 0x1400e105f
mov qword [rbx + 0x24], 0
test dil, dil
je 0x1400e105f
cmp dword [rbx + 8], 0
jge 0x1400e105f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtFlushBuffersFile]
mov r8d, eax
test eax, eax
js 0x1400e1062
mov eax, r8d
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400e1090
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, qword [rdx]
xor edi, edi
mov ebp, r8d
mov rsi, rcx
cmp dword [rcx + 0x2c], edi
je 0x1400e10c2
call fcn.1400e0f20
test eax, eax
jns 0x1400e10da
jmp 0x1400e1156
mov ecx, dword [rcx + 0x24]
test ecx, ecx
je 0x1400e10da
cmp ebp, 1
jne 0x1400e10d6
mov eax, dword [rsi + 0x28]
sub eax, ecx
sub rbx, rax
mov qword [rsi + 0x24], rdi
test ebp, ebp
je 0x1400e111e
sub ebp, 1
je 0x1400e1118
cmp ebp, 1
jne 0x1400e1122
mov rcx, qword [rsi]
lea r8, [rsp + 0x40]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov edi, eax
test eax, eax
js 0x1400e1154
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x10], rax
add qword [rsi + 0x10], rbx
jmp 0x1400e1122
mov qword [rsi + 0x10], rbx
test byte [rsi + 8], 8
jne 0x1400e1154
mov rax, qword [rsi + 0x10]
lea r8, [rsp + 0x70]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
mov r9d, 8
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400e45a0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x90
cmp byte [0x1401910b4], 0
mov edi, edx
mov rsi, rcx
je 0x1400e466a
mov qword [r11 - 0x48], rcx
lea rax, [0x1400ed480]
xor ecx, ecx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x48], ecx
lea rax, [r11 - 0x48]
mov qword [r11 - 0x58], rcx
lea r8, [0x1400ed360]
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 [0x14018d910]
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 [rsp + 0x80]
test ebx, ebx
cmovs eax, ebx
mov rbx, qword [rsp + 0xa0]
cmp eax, 0xc00000db
jne 0x1400e4663
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0xc00000bb
jne 0x1400e4675
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 0x1400e6da0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x60
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 0x1400e6dd7
mov rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov eax, ecx
add rsp, 0x60
pop rbx
ret

Function at 0x1400e6de0
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 0x1400e75a0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
lea rax, [0x140167040]
mov dword [rbp - 0x59], 0x10000e
mov qword [rbp - 0x51], rax
lea r8, [rbp - 0x11]
lea rax, [rbp - 0x59]
mov dword [rbp - 0x11], 0x30
mov rbx, rdx
mov qword [rbp - 1], rax
mov r12, rcx
xor r13d, r13d
xorps xmm0, xmm0
mov qword [rbp - 9], r13
mov edx, 1
mov dword [rbp + 7], r13d
lea rcx, [rbp + 0x7f]
movdqu xmmword [rbp + 0xf], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
test eax, eax
js 0x1400e77b8
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [rsp + 0x100], rsi
mov esi, 0x200
mov qword [rsp + 0xd0], rdi
mov r8d, esi
mov qword [rsp + 0xc8], r14
mov dil, 1
mov qword [rsp + 0xc0], r15
mov r15, qword [rbp + 0x7f]
mov dword [rbp - 0x29], 0xc0000034
mov qword [rbp - 0x21], rbx
mov dword [rbp + 0x77], r13d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
nop dword [rax + rax]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, esi
mov byte [rsp + 0x20], dil
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov r14d, eax
cmp eax, 0x105
jne 0x1400e7700
nop
cmp qword [rbx + 8], r13
jne 0x1400e7709
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0x10000000
ja 0x1400e7765
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
lea eax, [rsi + rsi]
mov r8d, eax
mov edx, 4
mov esi, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov rbx, rax
mov r8d, esi
lea rax, [rbp + 0x77]
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov rcx, r15
mov byte [rsp + 0x20], dil
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov r14d, eax
cmp eax, 0x105
je 0x1400e7690
test r14d, r14d
js 0x1400e77c6
mov rdx, qword [rbx + 8]
mov edi, r13d
mov rax, rbx
test rdx, rdx
je 0x1400e7754
nop dword [rax + rax]
movzx ecx, word [rax]
lea r8, [rbp - 0x29]
mov qword [rbp - 0x49], rcx
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x41], rdx
lea rdx, [rbp - 0x39]
call fcn.1400e73a0
test al, al
je 0x1400e776d
inc edi
mov eax, edi
shl rax, 5
add rax, rbx
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400e7720
cmp r14d, 0x105
jne 0x1400e776d
xor dil, dil
jmp 0x1400e7660
mov r14d, 0xc000009a
jmp 0x1400e77d8
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rbp - 0x29]
test eax, eax
js 0x1400e7798
mov rcx, qword [rbp - 0x19]
mov qword [r12], rcx
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
add rsp, 0xd8
pop r13
pop r12
pop rbx
pop rbp
ret
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rbp - 0x29]
test eax, eax
jns 0x1400e7790
mov eax, r14d
jmp 0x1400e7798
Function at 0x1400e8ac0
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 [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 0x1400e8b53
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x38]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 0x1400e8b5a
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x800
mov dword [rsp + 0x30], 0x800
xor edi, edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400e8c02
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400e8c13
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx], 1
jb 0x1400e8c34
lea rcx, [rbx + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], dil
jne 0x1400e8c23
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhConvertMultiByteToUtf16Ex
mov rdi, rax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 0x1400e8c60
Capabilities:
Get system information on windows

Disassembly:
mov edx, 5
jmp sym.4yUlCM3HuVsHzW5CaCX.exe_PhEnumProcessesEx
Function at 0x1400e8c70
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 0x1400e8cc1
sub r8d, 0x34
je 0x1400e8cb2
cmp r8d, 0x5b
je 0x1400e8ca3
mov eax, 0xc0000003
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [0x14018aca8]
lea r14, [0x14018aca8]
jmp 0x1400e8cce
mov eax, dword [0x14018aca4]
lea r14, [0x14018aca4]
jmp 0x1400e8cce
mov eax, dword [0x14018aca0]
lea r14, [0x14018aca0]
mov r8d, eax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rdi
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 0x1400e8d1a
cmp eax, 0xc0000004
jne 0x1400e8d33
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
jmp 0x1400e8ce0
test ebx, ebx
jns 0x1400e8d4b
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400e8d5c
mov eax, dword [rsp + 0x48]
cmp eax, 0x100000
ja 0x1400e8d59
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 0x1400e8d80
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 [0x14018ad30]
mov ebx, edx
mov rsi, rcx
mov dword [rsp + 0x48], eax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, eax
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rsp + 0x20], ebx
mov ecx, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov ecx, 0x35
mov qword [rsp + 0x28], rax
mov r8d, 0x10
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x1400e8df2
cmp eax, 0xc0000004
jne 0x1400e8e1d
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x48]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1400e8db7
test ebx, ebx
jns 0x1400e8e45
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 eax, dword [rsp + 0x48]
cmp eax, 0x100000
ja 0x1400e8e56
mov dword [0x14018ad30], eax
mov qword [rsi], rdi
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e8fd0
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 [0x14018ae10]
mov r14, rcx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x10
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x1400e9074
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x1400e908c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x10
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x1400e9023
test esi, esi
jns 0x1400e9093
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400e90a4
mov eax, 0xc000009a
jmp 0x1400e90a6
cmp ebx, 0x100000
ja 0x1400e90a1
mov dword [0x14018ae10], ebx
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 0x1400e90c0
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 [0x14018ac68]
mov r14, rcx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, ebx
mov edx, 4
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 0x1400e9164
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x1400e917c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
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 0x1400e9113
test esi, esi
jns 0x1400e9183
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400e9194
mov eax, 0xc000009a
jmp 0x1400e9196
cmp ebx, 0x200000
ja 0x1400e9191
mov dword [0x14018ac68], ebx
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 0x1400e91b0
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 [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x12
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
jne 0x1400e9253
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add ebx, ebx
cmp ebx, 0x10000000
ja 0x1400e926b
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov ecx, 0x12
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
cmp eax, 0xc0000004
je 0x1400e9202
test esi, esi
jns 0x1400e9272
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400e9275
mov eax, 0xc000009a
jmp 0x1400e9277
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