Function at 0x14004eb24
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov dil, dl
mov r13, rcx
lea rsi, str..._nsService.cpp
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
lea r15, [r13 + 0x40]
mov rbx, qword [r15]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x25f
lea rdx, str.GetStatus___s:_d_
mov rcx, r15
call qword [rbx + 0x128]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rdx, [r13 + 0x10]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022784
nop
xor edx, edx
lea r8d, [rdx + 0x1c]
lea rcx, [rbp + 0x80]
call fcn.14005b0f0
lea rcx, [r13 + 0x2f0]
call fcn.14004c8f4
lea rdx, [rbp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
xor r12d, r12d
test eax, eax
jne 0x14004ed22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov r14, qword [r15]
lea rdi, [r13 + 0x270]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rsi, rax
mov ecx, r12d
call fcn.140023b78
mov ebx, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x269
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea rdx, str.QueryServiceStatus__s_0x_x___s:_d_
mov rcx, r15
call qword [r14 + 0x138]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x58], 7
xor ebx, ebx
mov qword [rbp + 0x50], rbx
mov word [rbp + 0x40], bx
cmp word [0x1400a54e0], bx
jne 0x14004ec96
mov eax, ebx
jmp 0x14004eca2
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0x60], bl
lea rcx, str..._nsService.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r12d
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x26a
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
test dil, dil
je 0x14004ee62
mov ecx, dword [rbp + 0x8c]
test ecx, ecx
je 0x14004ee62
cmp ecx, 0x435
je 0x14004ee62
cmp ecx, 0x42a
je 0x14004ed57
call fcn.140023b78
mov r14d, eax
jmp 0x14004ed5d
mov r14d, 0x8000042a
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rsi, qword [r15]
lea rbx, [r13 + 0x270]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x271
mov qword [rsp + 0x20], rdi
mov r9d, r14d
lea rdx, str.QueryServiceStatus__s_0x_x___s:_d_
mov rcx, r15
call qword [rsi + 0x138]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r12
mov word [rbp + 0x60], r12w
cmp word [0x1400a54e0], r12w
jne 0x14004eddc
mov rax, r12
jmp 0x14004ede8
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r12
mov byte [rbp + 0x40], r12b
lea rcx, str..._nsService.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x40]
call fcn.140004720
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x272
lea r8, [rbp + 0x40]
mov edx, r14d
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov ebx, dword [rbp + 0x84]
lea rcx, [rbp]
call fcn.1400227dc
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret