Function at 0x140066950
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 [0x1400b0e58]
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 0x1400669f4
cmp dword [0x1400af158], 5
jbe 0x1400669ed
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, [0x1400a13f7]
mov dword [rbp - 0x39], eax
lea rcx, [0x1400af158]
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.1400017fc
xor al, al
jmp 0x140066b96
xor r14d, r14d
lea rbx, str.8w_t_
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 0x140066a7c
cmp dword [0x1400af158], 5
jbe 0x140066b74
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, [0x1400a13d5]
mov dword [rbp - 0x39], eax
lea rcx, [0x1400af158]
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.1400017fc
jmp 0x140066b74
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 0x140066b10
mov ecx, dword [rbp + 3]
call fcn.140066bc8
test al, al
jne 0x140066ad6
cmp dword [0x1400af158], 5
jbe 0x140066b65
lea rdx, [0x1400a139a]
jmp 0x140066aea
cmp dword [0x1400af158], 5
jbe 0x140066b65
lea rdx, [0x1400a14e4]
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.140002f98
jmp 0x140066b65
cmp dword [0x1400af158], 5
jbe 0x140066b65
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, [0x1400a1454]
mov dword [rbp - 0x31], eax
lea rcx, [0x1400af158]
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.1400017fc
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 0x1400669fe
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.14007e5c0
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