joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b9130
Capabilities:
Delete registry value

Disassembly:
jmp 0x1401b9130
mov qword [rsp + 0x10], rdx
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]
cmp qword [rsp + 0x78], 0
je 0x1401b917c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.1400117c0
movzx eax, al
test eax, eax
jne 0x1401b917a
mov eax, 0xc0000106
jmp 0x1401b91a3
jmp 0x1401b918b
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14001b520
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f25f0]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret

Function at 0x1401b91d0
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1401b91d0
mov qword [rsp + 0x20], r9
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], 0
mov dword [rsp + 0x44], 0x100
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x8000001a
jne 0x1401b9264
mov dword [rsp + 0x30], 0
jmp 0x1401b9301
cmp dword [rsp + 0x30], 0x80000005
je 0x1401b9278
cmp dword [rsp + 0x30], 0xc0000023
jne 0x1401b92c1
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1401b92ca
jmp 0x1401b9301
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x80]
movzx eax, al
test eax, eax
jne 0x1401b92ec
jmp 0x1401b9301
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
xor eax, eax
cmp eax, 1
jne 0x1401b921e
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404f2650]
call fcn.140015750
mov eax, edi
add rsp, 0x60
pop rdi
ret
Function at 0x1401b9330
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1401b9330
mov qword [rsp + 0x20], r9
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], 0
mov dword [rsp + 0x44], 0x100
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x8000001a
jne 0x1401b93c4
mov dword [rsp + 0x30], 0
jmp 0x1401b9461
cmp dword [rsp + 0x30], 0x80000005
je 0x1401b93d8
cmp dword [rsp + 0x30], 0xc0000023
jne 0x1401b9421
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1401b942a
jmp 0x1401b9461
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x80]
movzx eax, al
test eax, eax
jne 0x1401b944c
jmp 0x1401b9461
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
xor eax, eax
cmp eax, 1
jne 0x1401b937e
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404f26b0]
call fcn.140015750
mov eax, edi
add rsp, 0x60
pop rdi
ret
Function at 0x1401bc2b0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401bc2b0
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 byte [rsp + 0x68], 0
mov dword [rsp + 0x40], 0x14
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x90]
mov ecx, 0xe6
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xc0000023
jne 0x1401bc38c
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x90]
mov ecx, 0xe6
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1401bc40f
mov dword [rsp + 0x34], 0xc0000225
mov dword [rsp + 0x64], 0
jmp 0x1401bc3af
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x54]
xor edx, edx
mov eax, ecx
mov ecx, 4
div rcx
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x1401bc40f
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
shr eax, 0x13
and eax, 1
test eax, eax
je 0x1401bc40d
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax*4]
and eax, 0xffff
mov byte [rsp + 0x68], 1
mov word [rsp + 0x30], ax
mov dword [rsp + 0x34], 0
jmp 0x1401bc40f
jmp 0x1401bc3a5
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
cmp dword [rsp + 0x34], 0
jl 0x1401bc443
cmp byte [rsp + 0x68], 0
jne 0x1401bc433
lea rcx, str.architecture
call fcn.140005060
mov rax, qword [rsp + 0x98]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404f4490]
call fcn.140015750
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x1401bd490
Capabilities:
Get uefi variable

