Function at 0x14007ede8
Capabilities:
Query service status

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_OpenSCManagerA]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14007ee8c
cmp dword [0x1400cc150], 5
jbe 0x14007ee85
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
and dword [rbp + 0x13], esi
lea rdx, [0x1400bd5ec]
mov dword [rbp - 0x39], eax
lea rcx, [0x1400cc150]
lea rax, [rbp - 0x39]
mov dword [rbp + 0xf], 4
mov qword [rbp + 7], rax
xor r9d, r9d
lea rax, [rbp - 0x19]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call fcn.1400017d8
xor al, al
jmp 0x14007f02e
xor r14d, r14d
lea rbx, str.rpcss
mov rdx, qword [rbx]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14007ef14
cmp dword [0x1400cc150], 5
jbe 0x14007f00c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
and dword [rbp + 0x43], r15d
lea rdx, [0x1400bd5ca]
mov dword [rbp - 0x39], eax
lea rcx, [0x1400cc150]
lea rax, [rbp - 0x39]
mov dword [rbp + 0x3f], 4
mov qword [rbp + 0x37], rax
xor r9d, r9d
lea rax, [rbp + 0x17]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call fcn.1400017d8
jmp 0x14007f00c
xor eax, eax
lea r8, [rbp - 0x19]
xorps xmm0, xmm0
mov dword [rbp + 7], eax
lea rax, [rbp - 0x21]
mov r9d, 0x24
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, r15
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
nop dword [rax + rax]
test eax, eax
je 0x14007efa8
mov ecx, dword [rbp + 3]
call fcn.14007f060
test al, al
jne 0x14007ef6e
cmp dword [0x1400cc150], 5
jbe 0x14007effd
lea rdx, [0x1400bd58f]
jmp 0x14007ef82
cmp dword [0x1400cc150], 5
jbe 0x14007effd
lea rdx, [0x1400bd6d9]
mov rax, qword [rbx]
mov qword [rbp - 0x29], rax
mov eax, dword [rbp + 3]
mov dword [rbp - 0x35], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x35]
mov qword [rsp + 0x20], rax
call fcn.140002fcc
jmp 0x14007effd
cmp dword [0x1400cc150], 5
jbe 0x14007effd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
and dword [rbp + 0x43], 0
lea rdx, [0x1400bd649]
mov dword [rbp - 0x31], eax
lea rcx, [0x1400cc150]
lea rax, [rbp - 0x31]
mov dword [rbp + 0x3f], 4
mov qword [rbp + 0x37], rax
xor r9d, r9d
lea rax, [rbp + 0x17]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call fcn.1400017d8
mov rcx, r15
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
inc r14d
add rbx, 8
cmp r14d, 1
jb 0x14007ee96
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret