Function at 0x14002b410
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 [0x14023c048]
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 0x14002b610
cmp qword [rdx + 0x18], 8
jb 0x14002b485
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 0x14002b4e3
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 0x14002b529
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 0x14002b529
mov edx, 0x10
mov rcx, r8
call fcn.140148ec0
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x70]
test r14, r14
je 0x14002b5d3
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 0x14002b5a1
test r15, r15
je 0x14002b596
mov edx, r14d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14002b5a6
xor sil, sil
jmp 0x14002b5a6
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002b5a6
mov byte [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
test sil, sil
je 0x14002b5be
cmp edi, r12d
je 0x14002b5be
sub eax, r13d
cmp eax, dword [rbp + 0x70]
jb 0x14002b550
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 0x14002b5f4
test rax, rax
je 0x14002b686
mov rax, qword [rax + 8]
call qword [case.0x140024b66.0]
nop
mov qword [rbp - 0x70], r13
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x14002b610
lea rcx, [rbp - 0x68]
cmp rax, rcx
je 0x14002b610
mov edx, 0x10
mov rcx, rax
call fcn.140148ec0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002b64b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002b646
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002b68c
mov rcx, r8
call fcn.140148ec0
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.140149290
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.140126d20
nop
call fcn.14016ae5c
int3