Function at 0x1400239b0
Capabilities:
Query service status

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rbp], rax
mov r15, r9
mov r12d, r8d
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x80], rdx
mov r8d, dword [rbp + 0x80]
xor sil, sil
mov byte [rsp + 0x20], sil
xor r13d, r13d
mov edi, r13d
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140023baf
cmp qword [rdx + 0x18], 8
jb 0x140023a25
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x78], r13
mov r8, r13
lea rdx, vtable.std::_Func_impl_no_alloc_int____cdecl___struct_SC_HANDLE______ptr64___int__struct_SC_HANDLE______ptr64_.0
cmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle], rdi
je 0x140023a83
mov qword [rsp + 0x40], rdx
mov rax, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x40]
mov rcx, r14
mov qword [rbp - 0x70], rcx
mov rax, r13
mov qword [rbp - 0x30], rax
test r8, r8
je 0x140023ac9
mov qword [rbp - 0x68], rdx
mov rax, qword [r8 + 8]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x40]
cmp r8, rdx
je 0x140023ac9
mov edx, 0x10
mov rcx, r8
call fcn.14013f180
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x70]
test r14, r14
je 0x140023b73
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r13, rax
mov sil, 1
mov r14d, dword [rbp + 0x78]
mov rbx, qword [rbp - 0x80]
nop word [rax + rax]
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], eax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
cmovne edi, dword [rbp - 0x1c]
cmp edi, r12d
je 0x140023b41
test r15, r15
je 0x140023b36
mov edx, r14d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140023b46
xor sil, sil
jmp 0x140023b46
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140023b46
mov byte [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
test sil, sil
je 0x140023b5e
cmp edi, r12d
je 0x140023b5e
sub eax, r13d
cmp eax, dword [rbp + 0x70]
jb 0x140023af0
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x28]
movzx esi, byte [rsp + 0x20]
xor r13d, r13d
test rcx, rcx
je 0x140023b93
test rax, rax
je 0x140023c25
mov rax, qword [rax + 8]
call qword [case.0x14001c280.0]
mov qword [rbp - 0x70], r13
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140023baf
lea rcx, [rbp - 0x68]
cmp rax, rcx
je 0x140023baf
mov edx, 0x10
mov rcx, rax
call fcn.14013f180
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140023bea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140023be5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140023c2b
mov rcx, r8
call fcn.14013f180
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
movzx eax, sil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14013f550
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14011cfe0
nop
call fcn.14016111c
int3