joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e48e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e4aeb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x4e4a04
cmp rdx, 0x40
ja 0x4e4add
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
cmp rbx, rdx
je 0x4e4974
mov rax, rdx
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
nop
cmp rdx, 0x40
jne 0x4e49e0
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call sym.crypto_md5.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x0077f800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rsi
jb 0x4e4ad5
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rcx
sub r8, rsi
add rbx, rdx
jmp 0x4e4a07
mov r8, rcx
cmp r8, 0x40
jl 0x4e4a85
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call sym.crypto_md5.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x0077f800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x38]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
test r8, r8
je 0x4e4ac8
lea rdx, [rax + 0x10]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
nop dword [rax + rax]
cmp rbx, rdx
je 0x4e4ac4
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rax, rsi
call sym.runtime.panicSliceB
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.crypto_md5._digest_.Write
Function at 0x523a00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x523b4e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x006e7450]
call sym.internal_godebug._Setting_.Value
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [sym.net.goDebugNetDNS.func1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0077f800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x523b12
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x523b48
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x523b3d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.net.goDebugNetDNS
Function at 0x1400019f0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x140001a0b
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 0x140001a23
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x140001a2a
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
jne 0x140001a58
lea r8, [0x1401689f8]
lea edx, [rax + 0x10]
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
mov edx, 0x20
mov r8d, 0xfffe
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140001a87
call fcn.1400c8bc0
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140001aa0
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 0x140001abf
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 0x140001ad7
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x140001ade
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
jne 0x140001b0c
lea r8, [0x1401689f8]
lea edx, [rax + 0x10]
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
mov edx, 0x20
mov r8d, 0xfffe
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140001b3b
call fcn.1400c8bc0
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140001d10
Capabilities:
Shutdown system

Disassembly:
mov r11, rsp
push r14
push r15
sub rsp, 0x88
mov qword [r11 + 0x10], rbp
lea rax, str.EnableWarnings
mov qword [r11 + 0x20], rsi
mov r14d, edx
mov qword [r11 - 0x18], rdi
mov r15, rcx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov r13d, 5
mov qword [r11 - 0x60], rax
xor eax, eax
mov qword [r11 - 0x68], 0x1c
lock cmpxchg qword [0x140193950], r13
je 0x140001d6a
lea rcx, [0x140193950]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
movups xmm0, xmmword [rsp + 0x30]
mov rsi, qword [0x1401965a8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0xa0], rbx
movups xmmword [rsp + 0x48], xmm0
call qword [rsi + 0x10]
mov edx, dword [rsi + 0x18]
xor r12d, r12d
mov rcx, qword [rsi + 0x20]
dec edx
mov ebp, eax
btr ebp, 0x1f
and edx, ebp
mov r8d, dword [rcx + rdx*4]
cmp r8d, 0xffffffff
je 0x140001dde
nop dword [rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, r8d
add rbx, qword [rsi + 0x30]
cmp dword [rbx], ebp
jne 0x140001dd4
lea rdi, [rbx + 8]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [rsi + VariantCopy]
test al, al
jne 0x140001de1
mov r8d, dword [rbx + 4]
cmp r8d, 0xffffffff
jne 0x140001db0
mov rdi, r12
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xa8]
test rdi, rdi
je 0x140001e00
cmp dword [rdi], 1
jne 0x140001e00
mov ebx, dword [rdi + 0x28]
jmp 0x140001e0a
mov ebx, dword [rsp + 0xb0]
mov rdi, r12
mov rax, r13
mov r13, qword [rsp + 0x70]
lock cmpxchg qword [0x140193950], r12
mov r12, qword [rsp + 0x78]
je 0x140001e2e
lea rcx, [0x140193950]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rdi, rdi
mov rdi, qword [rsp + 0x80]
jne 0x140001e47
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test ebx, ebx
je 0x140001e71
xor r9d, r9d
mov byte [rsp + 0x20], 0
lea r8, str.the_computer
mov rcx, r15
lea rdx, str.restart
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
je 0x140001f06
or r14d, 2
xor edx, edx
mov ecx, r14d
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x140001e9a
mov al, 1
mov rbx, qword [rsp + 0xa0]
add rsp, 0x88
pop r15
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140001ead
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x140001eb4
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_restart_the_computer
mov rbx, rax
mov rcx, r15
test rax, rax
jne 0x140001ed7
lea r8, [0x1401689f8]
lea edx, [rax + 0x10]
call sym.ProcessHacker.exe_PhShowMessage
jmp 0x140001f06
mov rax, qword [rbx + 8]
mov edx, 0x20
mov r8d, 0xfffe
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140001f06
call fcn.1400c8bc0
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x88
pop r15
pop r14
ret
Function at 0x140001f20
Capabilities:
Shutdown system

Disassembly:
mov r11, rsp
push rbp
push r15
sub rsp, 0x88
mov qword [r11 + 0x10], rsi
lea rax, str.EnableWarnings
mov qword [r11 + 0x20], rdi
mov ebp, edx
mov qword [r11 - 0x18], r12
mov r15, rcx
mov qword [r11 - 0x20], r13
mov r13d, 5
mov qword [r11 - 0x60], rax
xor eax, eax
mov qword [r11 - 0x28], r14
mov qword [r11 - 0x68], 0x1c
lock cmpxchg qword [0x140193950], r13
je 0x140001f78
lea rcx, [0x140193950]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
movups xmm0, xmmword [rsp + 0x30]
mov rsi, qword [0x1401965a8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0xa0], rbx
movups xmmword [rsp + 0x48], xmm0
call qword [rsi + 0x10]
mov edx, dword [rsi + 0x18]
xor r12d, r12d
mov rcx, qword [rsi + 0x20]
dec edx
mov r14d, eax
btr r14d, 0x1f
and edx, r14d
mov r8d, dword [rcx + rdx*4]
cmp r8d, 0xffffffff
je 0x140001fef
nop word [rax + rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, r8d
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r14d
jne 0x140001fe5
lea rdi, [rbx + 8]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [rsi + VariantCopy]
test al, al
jne 0x140001ff2
mov r8d, dword [rbx + 4]
cmp r8d, 0xffffffff
jne 0x140001fc0
mov rdi, r12
mov r14, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa8]
test rdi, rdi
je 0x14000200e
cmp dword [rdi], 1
jne 0x14000200e
mov ebx, dword [rdi + 0x28]
jmp 0x140002018
mov ebx, dword [rsp + 0xb0]
mov rdi, r12
mov rax, r13
mov r13, qword [rsp + 0x78]
lock cmpxchg qword [0x140193950], r12
mov r12, qword [rsp + 0x80]
je 0x14000203f
lea rcx, [0x140193950]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rdi, rdi
mov rdi, qword [rsp + 0xb8]
jne 0x140002058
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test ebx, ebx
je 0x140002082
xor r9d, r9d
mov byte [rsp + 0x20], 0
lea r8, str.the_computer
mov rcx, r15
lea rdx, str.shut_down
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
je 0x140002125
mov ecx, ebp
xor edx, edx
or ecx, 8
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x1400020a8
mov al, 1
mov rbx, qword [rsp + 0xa0]
add rsp, 0x88
pop r15
pop rbp
ret
or ebp, 1
xor edx, edx
mov ecx, ebp
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x140002093
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400020cc
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x1400020d3
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_shut_down_the_computer
mov rbx, rax
mov rcx, r15
test rax, rax
jne 0x1400020f6
lea r8, [0x1401689f8]
lea edx, [rax + 0x10]
call sym.ProcessHacker.exe_PhShowMessage
jmp 0x140002125
mov rax, qword [rbx + 8]
mov edx, 0x20
mov r8d, 0xfffe
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140002125
call fcn.1400c8bc0
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x88
pop r15
pop rbp
ret
Function at 0x140004be0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140004c6c
lea r8d, [r15 + 0xf]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004c6c
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140004d42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140004c81
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 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 + 0x48]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001570
test al, al
je 0x140004d15
cmp byte [rsp + 0x48], 0
je 0x140004d42
mov rcx, qword [rsi + 0x10]
mov edx, r15d
mov rcx, qword [rcx + 8]
call fcn.140071a60
mov edi, eax
test eax, eax
js 0x140004ce1
movzx ebx, r15b
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140004d42
mov r8, qword [rsi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140004d42
mov r8, qword [rsi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
mov rbp, qword [rsp + 0x50]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140004d60
Capabilities:
Pause service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140004df0
lea r8d, [r15 + 0x3f]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004df0
lea r8, [rsp + 0x20]
mov rcx, rbp
lea edx, [r15 + 2]
call qword [sym.imp.ADVAPI32.dll_ControlService]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140004ec8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140004e05
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 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 + 0x68]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001570
test al, al
je 0x140004e9b
cmp byte [rsp + 0x68], 0
je 0x140004ec8
mov rcx, qword [rsi + 0x10]
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.140071a60
mov edi, eax
test eax, eax
js 0x140004e67
movzx ebx, r15b
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140004ec8
mov r8, qword [rsi + 0x10]
lea rdx, [0x14013dc20]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140004ec8
mov r8, qword [rsi + 0x10]
lea rdx, [0x14013dc20]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
mov rbp, qword [rsp + 0x70]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004ef0
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140004f80
lea r8d, [r15 + 0x3f]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004f80
lea r8, [rsp + 0x20]
mov rcx, rbp
lea edx, [r15 + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140005058
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140004f95
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 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 + 0x68]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001570
test al, al
je 0x14000502b
cmp byte [rsp + 0x68], 0
je 0x140005058
mov rcx, qword [rsi + 0x10]
mov edx, 3
mov rcx, qword [rcx + 8]
call fcn.140071a60
mov edi, eax
test eax, eax
js 0x140004ff7
movzx ebx, r15b
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005058
mov r8, qword [rsi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005058
mov r8, qword [rsi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
mov rbp, qword [rsp + 0x70]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140005210
Capabilities:
Delete service

Disassembly:
push rsi
push rdi
push r14
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, [0x14013dd48]
mov r14, rcx
xor dil, dil
mov r8, qword [r8 + 8]
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
jne 0x14000524f
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x10]
xor edx, edx
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r15
mov r15d, 1
mov rbp, qword [rax + 8]
mov r8d, r15d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1400052c9
mov r8d, 0x10000
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x1400052c9
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_DeleteService]
movzx edi, dil
mov rcx, rbp
test eax, eax
cmovne edi, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test dil, dil
jne 0x1400053a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400052de
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 + 0x58]
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001570
test al, al
je 0x140005374
cmp byte [rsp + 0x58], 0
je 0x1400053a1
mov rcx, qword [rsi + 0x10]
mov edx, 5
mov rcx, qword [rcx + 8]
call fcn.140071a60
mov ebx, eax
test eax, eax
js 0x140005340
movzx edi, r15b
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400053a1
mov r8, qword [rsi + 0x10]
lea rdx, [0x14013dd48]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400053a1
mov r8, qword [rsi + 0x10]
lea rdx, [0x14013dd48]
lea rcx, str.Unable_to__s__s.
mov r8, qword [r8 + 8]
call fcn.1400013e0
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowStatus
mov r15, qword [rsp + 0x68]
movzx eax, dil
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140005930
Capabilities:
Suspend thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rdi, rdx
xor r15b, r15b
xor edx, edx
mov r12d, r8d
mov r13, rcx
mov sil, 1
mov r14d, edx
test r8d, r8d
je 0x140005b38
mov qword [rsp + 0x150], rbx
nop dword [rax]
mov rax, qword [rdi]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rdx
xorps xmm0, xmm0
mov dword [rsp + 0x48], edx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x40], rdx
mov edx, 2
mov dword [rsp + 0x30], 0x30
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x1400059df
cmp byte [0x1401937ba], 0
je 0x1400059df
lea r8, [rsp + 0x20]
mov edx, 2
lea rcx, [rbp + 0x68]
call fcn.1400dcda0
mov ebx, eax
test ebx, ebx
js 0x140005a03
mov rcx, qword [rbp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov rcx, qword [rbp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140005b04
xor sil, sil
test r15b, r15b
jne 0x140005ad5
mov rax, qword [rdi]
lea rcx, str.Unable_to_suspend_thread__u
mov edx, dword [rax]
call fcn.1400013e0
lea r9, [rbp + 0x60]
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.140001570
test al, al
je 0x140005ad5
cmp byte [rbp + 0x60], r15b
je 0x140005ad0
mov rcx, qword [0x140197620]
test rcx, rcx
jne 0x140005a88
mov ebx, 0xc0000037
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400013e0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005b04
mov rax, qword [rdi]
lea r8, [rsp + 0x60]
mov dword [rbp - 0x78], 0xa
mov qword [rbp - 0x68], 2
mov qword [rsp + 0x60], 0xb00088
mov rdx, qword [rax]
mov qword [rbp - 0x70], rdx
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x74]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x140005a56
mov sil, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140005b04
mov r15b, 1
jmp 0x140005b04
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400013e0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhShowContinueStatus
test al, al
je 0x140005b19
inc r14d
add rdi, 8
mov edx, 0
cmp r14d, r12d
jb 0x140005970
mov rbx, qword [rsp + 0x150]
movzx eax, sil
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
jmp 0x140005b25