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

Disassembly:
jmp 0x1801a4080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a4106
lea rax, [rsp + 0x78]
mov rdi, qword [rsp + 0xd8]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804bfee0]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xb8
pop rdi
pop rsi
ret

Function at 0x1801a41e0
Capabilities:
Set file attributes

Disassembly:
jmp 0x1801a41e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x14
mov r9d, 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bfff0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret

Function at 0x1801a4270
Capabilities:
Get file attributes

Disassembly:
jmp 0x1801a4270
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x20], 0xe
mov r9d, 8
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1801a42d2
mov eax, dword [rsp + 0x30]
jmp 0x1801a42e6
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c00a0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x1801a4310
Capabilities:
Set file attributes

Disassembly:
jmp 0x1801a4310
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
cmp qword [rsp + 0x98], 0
je 0x1801a4358
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1801a4361
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0xe
mov r9d, 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0150]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x1801a4450
Capabilities:
Set file attributes

Disassembly:
jmp 0x1801a4450
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x13
mov r9d, 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c02b0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret

Function at 0x1801a44e0
Capabilities:
Set file attributes

Disassembly:
jmp 0x1801a44e0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
cmp dword [0x18059ff7c], 0x6a
jb 0x1801a4585
mov dword [rsp + 0x44], 0x11
mov dword [rsp + 0x20], 0x40
mov r9d, 4
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1801a457d
mov byte [rsp + 0x94], 1
mov dword [rsp + 0x20], 0xd
mov r9d, 1
lea r8, [rsp + 0x94]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
jmp 0x1801a45b9
mov byte [rsp + 0xb4], 1
mov dword [rsp + 0x20], 0xd
mov r9d, 1
lea r8, [rsp + 0xb4]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0440]
call fcn.180014e20
mov rax, rdi
add rsp, 0x100
pop rdi
ret

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

Disassembly:
jmp 0x1801a54f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0x800
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5588
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1801a5595
mov eax, dword [rsp + 0x20]
jmp 0x1801a55a6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0bc0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x1801a5770
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a5770
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
je 0x1801a57b6
cmp dword [rsp + 0x44], 0x39
je 0x1801a57c0
cmp dword [rsp + 0x44], 0x94
je 0x1801a57ca
jmp 0x1801a57d4
mov dword [rsp + 0x24], 0
jmp 0x1801a57de
mov dword [rsp + 0x24], 1
jmp 0x1801a57de
mov dword [rsp + 0x24], 2
jmp 0x1801a57de
mov eax, 0xc0000003
jmp 0x1801a589c
mov eax, dword [rsp + 0x24]
lea rcx, [0x1805a01f0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor eax, eax
cmp eax, 1
je 0x1801a5858
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000023
je 0x1801a5838
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5854
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5856
jmp 0x1801a5858
jmp 0x1801a5800
cmp dword [rsp + 0x20], 0
jge 0x1801a586f
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a589c
cmp dword [rsp + 0x34], 0x100000
ja 0x1801a588b
mov eax, dword [rsp + 0x24]
lea rcx, [0x1805a01f0]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0ce0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x1801a58c0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1801a58c0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov eax, dword [0x1805a01fc]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
xor eax, eax
cmp eax, 1
je 0x1801a597b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x64]
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov ecx, 0x35
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000023
je 0x1801a595b
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5977
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x64]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x58], rax
jmp 0x1801a5979
jmp 0x1801a597b
jmp 0x1801a590f
cmp dword [rsp + 0x20], 0
jge 0x1801a5992
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a59ba
cmp dword [rsp + 0x64], 0x100000
ja 0x1801a59a6
mov eax, dword [rsp + 0x64]
mov dword [0x1805a01fc], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0da0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret

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

Disassembly:
jmp 0x1801a5b30
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov eax, dword [0x1805a0200]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x10
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5bb1
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1801a5b9f
mov eax, 0xc000009a
jmp 0x1801a5bed
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5b54
cmp dword [rsp + 0x20], 0
jge 0x1801a5bc8
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a5bed
cmp dword [rsp + 0x30], 0x100000
ja 0x1801a5bdc
mov eax, dword [rsp + 0x30]
mov dword [0x1805a0200], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x1801a5c00
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1801a5c00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x54], 0
mov eax, dword [0x1805a0204]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5cc5
cmp dword [rsp + 0x54], 0xa
jae 0x1801a5cc5
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1801a5c68
cmp dword [rsp + 0x20], 0
jge 0x1801a5d43
mov eax, dword [0x1805a0204]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x40
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5d43
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1801a5d31
mov eax, 0xc000009a
jmp 0x1801a5d7f
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5ce6
cmp dword [rsp + 0x20], 0
jge 0x1801a5d5a
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a5d7f
cmp dword [rsp + 0x30], 0x200000
ja 0x1801a5d6e
mov eax, dword [rsp + 0x30]
mov dword [0x1805a0204], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0e70]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x1801a5f10
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a5f10
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0x200
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x12
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5f8f
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1801a5f7d
mov eax, 0xc000009a
jmp 0x1801a5fb7
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5f32
cmp dword [rsp + 0x20], 0
jge 0x1801a5fa6
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a5fb7
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret

