joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a500
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400d7770
push rdi
sub rsp, 0x20
mov ecx, dword [0x1405e804c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a530
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1401b5a90
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0x800
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1401b5b28
mov rcx, qword [rsp + 0x28]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1401b5b35
mov eax, dword [rsp + 0x20]
jmp 0x1401b5b46
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f0fb0]
call fcn.140015750
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x14001a880
Capabilities:
Prepare http request

Disassembly:
jmp 0x14025bf70
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x40]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov r9d, 2
lea r8, [0x1405187d0]
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x44]
call sym.ProcessHacker.exe_PhMapFlags1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x14025c017
xor al, al
jmp 0x14025c02b
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhHttpSocketSetFeature
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140518980]
call fcn.140015750
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x14001b560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14018a4c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x20]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x158]
call sym.ProcessHacker.exe_PhGetFileVersionFixedInfo
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14018a698
mov eax, 0x20
imul rax, rax, 0
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 0
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14018a51b
mov eax, 0x20
imul rax, rax, 1
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 1
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x14018a554
mov eax, 0x20
imul rax, rax, 2
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 2
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14018a57e
mov eax, 0x20
imul rax, rax, 3
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 3
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x14018a5b3
mov eax, 0x20
imul rax, rax, 4
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
shr rax, 0x10
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 4
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14018a5dd
mov eax, 0x20
imul rax, rax, 5
mov dword [rsp + rax + 0x40], 0
mov eax, 0x20
imul rax, rax, 5
mov ecx, 0x2e
mov word [rsp + rax + 0x50], cx
xor eax, eax
test eax, eax
jne 0x14018a616
mov eax, 0x20
imul rax, rax, 6
mov dword [rsp + rax + 0x40], 8
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
and rax, 0xffff
mov ecx, 0x20
imul rcx, rcx, 6
movzx eax, ax
mov dword [rsp + rcx + 0x50], eax
xor eax, eax
test eax, eax
jne 0x14018a640
mov r8d, 0x40
mov edx, 7
lea rcx, [rsp + 0x40]
call sym.ProcessHacker.exe_PhFormat
mov rcx, qword [rsp + 0x150]
mov qword [rcx + 0x10], rax
jmp 0x14018a6a8
mov rax, qword [rsp + 0x150]
mov qword [rax + 0x10], 0
mov rcx, rsp
lea rdx, [0x1404e31e0]
call fcn.140015750
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x140
pop rdi
ret
Function at 0x14001b880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14024d0f0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.14000b490
test eax, eax
je 0x14024d13d
movzx eax, byte [rsp + 0x70]
mov dword [rsp + 0x44], eax
jmp 0x14024d145
mov dword [rsp + 0x44], 0x2e
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_TextOutW]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
cmp dword [rax], ecx
jne 0x14024d1f2
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rcx, rsp
lea rdx, [0x1405149e0]
call fcn.140015750
add rsp, 0x50
pop rdi
ret
Function at 0x14001bf30
Capabilities:
Read file on windows

Disassembly:
jmp 0x140291e50
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1100
call fcn.1400056d0
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x42c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1110]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x10f0], rax
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120089
mov rdx, qword [rsp + 0x1110]
lea rcx, [rsp + 0x68]
call sym.ProcessHacker.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140292098
mov dword [rsp + 0xb8], 0x1000
mov eax, dword [rsp + 0xb8]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xb8]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.1400139e0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
jl 0x140292023
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jne 0x140291f90
jmp 0x140292023
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0xb8], eax
jae 0x140291fd9
mov eax, dword [rsp + 0xb8]
shl eax, 1
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0xb0]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0xe0]
call fcn.14000d4b0
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xbc], eax
jmp 0x140291f24
mov eax, dword [rsp + 0xbc]
inc eax
cmp dword [rsp + 0xb8], eax
jae 0x140292063
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0xb0]
call fcn.140008e60
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessHacker.exe_PhFree
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14053d798]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x1100
pop rdi
ret

Function at 0x14001c150
Capabilities:
Shutdown system

Disassembly:
jmp 0x14002ce90
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x14002ceae
mov al, 1
jmp 0x14002cecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_log_off_the_computer.
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x14002c2e0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x14002c2e0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [0x1405df820], 0
jne 0x14002c35d
cmp dword [0x1405e7bb0], 0
je 0x14002c308
mov qword [rsp + 0x30], 0
jmp 0x14002c312
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], 0
lea r9, [0x14002c6a0]
mov r8, qword [rsp + 0x30]
mov edx, 0x79
mov rcx, qword [0x1405e4150]
call sym.ProcessHacker.exe_PhCreateDialog
mov qword [0x1405df820], rax
mov rcx, qword [0x1405df820]
call sym.ProcessHacker.exe_PhRegisterDialog
mov edx, 5
mov rcx, qword [0x1405df820]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1405df820]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14002c382
mov edx, 9
mov rcx, qword [0x1405df820]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14002c38f
mov rcx, qword [0x1405df820]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
add rsp, 0x40
pop rdi
ret