Disassembly:
jmp 0x1401bd490
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x30]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov eax, 2
mov word [rsp + 0x38], ax
mov eax, 4
mov word [rsp + 0x3a], ax
lea rax, [0x1403d0f90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x64], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
cmp eax, 0xc0000100
jne 0x1401bd527
mov al, 1
jmp 0x1401bd529
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f5040]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xc0
pop rdi
ret
Function at 0x1401bdc30
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401bdc30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1401bdc81
cmp dword [rsp + 0x58], 3
je 0x1401bdc8b
cmp dword [rsp + 0x58], 4
je 0x1401bdc95
cmp dword [rsp + 0x58], 0xffff
je 0x1401bdc9f
jmp 0x1401bdca9
mov dword [rsp + 0x34], 0
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 1
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 2
jmp 0x1401bdcb3
mov dword [rsp + 0x34], 3
jmp 0x1401bdcb3
mov eax, 0xc0000003
jmp 0x1401bddc8
mov eax, dword [rsp + 0x34]
lea rcx, [0x1405d6698]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x70]
mov ecx, 0x6b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1401bdd76
cmp dword [rsp + 0x54], 8
jae 0x1401bdd76
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x70]
mov ecx, 0x6b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1401bdd0e
cmp dword [rsp + 0x30], 0
jge 0x1401bdd8d
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1401bddc8
cmp dword [rsp + 0x44], 0x100000
ja 0x1401bdda9
mov eax, dword [rsp + 0x34]
lea rcx, [0x1405d6698]
mov edx, dword [rsp + 0x44]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f55e0]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x1401be0e0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401be0e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x460
lea rdi, [rsp + 0x20]
mov ecx, 0x110
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x470]
xor eax, eax
mov word [rsp + 0x454], ax
mov rax, qword [rsp + 0x470]
movzx eax, word [rax]
cmp eax, 0x14
jge 0x1401be136
mov rax, qword [rsp + 0x470]
movzx eax, word [rax + 2]
cmp eax, 0x40
jl 0x1401be14d
mov eax, 0xffff
mov rcx, qword [rsp + 0x478]
mov word [rcx], ax
xor al, al
jmp 0x1401be227
xor r9d, r9d
mov r8d, 0x408
lea rdx, [rsp + 0x40]
mov ecx, 0x37
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1401be188
mov eax, 0xffff
mov rcx, qword [rsp + 0x478]
mov word [rcx], ax
xor al, al
jmp 0x1401be227
movzx eax, word [rsp + 0x454]
imul rax, rax, 0x10
movzx eax, word [rsp + rax + 0x50]
mov rcx, qword [rsp + 0x470]
movzx ecx, word [rcx]
cmp eax, ecx
jne 0x1401be1d8
movzx eax, word [rsp + 0x454]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x470]
movzx ecx, word [rcx + 2]
mov edx, 1
shl rdx, cl
mov rcx, rdx
mov rax, qword [rsp + rax + 0x48]
and rax, rcx
test rax, rax
jne 0x1401be212
movzx eax, word [rsp + 0x454]
inc ax
mov word [rsp + 0x454], ax
movzx eax, word [rsp + 0x454]
cmp eax, dword [rsp + 0x40]
jbe 0x1401be20d
mov eax, 0xffff
mov rcx, qword [rsp + 0x478]
mov word [rcx], ax
xor al, al
jmp 0x1401be227
jmp 0x1401be188
mov rax, qword [rsp + 0x478]
movzx ecx, word [rsp + 0x454]
mov word [rax], cx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f5790]
call fcn.140015750
mov rax, rdi
add rsp, 0x460
pop rdi
ret

Function at 0x1401be6c0
Capabilities:
Get file attributes

Disassembly:
jmp 0x1401be6c0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
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 dword [rsp + 0x70], 0x200
mov eax, dword [rsp + 0x70]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x68], rax
xor eax, eax
cmp eax, 1
je 0x1401be782
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x80000005
je 0x1401be758
cmp dword [rsp + 0x30], 0xc0000023
je 0x1401be758
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1401be77e
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x70]
shl eax, 1
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x68], rax
jmp 0x1401be780
jmp 0x1401be782
jmp 0x1401be707
cmp dword [rsp + 0x30], 0
jl 0x1401be79b
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x1401be7a5
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404f5b00]
call fcn.140015750
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x1401bed10
Capabilities:
Delete registry key
Unload driver

