joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ffc0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [0x140087b68]
mov rdi, rcx
test rax, rax
jne 0x140030012
lea edx, [rax + 0x11]
lea rcx, [0x140089778]
call fcn.14000a780
mov rcx, rax
call fcn.14000fe30
mov rcx, qword [0x140091fe8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140087b68], rax
test rax, rax
jne 0x140030012
add rsp, 0x20
pop rdi
jmp fcn.14002fe30
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rdx, [0x140094388]
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 3]
call rax
mov r10, qword [0x140087b68]
lea rdx, [0x140094250]
xor r9d, r9d
mov r8d, 0x138
mov ebx, eax
lea ecx, [r9 + 2]
call r10
add eax, ebx
mov rbx, qword [rsp + 0x30]
jne 0x14003016f
mov rax, qword [0x1400943a8]
test rax, rax
je 0x140030153
mov ecx, dword [0x140094250]
xorps xmm0, xmm0
movsd xmm3, qword [0x1400644b8]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [0x1400943ac]
xorps xmm4, xmm4
xorps xmm2, xmm2
cvtsi2sd xmm4, dword [0x140094254]
cvtsi2sd xmm0, rcx
mov ecx, eax
mulsd xmm1, xmm3
mulsd xmm4, xmm3
addsd xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [0x1400943b4]
movsd qword [rdi], xmm4
cvtsi2sd xmm2, dword [0x140094394]
mov eax, dword [0x140094390]
mulsd xmm1, xmm3
cvtsi2sd xmm0, rax
mov eax, dword [0x1400943b0]
mulsd xmm2, xmm3
addsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
movsd xmm1, qword [0x1400572e8]
divsd xmm4, xmm2
movsd qword [rdi], xmm4
mov eax, dword [0x14008fa50]
mulsd xmm4, xmm1
cvtsi2sd xmm0, rax
divsd xmm4, xmm0
xorps xmm0, xmm0
comisd xmm4, xmm0
subsd xmm1, xmm4
movsd qword [rdi], xmm1
jae 0x140030142
movabs rax, 0x4059000000000000
mov qword [rdi], rax
jmp 0x140030153
comisd xmm4, xmmword [0x1400644a8]
jbe 0x140030153
mov qword [rdi], 0
mov rax, qword [0x140094250]
mov qword [0x1400943a8], rax
mov rax, qword [0x140094390]
mov qword [0x1400943b0], rax
add rsp, 0x20
pop rdi
ret

Function at 0x140032590
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x140089720]
mov qword [rsp + 0x50], rbx
lea edx, [rbx + 0x53]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x40], rbx
mov rdx, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20219
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003263f
lea edx, [rbx + 0x4b]
mov dword [rsp + 0x58], ebx
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 4]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003264f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x70
pop rbx
ret
Function at 0x140032670
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov eax, dword [0x14008f270]
mov r8d, dword [0x14008f280]
mov r9d, dword [0x14008f274]
mov dword [rsp + 0x30], 1
lea ecx, [rax + rax*8]
mov dword [0x14008f2e0], r9d
xor eax, eax
mov dword [0x1400771b4], 1
sub r8d, ecx
mov dword [rsp + 0x28], eax
sub r8d, dword [0x14008e974]
mov rcx, qword [0x14008f308]
lea edx, [rax + 1]
mov dword [0x14008f28c], r8d
mov dword [0x14008f5fc], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
add rsp, 0x48
jmp fcn.140034740
Function at 0x140036960
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, r8d
lea rax, [0x14007c110]
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8, qword [rax + r8*8]
call fcn.1400455f8
test eax, eax
jne 0x1400369c7
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400369a0
mov r9, qword [rsp + 0x20]
mov edx, 2
mov rcx, rbx
call fcn.140046428
mov rcx, qword [rsp + 0x20]
call fcn.1400456d4
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x30
pop rbx
ret

Function at 0x14003ab20
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp qword [0x14008f590], 0
jne 0x14003ac0a
lea rcx, str.Pdh.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14008f590], rax
test rax, rax
je 0x14003ac0a
lea rdx, str.PdhCloseQuery
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008f590]
lea rdx, str.PdhOpenQueryW
mov qword [0x140087c18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008f590]
lea rdx, str.PdhAddCounterW
mov qword [0x140087c20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008f590]
lea rdx, str.PdhCollectQueryData
mov qword [0x140087c28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008f590]
lea rdx, str.PdhGetFormattedCounterValue
mov qword [0x140087c30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140087c18], 0
mov qword [0x140087c38], rax
je 0x14003abff
cmp qword [0x140087c20], 0
je 0x14003abff
cmp qword [0x140087c28], 0
je 0x14003abff
cmp qword [0x140087c30], 0
je 0x14003abff
test rax, rax
jne 0x14003ac0a
mov qword [0x14008f590], 0
add rsp, 0x28
ret
Function at 0x140046984
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400466e8

