Function at 0x140073fe0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14023cac0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14d, edx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
xor edx, edx
xor ecx, ecx
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140074213
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor edx, edx
mov r9d, 3
mov r8d, 0x30
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
xorps xmm0, xmm0
mov eax, dword [rsp + 0x54]
mov esi, eax
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
test eax, eax
je 0x1400740eb
cmp rax, 0x1000
jb 0x1400740bf
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140074260
call fcn.14019e3f0
mov rcx, rax
test rax, rax
je 0x140074198
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400740c7
mov rcx, rsi
call fcn.14019e3f0
mov qword [rsp + 0x58], rax
lea rbx, [rax + rsi]
mov qword [rsp + 0x68], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], rbx
mov eax, dword [rsp + 0x54]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r9d, 3
mov r8d, 0x30
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
mov rsi, qword [rsp + 0x58]
mov ecx, r15d
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x140074153
nop
mov eax, ecx
imul rbx, rax, 0x38
cmp dword [rbx + rsi + 0x2c], r14d
je 0x14007419f
inc ecx
cmp ecx, edx
jb 0x140074140
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140074213
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007420e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007420e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdx, qword [rbx + rsi]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400741c1
mov rcx, rdi
call fcn.140071cb0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140074233
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x140074207
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140074198
call fcn.14019e434
jmp 0x140074233
call fcn.14019e434
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x140215ef0]
mov rcx, rdi
call fcn.140071cb0
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14019e3d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140070ea0
int3