Function at 0x140074250
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 [0x14023eac0]
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 0x140074483
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 0x14007435b
cmp rax, 0x1000
jb 0x14007432f
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x1400744d0
call fcn.14019ec20
mov rcx, rax
test rax, rax
je 0x140074408
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140074337
mov rcx, rsi
call fcn.14019ec20
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 0x1400743c3
nop
mov eax, ecx
imul rbx, rax, 0x38
cmp dword [rbx + rsi + 0x2c], r14d
je 0x14007440f
inc ecx
cmp ecx, edx
jb 0x1400743b0
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140074483
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007447e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007447e
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 0x140074431
mov rcx, rdi
call fcn.140071dd0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400744a3
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x140074477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140074408
call fcn.14019ec64
jmp 0x1400744a3
call fcn.14019ec64
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x140216ef0]
mov rcx, rdi
call fcn.140071dd0
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14019ec00
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