Function at 0x14002ce40
Capabilities:
Lock the desktop

Disassembly:
jmp 0x14002ce40
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x14002ce5a
mov al, 1
jmp 0x14002ce79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_lock_the_computer.
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14002ce90
Capabilities:
Shutdown system

Disassembly:
jmp 0x14002ce90
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x14002ceae
mov al, 1
jmp 0x14002cecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_log_off_the_computer.
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhShowStatus
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x14002dbd0
Capabilities:
Shutdown system

Disassembly:
jmp 0x14002dbd0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov dword [rsp + 0x30], 0xc0000001
lea rcx, str.EnableWarnings
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002dc26
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.the_computer
lea rdx, str.restart
mov rcx, qword [rsp + 0x90]
call sym.ProcessHacker.exe_PhShowConfirmMessage
movzx eax, al
test eax, eax
jne 0x14002dc26
jmp 0x14002dd54
lea rcx, str.EnableBootObjectsEnumerate
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002dc40
mov dword [rsp + 0x60], 1
jmp 0x14002dc48
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x34], al
lea rcx, str.EnableUpdateDefaultFirmwareBootEntry
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002dc6b
mov dword [rsp + 0x64], 1
jmp 0x14002dc73
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x35], al
movzx ecx, byte [rsp + 0x34]
call fcn.140002c00
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002dced
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x98], eax
jae 0x14002dce3
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movzx edx, byte [rsp + 0x35]
lea rcx, [rsp + 0x50]
call fcn.140009cf0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call fcn.140017970
cmp dword [rsp + 0x30], 0
jl 0x14002dd38
mov dword [rsp + 0x20], 0x80000000
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002dd36
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x90]
call sym.ProcessHacker.exe_PhShowStatus
jmp 0x14002dd54
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x90]
call sym.ProcessHacker.exe_PhShowStatus
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14002dd70
Capabilities:
Shutdown system

Disassembly:
jmp 0x14002dd70
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov dword [rsp + 0x30], 0xc0000001
lea rcx, str.EnableWarnings
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002ddc6
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.the_computer
lea rdx, str.restart
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowConfirmMessage
movzx eax, al
test eax, eax
jne 0x14002ddc6
jmp 0x14002de94
call fcn.140012bd0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002de2d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x88], eax
jae 0x14002de23
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x50]
call fcn.14000dc50
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call fcn.140017970
cmp dword [rsp + 0x30], 0
jl 0x14002de78
mov dword [rsp + 0x20], 0x80000000
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002de76
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowStatus
jmp 0x14002de94
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, str.Unable_to_configure_the_boot_application.
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhShowStatus
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140030fb0
Capabilities:
Start service

Disassembly:
jmp 0x140030fb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 0x10
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140031037
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x14003102c
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x140031119
call fcn.140010ff0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_start
call fcn.140002440
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x80]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x1400310f0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1400310ee
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 1
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1400310c0
mov byte [rsp + 0x38], 1
jmp 0x1400310e9
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, str.start
mov rcx, qword [rsp + 0x80]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x140031119
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, str.start
mov rcx, qword [rsp + 0x80]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c5e80]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x70
pop rdi
ret
Function at 0x140031150
Capabilities:
Continue service

Disassembly:
jmp 0x140031150
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x40
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400311e2
lea r8, [rsp + 0x48]
mov edx, 3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400311d7
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1400312ca
call fcn.140010ff0
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_continue
call fcn.140002440
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x1400312a1
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14003129f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 2
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x140031271
mov byte [rsp + 0x38], 1
jmp 0x14003129a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, [0x1403c9518]
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x1400312ca
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, [0x1403c9518]
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c5f30]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret
Function at 0x140031310
Capabilities:
Pause service

Disassembly:
jmp 0x140031310
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x40
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400313a2
lea r8, [rsp + 0x48]
mov edx, 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140031397
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x14003148a
call fcn.140010ff0
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_pause
call fcn.140002440
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x140031461
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14003145f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 3
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x140031431
mov byte [rsp + 0x38], 1
jmp 0x14003145a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.pause
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x14003148a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.pause
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c5fe0]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret
Function at 0x1400314d0
Capabilities:
Stop service

Disassembly:
jmp 0x1400314d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x20
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140031562
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140031557
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x14003164a
call fcn.140010ff0
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_stop
call fcn.140002440
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004440
movzx eax, al
test eax, eax
je 0x140031621
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x14003161f
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 4
mov rcx, qword [rax + 8]
call fcn.140014c30
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x1400315f1
mov byte [rsp + 0x38], 1
jmp 0x14003161a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.stop
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
jmp 0x14003164a
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.stop
mov rcx, qword [rsp + 0xc0]
call fcn.140034aa0
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1403c6090]
call fcn.140015750
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xb0
pop rdi
ret