Function at 0x140051dc0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140071030]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
mov r8d, 4
lea rdx, [0x140064654]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x18], eax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [rbp - 0x24]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0x15
lea rdx, str.2023_06_27:23:42:39_0
lea rcx, [rbp - 0x40]
call fcn.140002680
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050990
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140051ed5
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051ed0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051ed0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0xa
lea rdx, str.2023_06_27
lea rcx, [rbp - 0x40]
call fcn.140002680
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050990
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140051f48
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051f43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051f43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 5
lea rdx, str.23:42
lea rcx, [rbp - 0x40]
call fcn.140002680
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050990
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140051fbb
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051fb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 3
lea rdx, [0x140064684]
lea rcx, [rbp - 0x40]
call fcn.140002680
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050990
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14005202e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052029
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052029
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140059f80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret