Function at 0x14004ef20
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 [0x1400ca118]
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.140022a08
nop
xor edx, edx
lea r8d, [rdx + 0x1c]
lea rcx, [rbp + 0x80]
call fcn.14005b500
lea rcx, [r13 + 0x2f0]
call fcn.14004ccd4
lea rdx, [rbp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
xor r12d, r12d
test eax, eax
jne 0x14004f11e
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.140023e14
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 [0x1400a6650], bx
jne 0x14004f092
mov eax, ebx
jmp 0x14004f09e
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r12d
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a80]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
test dil, dil
je 0x14004f25e
mov ecx, dword [rbp + 0x8c]
test ecx, ecx
je 0x14004f25e
cmp ecx, 0x435
je 0x14004f25e
cmp ecx, 0x42a
je 0x14004f153
call fcn.140023e14
mov r14d, eax
jmp 0x14004f159
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 [0x1400a6650], r12w
jne 0x14004f1d8
mov rax, r12
jmp 0x14004f1e4
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
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.1400230c8
lea rdx, [0x1400c7a80]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov ebx, dword [rbp + 0x84]
lea rcx, [rbp]
call fcn.140022a60
mov eax, ebx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
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