Function at 0x14004afac
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14004ae4c
call fcn.14004268c
mov dword [rax], 0x16
call fcn.14004253c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14004ae34
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14004ae34
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14004ae7e
lock or dword [rax + 0x14], 0x10
jmp 0x14004ae34
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14004ae9b
mov rcx, qword [rbp + 0x10]
call fcn.1400513dc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14004925c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14004a884
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14004aef2
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14004ae34
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14004af5e
mov rcx, qword [rbp + 0x10]
call fcn.14004925c
cmp eax, 0xffffffff
je 0x14004af45
mov rcx, qword [rbp + 0x10]
call fcn.14004925c
cmp eax, 0xfffffffe
je 0x14004af45
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14004925c
movsxd rdi, eax
lea rsi, [0x14009a360]
mov rcx, rbx
sar rdi, 6
call fcn.14004925c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14004af4c
lea rax, [0x14007c960]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14004af5e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14004af94
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14004af90
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14004af90
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14004ae37
jmp 0x14004ae04
Function at 0x140c5e0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c5e237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c5e0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e0c7
add dl, dl
jne 0x140c5e0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e14e
xor eax, eax
add dl, dl
jne 0x140c5e0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e205
add dl, dl
jne 0x140c5e10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c5e142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c5e0d6
mov eax, 1
add dl, dl
jne 0x140c5e15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e153
sub eax, ebx
mov ebx, 1
jne 0x140c5e1a4
mov ecx, 1
add dl, dl
jne 0x140c5e186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5e193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c5e1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5e1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e1b5
cmp eax, 0x7d00
jae 0x140c5e1f3
cmp eax, 0x500
jb 0x140c5e1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e0d6
cmp eax, 0x7f
ja 0x140c5e1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c5e22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c5e0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14019b000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.14019b0d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rcx
push rsi
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14019b037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14019b02d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14019b0cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14019b0cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x14019b0ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x14019b081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x14019b072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x14019b021
Function at 0x7ff7bffc1fc0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x7ff7bffc1fdb
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 0x7ff7bffc1ff3
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff7bffc1ffa
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, [0x7ff7c0152520]
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x7ff7bffc2057
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x7ff7c017439c]
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 0x7ff7bffc2068
call fcn.7ff7c00c6290
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
lea r8, [0x7ff7c0187ff8]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x7ff7bffc2080
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 0x7ff7bffc209f
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 0x7ff7bffc20b7
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff7bffc20be
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, [0x7ff7c0152560]
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x7ff7bffc211a
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x7ff7c017439c]
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 0x7ff7bffc212b
call fcn.7ff7c00c6290
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
lea r8, [0x7ff7c0187ff8]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7bffc59a0
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 0x7ff7bffc5a26
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 0x7ff7bffc5a26
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbx
test eax, eax
je 0x7ff7bffc5a1d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x7ff7bffc5b07
nop dword [rax]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bffc5a3b
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, [0x7ff7c01534b0]
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.7ff7bffc1910
test al, al
je 0x7ff7bffc5ad7
cmp byte [rsp + 0x38], 0
je 0x7ff7bffc5b05
mov rcx, qword [rdi + 0x10]
mov edx, 1
mov rcx, qword [rcx + 8]
call fcn.7ff7c0052020
mov ebx, eax
test eax, eax
js 0x7ff7bffc5a9e
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x7ff7bffc5b07
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c01534d8]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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 0x7ff7bffc5b07
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c01534d8]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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 0x7ff7bffc5b20
Capabilities:
Continue service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7c01ca008]
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 0x7ff7bffc5bb3
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 0x7ff7bffc5bb3
lea r8, [rsp + 0x28]
mov edx, 3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x7ff7bffc5bad
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x7ff7bffc5c99
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bffc5bc8
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, [0x7ff7c01534e8]
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.7ff7bffc1910
test al, al
je 0x7ff7bffc5c6a
cmp byte [rsp + 0x20], 0
je 0x7ff7bffc5c97
mov rcx, qword [rdi + 0x10]
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.7ff7c0052020
mov ebx, eax
test eax, eax
js 0x7ff7bffc5c30
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x7ff7bffc5c99
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153510]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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 0x7ff7bffc5c99
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153510]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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.7ff7c0121390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7bffc5cc0
Capabilities:
Pause service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7c01ca008]
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 0x7ff7bffc5d53
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 0x7ff7bffc5d53
lea r8, [rsp + 0x28]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x7ff7bffc5d4d
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x7ff7bffc5e39
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bffc5d68
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, [0x7ff7c0153528]
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.7ff7bffc1910
test al, al
je 0x7ff7bffc5e0a
cmp byte [rsp + 0x20], 0
je 0x7ff7bffc5e37
mov rcx, qword [rdi + 0x10]
mov edx, 3
mov rcx, qword [rcx + 8]
call fcn.7ff7c0052020
mov ebx, eax
test eax, eax
js 0x7ff7bffc5dd0
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x7ff7bffc5e39
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153550]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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 0x7ff7bffc5e39
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153550]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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.7ff7c0121390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7bffc5e60
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7c01ca008]
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 0x7ff7bffc5ef3
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 0x7ff7bffc5ef3
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
je 0x7ff7bffc5eed
nop
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x7ff7bffc5fd9
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bffc5f08
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rdi + 0x10]
lea rcx, [0x7ff7c0153560]
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.7ff7bffc1910
test al, al
je 0x7ff7bffc5faa
cmp byte [rsp + 0x20], 0
je 0x7ff7bffc5fd7
mov rcx, qword [rdi + 0x10]
mov edx, 4
mov rcx, qword [rcx + 8]
call fcn.7ff7c0052020
mov ebx, eax
test eax, eax
js 0x7ff7bffc5f70
mov bl, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
movzx eax, bl
jmp 0x7ff7bffc5fd9
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153580]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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 0x7ff7bffc5fd9
mov r8, qword [rdi + 0x10]
lea rdx, [0x7ff7c0153580]
lea rcx, [0x7ff7c0153488]
mov r8, qword [r8 + 8]
call fcn.7ff7bffc1770
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.7ff7c0121390
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret