Function at 0x14005db90
Capabilities:
Continue service
Delete service
Pause service
Start service
Stop service

Disassembly:
sub rsp, 0x108
mov dword [rsp + 0x30], 0
call fcn.140012650
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x20]
add rax, 0x70
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.140027730
mov qword [rsp + 0x28], 0
lea rax, [0x14005db30]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 1
lea rdx, [0x140135ee8]
lea rcx, [rsp + 0xc8]
call sym.ProcessHacker.exe_PhParseCommandLine
mov r8b, 1
lea rdx, str.process
mov rcx, qword [0x140140ca0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e305
cmp qword [0x140140ca8], 0
jne 0x14005dc2a
mov eax, 0xc000000d
jmp 0x14005e717
xor edx, edx
mov rax, qword [0x140140ca8]
mov rax, qword [rax]
mov ecx, 2
div rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x68], 0
jmp 0x14005dc5e
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x68], rax
jae 0x14005dc91
mov rax, qword [0x140140ca8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rax + rcx*2]
call fcn.1400012f0
movzx eax, al
test eax, eax
jne 0x14005dc8f
jmp 0x14005dc91
jmp 0x14005dc51
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x68], rax
jne 0x14005dcdc
mov rax, qword [0x140140ca8]
lea r8, [rsp + 0xa8]
mov edx, 0xa
mov rcx, rax
call sym.ProcessHacker.exe_PhStringToInteger64
movzx eax, al
test eax, eax
jne 0x14005dccd
mov eax, 0xc000000d
jmp 0x14005e717
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
jmp 0x14005dd50
lea rcx, [rsp + 0x70]
call sym.ProcessHacker.exe_PhEnumProcesses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14005dcfa
mov eax, dword [rsp + 0x30]
jmp 0x14005e717
mov rax, qword [0x140140ca8]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhFindProcessInformationByImageName
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14005dd35
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhFree
mov eax, 0xc0000225
jmp 0x14005e717
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhFree
mov r8b, 1
lea rdx, str.terminate
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005ddac
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005dda7
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhTerminateProcess
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.suspend
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005de06
mov r8, qword [rsp + 0x50]
mov edx, 0x800
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005de01
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhSuspendProcess
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.resume
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005de60
mov r8, qword [rsp + 0x50]
mov edx, 0x800
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005de5b
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhResumeProcess
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.priority
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005dfd9
cmp qword [0x140140cb8], 0
jne 0x14005de95
mov eax, 0xc000000d
jmp 0x14005e717
mov r8b, 1
lea rdx, str.idle
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005debc
mov byte [rsp + 0x34], 1
jmp 0x14005df7d
mov r8b, 1
lea rdx, str.normal
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005dee3
mov byte [rsp + 0x34], 2
jmp 0x14005df7d
mov r8b, 1
lea rdx, str.high
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005df07
mov byte [rsp + 0x34], 3
jmp 0x14005df7d
mov r8b, 1
lea rdx, str.realtime
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005df2b
mov byte [rsp + 0x34], 4
jmp 0x14005df7d
mov r8b, 1
lea rdx, str.abovenormal
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005df4f
mov byte [rsp + 0x34], 6
jmp 0x14005df7d
mov r8b, 1
lea rdx, str.belownormal
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005df73
mov byte [rsp + 0x34], 5
jmp 0x14005df7d
mov eax, 0xc000000d
jmp 0x14005e717
mov r8, qword [rsp + 0x50]
mov edx, 0x200
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005dfd4
mov byte [rsp + 0x48], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x49], al
mov r9d, 2
lea r8, [rsp + 0x48]
mov edx, 0x12
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.iopriority
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e0f5
cmp qword [0x140140cb8], 0
jne 0x14005e00e
mov eax, 0xc000000d
jmp 0x14005e717
mov r8b, 1
lea rdx, str.verylow
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e035
mov dword [rsp + 0x58], 0
jmp 0x14005e0b4
mov r8b, 1
lea rdx, [0x140118d58]
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e05c
mov dword [rsp + 0x58], 1
jmp 0x14005e0b4
mov r8b, 1
lea rdx, str.normal
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e083
mov dword [rsp + 0x58], 2
jmp 0x14005e0b4
mov r8b, 1
lea rdx, str.high
mov rcx, qword [0x140140cb8]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e0aa
mov dword [rsp + 0x58], 3
jmp 0x14005e0b4
mov eax, 0xc000000d
jmp 0x14005e717
mov r8, qword [rsp + 0x50]
mov edx, 0x200
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e0f0
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhSetProcessIoPriority
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.pagepriority
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e1a5
cmp qword [0x140140cb8], 0
jne 0x14005e12a
mov eax, 0xc000000d
jmp 0x14005e717
mov rax, qword [0x140140cb8]
lea r8, [rsp + 0x98]
mov edx, 0xa
mov rcx, rax
call sym.ProcessHacker.exe_PhStringToInteger64
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x80], eax
mov r8, qword [rsp + 0x50]
mov edx, 0x200
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e1a0
mov r9d, 4
lea r8, [rsp + 0x80]
mov edx, 0x27
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.injectdll
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e241
cmp qword [0x140140cb8], 0
jne 0x14005e1d6
mov eax, 0xc000000d
jmp 0x14005e717
mov eax, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
or eax, 2
or eax, 8
or eax, 0x10
or eax, 0x20
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e23c
mov qword [rsp + 0xc0], 0xfffffffffd050f80
lea r8, [rsp + 0xc0]
mov rax, qword [0x140140cb8]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhInjectDllProcess
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e300
mov r8b, 1
lea rdx, str.unloaddll
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e300
cmp qword [0x140140cb8], 0
jne 0x14005e276
mov eax, 0xc000000d
jmp 0x14005e717
mov eax, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
or eax, 2
or eax, 8
or eax, 0x10
or eax, 0x20
mov r8, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x38]
call sym.ProcessHacker.exe_PhOpenProcess
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e300
mov rax, qword [0x140140cb8]
lea r8, [rsp + 0xa0]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14005e790
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e2f5
mov qword [rsp + 0xb8], 0xfffffffffd050f80
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call sym.ProcessHacker.exe_PhUnloadDllProcess
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e713
mov r8b, 1
lea rdx, str.service
mov rcx, qword [0x140140ca0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e598
cmp qword [0x140140ca8], 0
jne 0x14005e33a
mov eax, 0xc000000d
jmp 0x14005e717
mov r8b, 1
lea rdx, str.start
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e3b0
mov edx, 0x10
mov rax, qword [0x140140ca8]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005e383
call fcn.140021c20
jmp 0x14005e717
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14005e3a0
call fcn.140021c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14005e593
mov r8b, 1
lea rdx, str.continue
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e42e
mov edx, 0x40
mov rax, qword [0x140140ca8]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005e3f9
call fcn.140021c20
jmp 0x14005e717
lea r8, [rsp + 0xd8]
mov edx, 3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14005e41e
call fcn.140021c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14005e593
mov r8b, 1
lea rdx, str.pause
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e4ac
mov edx, 0x40
mov rax, qword [0x140140ca8]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005e477
call fcn.140021c20
jmp 0x14005e717
lea r8, [rsp + 0xd8]
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14005e49c
call fcn.140021c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14005e593
mov r8b, 1
lea rdx, str.stop
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e527
mov edx, 0x20
mov rax, qword [0x140140ca8]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005e4f5
call fcn.140021c20
jmp 0x14005e717
lea r8, [rsp + 0xd8]
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14005e51a
call fcn.140021c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14005e593
mov r8b, 1
lea rdx, [0x1401160c8]
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e593
mov edx, 0x10000
mov rax, qword [0x140140ca8]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005e570
call fcn.140021c20
jmp 0x14005e717
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14005e588
call fcn.140021c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14005e713
mov r8b, 1
lea rdx, str.thread
mov rcx, qword [0x140140ca0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e713
cmp qword [0x140140ca8], 0
jne 0x14005e5cd
mov eax, 0xc000000d
jmp 0x14005e717
mov rax, qword [0x140140ca8]
lea r8, [rsp + 0xb0]
mov edx, 0xa
mov rcx, rax
call sym.ProcessHacker.exe_PhStringToInteger64
movzx eax, al
test eax, eax
jne 0x14005e5fa
mov eax, 0xc000000d
jmp 0x14005e717
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov r8b, 1
lea rdx, str.terminate
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e663
mov r8, qword [rsp + 0x78]
mov edx, 1
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhOpenThread
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e65e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sym.ProcessHacker.exe_PhTerminateThread
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e713
mov r8b, 1
lea rdx, str.suspend
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e6bc
mov r8, qword [rsp + 0x78]
mov edx, 2
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhOpenThread
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e6ba
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sym.ProcessHacker.exe_PhSuspendThread
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14005e713
mov r8b, 1
lea rdx, str.resume
mov rcx, qword [0x140140cb0]
call fcn.14001dc70
movzx eax, al
test eax, eax
je 0x14005e713
mov r8, qword [rsp + 0x78]
mov edx, 2
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhOpenThread
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14005e713
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sym.ProcessHacker.exe_PhResumeThread
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x30]
add rsp, 0x108
ret