Function at 0x1801a5fd0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a5fd0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0x200
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x90
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a604f
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1801a603d
mov eax, 0xc000009a
jmp 0x1801a6077
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5ff2
cmp dword [rsp + 0x20], 0
jge 0x1801a6066
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a6077
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x1801a6090
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a6090
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x30], 0x100
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
xor eax, eax
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x52], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x48]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a6161
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
movzx eax, word [rsp + 0x52]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x48]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1801a6178
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a619b
lea rcx, [rsp + 0x50]
call fcn.180008ce0
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c0f30]
call fcn.180014e20
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1801a6cd0
Capabilities:
Get file attributes

Disassembly:
jmp 0x1801a6cd0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov byte [rsp + 0x94], 1
mov dword [rsp + 0xa0], 0x400
mov eax, dword [rsp + 0xa0]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x98], rax
xor eax, eax
cmp eax, 1
je 0x1801a6efb
xor eax, eax
cmp eax, 1
je 0x1801a6e2f
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0xe0]
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x103
jne 0x1801a6ddf
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x1801a6ddf
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x80000005
je 0x1801a6df3
cmp dword [rsp + 0x60], 0xc0000004
jne 0x1801a6e28
mov rcx, qword [rsp + 0x98]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0xa0]
shl eax, 1
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0xa0]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x98], rax
jmp 0x1801a6e2a
jmp 0x1801a6e2f
jmp 0x1801a6d38
cmp dword [rsp + 0x60], 0x80000006
jne 0x1801a6e46
mov dword [rsp + 0x60], 0
jmp 0x1801a6efb
cmp dword [rsp + 0x60], 0
jge 0x1801a6e52
jmp 0x1801a6efb
mov dword [rsp + 0xa4], 0
mov byte [rsp + 0xa8], 1
xor eax, eax
cmp eax, 1
je 0x1801a6ee0
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0xf0]
movzx eax, al
test eax, eax
jne 0x1801a6eb1
mov byte [rsp + 0xa8], 0
jmp 0x1801a6ee0
mov rax, qword [rsp + 0xb0]
cmp dword [rax], 0
je 0x1801a6edc
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
mov ecx, dword [rsp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa4], eax
jmp 0x1801a6ede
jmp 0x1801a6ee0
jmp 0x1801a6e65
movzx eax, byte [rsp + 0xa8]
test eax, eax
jne 0x1801a6eee
jmp 0x1801a6efb
mov byte [rsp + 0x94], 0
jmp 0x1801a6d2d
mov rcx, qword [rsp + 0x98]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x60]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804c1490]
call fcn.180014e20
mov eax, edi
add rsp, 0xc0
pop rdi
ret
Function at 0x1801a8850
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1801a8850
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x54], 0x10
mov dword [rsp + 0x44], 0x100
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a88c9
jmp 0x1801a8910
cmp dword [rsp + 0x30], 0x80000005
jne 0x1801a88ef
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
jmp 0x1801a88ff
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1801a8924
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1801a8899
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2090]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x1801a8950
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1801a8950
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x84], 0x10
cmp qword [rsp + 0xa8], 0
je 0x1801a89ce
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x1801a89ce
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x1801a89cc
mov eax, 0xc0000106
jmp 0x1801a8a9c
jmp 0x1801a89dd
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.18001a850
mov dword [rsp + 0x74], 0x100
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0xb0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a8a34
jmp 0x1801a8a88
cmp dword [rsp + 0x30], 0x80000005
jne 0x1801a8a5a
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x68], rax
jmp 0x1801a8a6a
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1801a8a9c
mov eax, dword [rsp + 0x84]
dec eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jne 0x1801a89f5
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2140]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x1801a8ac0
Capabilities:
Set registry value

Disassembly:
jmp 0x1801a8ac0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x1801a8b1f
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x1801a8b1d
mov eax, 0xc0000106
jmp 0x1801a8b6c
jmp 0x1801a8b2e
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.18001a850
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c21a0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x70
pop rdi
ret