Function at 0x140010b50
Capabilities:
Enumerate processes
Query service status
Start service
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
mov qword [rsp + 0x30], r8
mov ebx, edx
mov rdi, rcx
xor esi, esi
call fcn.140002780
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140010bb0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140005de0
nop
mov r8d, 0xf01ff
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r12, rax
mov r13, qword [rsp + 0x60]
test rax, rax
jne 0x140010d57
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rsi, qword [rsp + 0x70]
sub rax, rsi
cmp rax, 0x17
jb 0x140011131
lea r15, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r15, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14, [rsi + 0x17]
mov edi, 0xf
lea rbx, [rsp + 0x38]
cmp r14, rdi
jbe 0x140010cb6
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140010c78
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400166f8
test rax, rax
je 0x140010d41
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140010cb1
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140010ca0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140011125
jmp 0x140010c59
test rcx, rcx
je 0x140010caf
call fcn.1400166f8
mov rbx, rax
jmp 0x140010cb1
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [str.Failed_to_open_service]
movups xmmword [rbx], xmm0
mov eax, dword [0x14001c020]
mov dword [rbx + 0x10], eax
movzx eax, word [0x14001c024]
mov word [rbx + 0x14], ax
movzx eax, byte [0x14001c026]
mov byte [rbx + 0x16], al
lea rcx, [rbx + 0x17]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov r8d, 1
lea rdx, [rsp + 0x38]
call fcn.14000bc70
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140010d4d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010d48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010d48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
mov rcx, qword [rsp + 0x30]
jmp 0x1400110af
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140010ef7
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rsi, qword [rsp + 0x70]
sub rax, rsi
cmp rax, 0x1e
jb 0x14001111f
lea r15, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r15, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14, [rsi + 0x1e]
mov edi, 0xf
lea rbx, [rsp + 0x38]
cmp r14, rdi
jbe 0x140010e4a
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140010e0c
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400166f8
test rax, rax
je 0x140010ed8
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140010e45
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140010e34
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001112b
jmp 0x140010ded
test rcx, rcx
je 0x140010e43
call fcn.1400166f8
mov rbx, rax
jmp 0x140010e45
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [str.Failed_to_read_service_status]
movups xmmword [rbx], xmm0
movsd xmm0, qword [0x14001c038]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [0x14001c040]
mov dword [rbx + 0x18], eax
movzx eax, word [0x14001c044]
mov word [rbx + 0x1c], ax
lea rcx, [rbx + 0x1e]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov r8d, 1
lea rdx, [rsp + 0x38]
call fcn.14000bc70
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140010ee4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010edf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010edf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x30]
jmp 0x1400110af
mov eax, dword [rbp - 0x7c]
cmp eax, 4
jne 0x14001108b
cmp ebx, 1
jne 0x1400110a3
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140002370
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140010f70
lea rax, [rcx + 4]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 7
cmova rax, qword [rsp + 0x38]
movabs rdx, 0x6500780065002e
mov qword [rax + rcx*2], rdx
xor r14d, r14d
mov word [rax + rcx*2 + 8], r14w
jmp 0x140010f8b
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.140011200
xor r14d, r14d
mov edi, 0xf
mov esi, r14d
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001103f
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140010ff7
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x24]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140010ff4
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140010fc2
jmp 0x140010ff7
mov esi, dword [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14001103f
mov r8d, esi
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140010f90
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140010f90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140010f90
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
mov r14, qword [rsp + 0x30]
jbe 0x1400110a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011084
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011084
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
jmp 0x1400110a3
cmp eax, 1
jne 0x1400110a3
cmp ebx, 4
jne 0x1400110a3
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0xf
jbe 0x1400110f5
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400110ed
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400110ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400166f0
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400166d0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001270
nop
call fcn.1400011d0
int3
call fcn.1400011d0
int3
call fcn.140001270
int3