joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402a2f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409380
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e900
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402a00
cmp byte [0x0064c190], 0
je 0x460a35
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45da00
jmp 0x402a00

Function at 0x460a40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0064c500]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0064c190], 0
je 0x460a75
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0064c7c0]
aesenc xmm0, xmmword [0x0064c7d0]
aesenc xmm0, xmmword [0x0064c7e0]
movq rax, xmm0
ret
jmp 0x409580

Function at 0x460a80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0064c500]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0064c190], 0
je 0x460ab6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0064c7c0]
aesenc xmm0, xmmword [0x0064c7d0]
aesenc xmm0, xmmword [0x0064c7e0]
movq rax, xmm0
ret
jmp 0x4095e0

Function at 0x462400
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0064c740]
mov qword [rsp + 8], rdx
lea r8d, [0x0064c1ac]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00460960
add rsp, 0x30
ret
Function at 0x47d5c0
Capabilities:
Hash data using fnv

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x47d840
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x47d683
mov qword [rsp + 0x90], rax
lea rbx, [0x00512340]
mov rcx, rax
lea rax, [0x005f8400]
call fcn.00467ea0
test cl, cl
jne 0x47d662
mov rax, qword [rsp + 0x90]
nop dword [rax + rax]
call fcn.0047c4e0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x38]
lea rbx, [0x005153cc]
nop dword [rax]
call fcn.0044bcc0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rbx
call fcn.0047e9c0
mov rcx, qword [rsp + 0x90]
xor edx, edx
nop
jmp 0x47d6aa
lea rdx, [0x00512080]
cmp rax, rdx
jne 0x47d698
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
call fcn.0045c720
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rbx, rdx
lea rcx, [0x004fb7e0]
call fcn.00409fe0
inc rdx
cmp rbx, rdx
jle 0x47d6fe
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x47d6a7
lea rax, [0x005f8400]
lea rbx, [0x00512340]
lea rdi, [0x00512080]
call fcn.004686c0
lea rdx, [0x00512080]
nop word [rax + rax]
cmp rax, rdx
jne 0x47d830
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
lea rcx, [0x004f6680]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
lea rax, [0x00503dc0]
call fcn.0040cb00
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
test byte [rcx], al
cmp dword [0x0064c490], 0
jne 0x47d75e
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x47d76d
mov rbx, rax
lea rax, [0x00503dc0]
call fcn.004126c0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
xor edi, edi
xor esi, esi
nop dword [rax]
call fcn.0047bf40
call fcn.0045c7e0
mov rsi, qword [rsp + 0x68]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x90]
mov edx, dword [rcx + 0x10]
mov byte [rsp + 0x2f], 0
mov byte [rsp + 0x2f], 0x2a
xor eax, eax
jmp 0x47d7c4
movzx r8d, byte [rsp + rax + 0x2f]
inc rax
imul edx, edx, 0x1000193
xor edx, r8d
cmp rax, 1
jl 0x47d7b2
mov dword [rsi + 0x10], edx
cmp dword [0x0064c490], 0
jne 0x47d7dc
mov qword [rsi + 0x30], rcx
jmp 0x47d7e5
lea rdi, [rsi + 0x30]
call fcn.00460c40
lea rax, [0x005f8400]
lea rbx, [0x00512340]
lea rdi, [0x00512080]
call fcn.004686c0
lea rdx, [0x00512080]
cmp rax, rdx
jne 0x47d821
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
nop
ret
mov rbx, rdx
lea rcx, [0x004fb7e0]
call fcn.00409fe0
mov rbx, rdx
lea rcx, [0x004fb7e0]
call fcn.00409fe0
nop
mov qword [rsp + 8], rax
call fcn.0045e900
mov rax, qword [rsp + 8]
jmp fcn.0047d5c0
Function at 0x140001570
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140015c60], rbx
je 0x1400015d7
cmp rax, rbx
jne 0x1400015ca
mov ebx, 1
mov esi, ebx
jmp 0x1400015dc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400015af
mov ebx, 1
mov eax, dword [0x140015c68]
cmp eax, ebx
jne 0x1400015f4
mov edi, 0x1f
mov ecx, edi
call fcn.140146000
jmp 0x14000166a
mov eax, dword [0x140015c68]
test eax, eax
jne 0x14000165f
mov dword [0x140015c68], ebx
lea r15, [0x140010bf8]
lea rdi, [0x140010be0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001651
test eax, eax
jne 0x140001655
cmp qword [rdi], r14
je 0x140001646
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x140010b90]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000161e
test eax, eax
je 0x140001665
mov eax, 0xff
jmp 0x1400017ca
mov dword [0x1400153e4], ebx
mov edi, 0x1f
mov eax, dword [0x140015c68]
cmp eax, ebx
jne 0x140001691
lea rdx, [0x140010bd8]
lea rcx, [0x140010ba0]
call sub.msvcrt.dll__initterm
mov dword [0x140015c68], 2
test esi, esi
jne 0x14000169f
mov rax, r14
xchg qword [0x140015c60], rax
cmp qword [0x140015c80], r14
je 0x1400016dc
lea rcx, [0x140015c80]
call fcn.140001c70
test eax, eax
je 0x1400016dc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140015c80]
mov r9, qword [0x140010b90]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400016f5
mov eax, 0xff
jmp 0x1400017ca
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000177b
test ax, ax
je 0x140001710
test edx, edx
jne 0x14000177b
sub ax, bx
cmp ax, di
ja 0x140001726
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001710
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140006fbc
mov dword [0x1400153e0], eax
cmp dword [0x140015400], r14d
jne 0x140001764
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400153e4], r14d
jne 0x140001779
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400153e0]
jmp 0x1400017ca
cmp ax, 0x22
jne 0x14000178f
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400016fe
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140001d04
add rsp, 0x28
jmp 0x140001570
Function at 0x140001fc0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x140001fdb
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140001ff3
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x140001ffa
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_lock_the_computer.
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x140002057
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x1401b439c]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, ds:[rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002068
call fcn.140106290
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
lea r8, [0x1401c7ff8]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x140002080
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x14000209f
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400020b7
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x1400020be
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_log_off_the_computer.
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x14000211a
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x1401b439c]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000212b
call fcn.140106290
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
lea r8, [0x1401c7ff8]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1400059a0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rdx + 0x10]
mov rdi, rdx
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov rbx, qword [rax + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140005a26
mov r8d, 0x10
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x140005a26
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbx
test eax, eax
je 0x140005a1d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x140005b07
nop dword [rax]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140005a3b
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, str.Unable_to_start
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x38]
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call fcn.140001910
test al, al
je 0x140005ad7
cmp byte [rsp + 0x38], 0
je 0x140005b05
mov rcx, qword [rdi + 0x10]
mov edx, 1
mov rcx, qword [rcx + 8]
call fcn.140092020
mov ebx, eax
test eax, eax
js 0x140005a9e
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005b07
mov r8, qword [rdi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005b07
mov r8, qword [rdi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140005b20
Capabilities:
Continue service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 0x10]
mov rdi, rdx
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov rbx, qword [rax + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140005bb3
mov r8d, 0x40
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax]
test rbx, rbx
je 0x140005bb3
lea r8, [rsp + 0x28]
mov edx, 3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x140005bad
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x140005c99
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140005bc8
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, str.Unable_to_continue
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call fcn.140001910
test al, al
je 0x140005c6a
cmp byte [rsp + 0x20], 0
je 0x140005c97
mov rcx, qword [rdi + 0x10]
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.140092020
mov ebx, eax
test eax, eax
js 0x140005c30
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005c99
mov r8, qword [rdi + 0x10]
lea rdx, [0x140193510]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005c99
mov r8, qword [rdi + 0x10]
lea rdx, [0x140193510]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140161390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005cc0
Capabilities:
Pause service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 0x10]
mov rdi, rdx
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov rbx, qword [rax + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140005d53
mov r8d, 0x40
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax]
test rbx, rbx
je 0x140005d53
lea r8, [rsp + 0x28]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x140005d4d
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x140005e39
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140005d68
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, str.Unable_to_pause
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call fcn.140001910
test al, al
je 0x140005e0a
cmp byte [rsp + 0x20], 0
je 0x140005e37
mov rcx, qword [rdi + 0x10]
mov edx, 3
mov rcx, qword [rcx + 8]
call fcn.140092020
mov ebx, eax
test eax, eax
js 0x140005dd0
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005e39
mov r8, qword [rdi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005e39
mov r8, qword [rdi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140161390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005e60
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 0x10]
mov rdi, rdx
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov rbx, qword [rax + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140005ef3
mov r8d, 0x20
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax]
test rbx, rbx
je 0x140005ef3
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x140005eed
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x140005fd9
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140005f08
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, str.Unable_to_stop
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call fcn.140001910
test al, al
je 0x140005faa
cmp byte [rsp + 0x20], 0
je 0x140005fd7
mov rcx, qword [rdi + 0x10]
mov edx, 4
mov rcx, qword [rcx + 8]
call fcn.140092020
mov ebx, eax
test eax, eax
js 0x140005f70
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005fd9
mov r8, qword [rdi + 0x10]
lea rdx, str.stop
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x140005fd9
mov r8, qword [rdi + 0x10]
lea rdx, str.stop
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140161390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006000
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x30
mov r8, qword [rdx + 0x10]
lea r9, str.Deleting_a_service_can_prevent_the_system_from_starting_or_functioning_properly.
mov rsi, rdx
mov byte [rsp + 0x20], 1
lea rdx, [0x140193638]
mov rbp, rcx
mov r8, qword [r8 + 8]
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
jne 0x14000603f
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov rax, qword [rsi + 0x10]
xor edx, edx
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov qword [rsp + 0x50], rdi
mov rdi, qword [rax + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1400060b1
mov r8d, 0x10000
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x1400060b1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
test eax, eax
je 0x1400060ab
mov bl, 1
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140006199
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400060c6
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rsi + 0x10]
lea rcx, str.Unable_to_delete
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhConcatStrings2
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call fcn.140001910
test al, al
je 0x140006167
xor bl, bl
cmp byte [rsp + 0x48], bl
je 0x140006199
mov rcx, qword [rsi + 0x10]
mov edx, 5
mov rcx, qword [rcx + 8]
call fcn.140092020
mov ebx, eax
test eax, eax
js 0x14000612d
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140006199
mov r8, qword [rsi + 0x10]
lea rdx, [0x140193638]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140006199
mov r8, qword ds:[rsi + 0x10]
lea rdx, [0x140193638]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.140001770
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
xor bl, bl
mov rdi, qword [rsp + 0x50]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret