Function at 0x140052350
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 [0x1400eb0c0]
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, [0x1400d7090]
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, Ordinal_41
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, reloc.WS2_32.dll_setsockopt
lea rdx, str.2023_06_27:23:42:39_0
lea rcx, [rbp - 0x40]
call fcn.140002910
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050e20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140052465
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052460
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052460
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
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.140002910
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050e20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400524d8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400524d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400524d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
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.140002910
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050e20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14005254b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052546
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 3
lea rdx, [0x1400d70c4]
lea rcx, [rbp - 0x40]
call fcn.140002910
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov ecx, ebx
call fcn.140050e20
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400525be
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400525b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400525b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bccc4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bcc60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret