joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180179870
Capabilities:
Map section object

Disassembly:
jmp 0x180179870
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 5
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFile
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801798e5
mov eax, dword [rsp + 0x50]
jmp 0x180179a2d
cmp dword [0x18059ff7c], 0x3e
jae 0x1801798fb
mov dword [rsp + 0xd4], 0x1000000
jmp 0x180179906
mov dword [rsp + 0xd4], 0x11000000
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jge 0x18017995b
mov eax, dword [rsp + 0x50]
jmp 0x180179a2d
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc8], 0
cmp dword [0x18059ff7c], 0x67
jae 0x180179989
mov dword [rsp + 0xd8], 0
jmp 0x180179994
mov dword [rsp + 0xd8], 0x40000
mov dword [rsp + 0x48], 2
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xa8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jl 0x180179a29
cmp qword [rsp + 0xf8], 0
je 0x180179a29
mov rax, qword [rsp + 0xa8]
or rax, 2
mov rcx, qword [rsp + 0xf8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b2c20]
call fcn.180014e20
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x180181230
Capabilities:
Get graphical window text

Disassembly:
jmp 0x180181230
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0xb8]
and eax, 1
test eax, eax
je 0x180181337
mov eax, dword [rsp + 0xb8]
and eax, 2
test eax, eax
je 0x1801812b0
mov r8d, 0x20
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x28], eax
jmp 0x180181329
mov edx, 0x200
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
shl rax, 1
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
cmp qword [rsp + 0xc0], 0
je 0x18018131f
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x180181329
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov eax, dword [rsp + 0x28]
jmp 0x180181420
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x18018135e
mov eax, dword [rsp + 0xb8]
and eax, 2
test eax, eax
je 0x180181382
cmp qword [rsp + 0xc0], 0
je 0x180181379
call sym.ProcessMonitor.dll_PhReferenceEmptyString
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x28]
jmp 0x180181420
mov eax, dword [rsp + 0x28]
shl rax, 1
mov rdx, rax
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1801813f9
cmp qword [rsp + 0xc0], 0
je 0x1801813e7
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1801813f1
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov eax, dword [rsp + 0x28]
jmp 0x180181420
cmp qword [rsp + 0xc0], 0
je 0x180181414
call sym.ProcessMonitor.dll_PhReferenceEmptyString
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b60c0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xa0
pop rdi
ret
Function at 0x180181460
Capabilities:
Get graphical window text

Disassembly:
jmp 0x180181460
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x48]
and eax, 1
test eax, eax
je 0x1801814a6
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x24], eax
jmp 0x1801814bf
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1801814d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x60], 0
je 0x1801814e3
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x180182f90
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x180182f90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x20
pop rdi
ret
Function at 0x180184870
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x180184870
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1801848bc
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x18018489e
jmp 0x1801848bc
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1801848b4
jmp 0x1801848bc
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1801848c7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
add rsp, 0x20
pop rdi
ret
Function at 0x180190140
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x180190140
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, 0x40
lea rdx, [sym.ProcessMonitor.dll_PhSystemBasicInformation]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret
Function at 0x180190170
Capabilities:
Check os version

Disassembly:
jmp 0x180190170
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x20]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180013180
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jge 0x1801901d4
mov dword [0x18059ff7c], 0xffffffff
jmp 0x180190469
mov r8d, 0x11c
lea rdx, [rsp + 0x30]
lea rcx, [0x1808e91d0]
call fcn.18000cf00
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x154], 6
jne 0x180190220
cmp dword [rsp + 0x158], 1
jb 0x18019022a
cmp dword [rsp + 0x154], 6
jae 0x180190239
mov dword [0x18059ff7c], 0
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x18019025c
cmp dword [rsp + 0x158], 1
jne 0x18019025c
mov dword [0x18059ff7c], 0x3d
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x18019027f
cmp dword [rsp + 0x158], 2
jne 0x18019027f
mov dword [0x18059ff7c], 0x3e
jmp 0x180190469
cmp dword [rsp + 0x154], 6
jne 0x1801902a2
cmp dword [rsp + 0x158], 3
jne 0x1801902a2
mov dword [0x18059ff7c], 0x3f
jmp 0x180190469
cmp dword [rsp + 0x154], 0xa
jne 0x18019045f
cmp dword [rsp + 0x158], 0
jne 0x18019045f
cmp dword [rsp + 0x15c], 0x57e4
jb 0x1801902da
mov dword [0x18059ff7c], 0x72
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x55f0
jb 0x1801902f6
mov dword [0x18059ff7c], 0x71
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a64
jb 0x180190312
mov dword [0x18059ff7c], 0x70
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a63
jb 0x18019032e
mov dword [0x18059ff7c], 0x6f
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a62
jb 0x18019034a
mov dword [0x18059ff7c], 0x6e
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4a61
jb 0x180190366
mov dword [0x18059ff7c], 0x6d
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x47bb
jb 0x180190382
mov dword [0x18059ff7c], 0x6c
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x47ba
jb 0x18019039e
mov dword [0x18059ff7c], 0x6b
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x4563
jb 0x1801903ba
mov dword [0x18059ff7c], 0x6a
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x42ee
jb 0x1801903d6
mov dword [0x18059ff7c], 0x69
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3fab
jb 0x1801903ef
mov dword [0x18059ff7c], 0x68
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3ad7
jb 0x180190408
mov dword [0x18059ff7c], 0x67
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x3839
jb 0x180190421
mov dword [0x18059ff7c], 0x66
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x295a
jb 0x18019043a
mov dword [0x18059ff7c], 0x65
jmp 0x18019045d
cmp dword [rsp + 0x15c], 0x2800
jb 0x180190453
mov dword [0x18059ff7c], 0x64
jmp 0x18019045d
mov dword [0x18059ff7c], 0x64
jmp 0x180190469
mov dword [0x18059ff7c], 0xffffffff
mov rcx, rsp
lea rdx, [0x1804b9b00]
call fcn.180014e20
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x170
pop rdi
ret
Function at 0x1801909c0
Capabilities:
Get file attributes

Disassembly:
jmp 0x1801909c0
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 rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
and eax, 0xc
test eax, eax
jne 0x180190a54
mov dword [rsp + 0x20], 0xe
mov r9d, 8
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180190a36
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
cmp qword [rax + 0x10], rcx
je 0x180190a54
mov ecx, 0xc00000e5
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov rcx, rsp
lea rdx, [0x1804b9db0]
call fcn.180014e20
add rsp, 0x90
pop rdi
ret

Function at 0x180191800
Capabilities:
Read file on windows

Disassembly:
jmp 0x180191800
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 + 0x50]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
and eax, 8
test eax, eax
je 0x180191867
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x103
jne 0x1801918ef
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1801918ef
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x18019192c
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
cmp qword [rsp + 0xb8], 0
je 0x18019192c
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804ba1c0]
call fcn.180014e20
mov eax, edi
add rsp, 0x90
pop rdi
ret
Function at 0x180191960
Capabilities:
Write file on windows

Disassembly:
jmp 0x180191960
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x50]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
and eax, 8
test eax, eax
je 0x1801919c2
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x103
jne 0x180191a4a
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x180191a4a
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x180191a88
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
bts eax, 0x1f
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804ba220]
call fcn.180014e20
mov eax, edi
add rsp, 0x90
pop rdi
ret
Function at 0x180191bd0
Capabilities:
Set file attributes

