Function at 0x140017780
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x2d0
mov rax, qword [0x14008f060]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov r8d, 4
lea rdx, str.VCTB_Service_in_OnStop
call fcn.140016cd0
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140017867
lea r14, str.ADESv2BW.exe
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x7c]
mov r8, r14
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140017824
add rax, 2
test ecx, ecx
jne 0x140017810
test edx, edx
jne 0x140017855
mov r8d, dword [rsp + 0x58]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140017855
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140017800
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x140093d44], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x298], xmm0
movups xmmword [rsp + 0x2a8], xmm0
movups xmmword [rsp + 0x2b8], xmm0
lea rcx, [rsp + 0x298]
call fcn.140015d80
xor ebx, ebx
lea rcx, [rsp + 0x298]
cmp qword [rsp + 0x2b0], 8
cmovae rcx, qword [rsp + 0x298]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x2c0], rax
cmp rax, 0xffffffffffffffff
jne 0x140017928
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140017954
lea rcx, [rsp + 0x298]
cmp qword [rsp + 0x2b0], 8
cmovae rcx, qword [rsp + 0x298]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14001794e
jmp 0x1400178a1
mov dword [rsp + 0x290], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x290]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x140017954
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x14001796f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x2c0], rbx
movzx eax, byte [0x140093d44]
test al, al
je 0x140017996
nop word [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x140093d44]
test al, al
jne 0x140017980
lea rcx, [0x140093d48]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x1400179be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x2c0], rbx
mov rdx, qword [rsp + 0x2b0]
cmp rdx, 8
jb 0x140017a02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400179fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017a58
call fcn.140036d1c
mov rcx, rsi
call fcn.1400187e0
mov dword [rsi + 0x50], 1
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140017a5e
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140036cc0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14004bad0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [0x14008ca80]
lea rcx, [rsp + 0x40]
call fcn.14003919c
int3