Disassembly:
jmp 0x1401bed10
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
lea rdi, [rsp + 0x40]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x120]
mov rdx, rax
lea rcx, [0x1405d6520]
call sym.ProcessHacker.exe_PhConcatStringRef2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1400117c0
movzx eax, al
test eax, eax
jne 0x1401bed7f
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, 0xc0000106
jmp 0x1401bef25
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0xa4]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
xor r8d, r8d
mov edx, 0x30006
lea rcx, [rsp + 0x88]
call sym.ProcessHacker.exe_PhCreateKey
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1401bef17
cmp dword [rsp + 0xa4], 1
jne 0x1401beee2
mov dword [rsp + 0xf4], 1
lea rdx, str.ErrorControl
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, [0x1404f94c8]
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, str.Type
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xf4]
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rdx, str.ImagePath
lea rcx, [rsp + 0xc8]
call fcn.140005530
mov eax, dword [0x1405d6530]
add rax, 2
mov dword [rsp + 0x20], eax
mov r9, qword [str.SystemRoot_system32drivers_ntfs.sys]
mov r8d, 1
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhSetValueKey
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0xa4], 1
jne 0x1401bef09
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x48]
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f5e70]
call fcn.140015750
mov rax, rdi
add rsp, 0x110
pop rdi
ret
Function at 0x1401c7cd0
Capabilities:
Delete registry key

Disassembly:
jmp 0x1401c7cd0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
lea rdi, [rsp + 0x30]
mov ecx, 0xd0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x380]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x30], 0xc0000001
mov qword [rsp + 0x48], 0
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0xa0], 1
mov eax, 0x20
imul rax, rax, 0
lea rax, [rsp + rax + 0xb0]
lea rdx, str.SystemCurrentControlSetServices_
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c7d19
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0xa0], 1
cmp qword [rsp + 0x380], 0
je 0x1401c7d84
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x360], rax
jmp 0x1401c7d93
lea rax, str.KProcessHacker3
mov qword [rsp + 0x360], rax
mov eax, 0x20
imul rax, rax, 1
lea rax, [rsp + rax + 0xb0]
mov rdx, qword [rsp + 0x360]
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c7d53
mov eax, 0x20
imul rax, rax, 2
mov dword [rsp + rax + 0xa0], 1
mov eax, 0x20
imul rax, rax, 2
lea rax, [rsp + rax + 0xb0]
lea rdx, str.Parameters
mov rcx, rax
call fcn.140005530
xor eax, eax
test eax, eax
jne 0x1401c7dba
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x140]
mov edx, 3
lea rcx, [rsp + 0xa0]
call sym.ProcessHacker.exe_PhFormatToBuffer
movzx eax, al
test eax, eax
jne 0x1401c7e32
mov eax, 0xc0000001
jmp 0x1401c7ef5
lea rax, [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x118]
sub rax, 2
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x380]
call fcn.140008590
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0xffff
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x424
jne 0x1401c7e80
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 0
jl 0x1401c7eae
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8, 0xfffffffffffffffd
mov edx, 0x10000
lea rcx, [rsp + 0x48]
call sym.ProcessHacker.exe_PhOpenKey
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1401c7ecc
cmp qword [rsp + 0x48], 0
je 0x1401c7ecc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000034
jne 0x1401c7ede
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x48], 0
je 0x1401c7ef1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404fa0d0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x370
pop rdi
ret
Function at 0x1401c8130
Capabilities:
Create service
Delete service
Start service

Disassembly:
jmp 0x1401c8130
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov dword [rsp + 0x70], 0
cmp qword [rsp + 0xa0], 0
jne 0x1401c8169
lea rax, str.KProcessHacker3
mov qword [rsp + 0xa0], rax
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1401c8190
call fcn.140010ff0
jmp 0x1401c82a9
lea rax, [0x1403c77e4]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1401c8291
mov rcx, qword [rsp + 0x80]
call fcn.1400171d0
cmp qword [rsp + 0xb0], 0
je 0x1401c8261
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400089b0
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jge 0x1401c8261
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
jmp 0x1401c8281
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1401c8281
call fcn.140010ff0
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1401c829a
call fcn.140010ff0
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret
Function at 0x1401c82c0
Capabilities:
Delete service
Stop service

Disassembly:
jmp 0x1401c82c0
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]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401c8327
call fcn.140010ff0
jmp 0x1401c83cb
cmp qword [rsp + 0xa0], 0
je 0x1401c8344
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
jmp 0x1401c8353
lea rax, str.KProcessHacker3
mov qword [rsp + 0x80], rax
mov r8d, 0x10020
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401c83b3
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1401c83a6
call fcn.140010ff0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1401c83bc
call fcn.140010ff0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404fa1a0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x90
pop rdi
ret