Disassembly:
jmp 0x180191bd0
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 + 0x30], 0
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
je 0x180191c39
cmp dword [rsp + 0x84], 1
je 0x180191c52
cmp dword [rsp + 0x84], 2
je 0x180191c77
jmp 0x180191ccd
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
jmp 0x180191ccd
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0xa8]
add rax, qword [rcx]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
jmp 0x180191ccd
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call sym.ProcessMonitor.dll_PhGetFileSize
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180191caa
mov eax, dword [rsp + 0x30]
jmp 0x180191d2e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0xa8]
add rax, qword [rcx]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 8]
and eax, 8
test eax, eax
jne 0x180191d2a
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0xe
mov r9d, 8
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180191d2a
mov eax, dword [rsp + 0x30]
jmp 0x180191d2e
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804ba330]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180196810
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x180196810
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
lea rdi, [rsp + 0x30]
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x130]
cmp qword [rax + 8], 0
jne 0x18019685e
mov eax, 0xc000000d
jmp 0x1801969fd
mov dword [rsp + 0x20], 0
lea r9, [0x1805a0060]
mov r8, 0xfffffffffffffffd
mov edx, 0x20019
lea rcx, [rsp + 0x48]
call sym.ProcessMonitor.dll_PhOpenKey
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180196897
mov eax, dword [rsp + 0x30]
jmp 0x1801969fd
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x30], 0xc0000034
jne 0x180196955
lea rdx, [rsp + 0xf8]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhVerifyFile
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 2
jne 0x180196931
cmp qword [rsp + 0xf8], 0
je 0x180196931
mov r8b, 1
lea rdx, str.Microsoft_Corporation
mov rcx, qword [rsp + 0xf8]
call fcn.180018550
movzx eax, al
test eax, eax
jne 0x180196948
lea rcx, [rsp + 0xf8]
call fcn.1800153b0
mov eax, 0xc0000361
jmp 0x1801969fd
lea rcx, [rsp + 0xf8]
call fcn.1800153b0
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0x130]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180196980
mov eax, dword [rsp + 0x30]
jmp 0x1801969fd
lea rdx, str.OutOfProcessFunctionTableCallback
lea rcx, [rsp + 0xa8]
call fcn.180009cc0
lea r9, [rsp + 0xd8]
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801969eb
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0xd8]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bbdc0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x110
pop rdi
ret
Function at 0x1801a04f0
Capabilities:
Terminate process

Disassembly:
jmp 0x1801a04f0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
call fcn.180014ef0
movzx eax, al
test eax, eax
je 0x1801a052c
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.180011090
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc00000bb
je 0x1801a052c
mov eax, dword [rsp + 0x20]
jmp 0x1801a053b
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x30
pop rdi
ret

Function at 0x1801a0550
Capabilities:
Terminate process

Disassembly:
jmp 0x1801a0550
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x20
pop rdi
ret

Function at 0x1801a0730
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a0730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
cmp qword [rsp + 0xa8], 0
jne 0x1801a0780
cmp qword [rsp + 0xb0], 0
jne 0x1801a0780
mov eax, 0xc0000030
jmp 0x1801a08e0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
xor eax, eax
mov word [rsp + 0x40], ax
mov eax, 0x100
mov word [rsp + 0x42], ax
movzx eax, word [rsp + 0x42]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocateSafe
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1801a07c1
mov eax, 0xc0000017
jmp 0x1801a08e0
xor r9d, r9d
mov r8d, 0x18
lea rdx, [rsp + 0x38]
mov ecx, 0x58
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1801a07ef
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhFree
cmp dword [rsp + 0x20], 0xc0000004
je 0x1801a079e
cmp dword [rsp + 0x20], 0
jge 0x1801a0809
mov eax, dword [rsp + 0x20]
jmp 0x1801a08e0
cmp qword [rsp + 0xa8], 0
je 0x1801a0829
lea rcx, [rsp + 0x40]
call fcn.180008ce0
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
cmp qword [rsp + 0xb0], 0
je 0x1801a08d2
movzx eax, word [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov dx, 0x5c
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFindLastCharInStringRef
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x1801a0887
lea rcx, [rsp + 0x40]
call fcn.180008ce0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
jmp 0x1801a08d2
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
lea rax, [rax + rcx*2 + 2]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x88]
shl rax, 1
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
sub rax, 2
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.180006dd0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804be1f0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x1801a0910
Capabilities:
Check processdebugport

Disassembly:
jmp 0x1801a0910
mov qword [rsp + 0x10], rdx
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 + 0x30], 0xc0000001
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x48]
mov edx, 7
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a099d
cmp qword [rsp + 0x48], 0
je 0x1801a0983
mov dword [rsp + 0x54], 1
jmp 0x1801a098b
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x78]
movzx ecx, byte [rsp + 0x54]
mov byte [rax], cl
mov eax, dword [rsp + 0x30]
jmp 0x1801a0a0b
call fcn.180014ef0
movzx eax, al
test eax, eax
je 0x1801a0a07
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x48]
mov edx, 0x1e
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801a09f1
mov rax, qword [rsp + 0x78]
mov byte [rax], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
jmp 0x1801a0a0b
cmp dword [rsp + 0x30], 0xc0000022
jne 0x1801a0a07
mov rax, qword [rsp + 0x78]
mov byte [rax], 1
xor eax, eax
jmp 0x1801a0a0b
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804be250]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret