Function at 0x140191a64
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x100
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x50], edx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x88], rcx
mov r13, rcx
mov dword [rsp + 0x60], edx
and dword [rsp + 0x48], 0
and dword [rsp + 0x4c], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor r14d, r14d
mov qword [rsp + 0x80], r14
lea rax, str.OService::TryStopDependents___Enumerating_dependent_services
mov qword [rsp + 0x20], rax
mov edx, 0x7c1
mov ecx, 0x2541047
lea r8d, [r14 + 0x64]
call fcn.140239fec
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x140191b1a
jmp 0x140191e00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
cmp eax, 0xea
je 0x140191b4d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov qword [rsp + 0x20], rax
mov ecx, 0x2541048
call fcn.140189db4
jmp 0x140191b15
mov r9d, dword [rsp + 0x48]
mov edx, r9d
test r9d, r9d
je 0x140191b71
lea rcx, [rsp + 0x70]
call fcn.14002a050
mov r9d, dword [rsp + 0x48]
mov r14, qword [rsp + 0x80]
mov r15, qword [rsp + 0x70]
mov rdi, r15
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, 1
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140191c0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov qword [rsp + 0x20], rax
mov ecx, 0x2541049
call fcn.140189db4
test r15, r15
je 0x140191e00
nop dword [rax + rax]
sub r14, r15
cmp r14, 0x1000
jb 0x140191c04
mov rcx, qword [r15 - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140191c9e
mov rdi, rcx
mov rcx, rdi
jmp 0x140191dfa
xor r12d, r12d
mov dword [rsp + 0x44], r12d
cmp r12d, dword [rsp + 0x4c]
jae 0x140191c6d
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x98]
call fcn.14019156c
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x50]
cmp eax, 0x7fffffff
jae 0x140191ca5
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, str.OService::TryStopDependents___Warning:_timed_out_before_stopping_all_dependent_services
mov qword [rsp + 0x20], rax
mov ecx, 0x254104a
call fcn.140189db4
lea rcx, [rsp + 0x98]
call fcn.1401916c4
nop
test r15, r15
je 0x140191e00
mov rax, r15
sub r14, r15
cmp r14, 0x1000
jb 0x140191df7
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140191df7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rbx, [r12 + r12*2]
shl rbx, 4
add rbx, rdi
mov qword [rsp + 0x28], rbx
call fcn.1401923c4
and qword [rsp + 0xd0], 0
and qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 7
mov rdx, qword [rbx]
lea rcx, [rsp + 0xd0]
call fcn.14000ae4c
mov r8d, 0x3c
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x98]
call fcn.140191704
test al, al
sete bl
mov rax, qword [rsp + 0xe8]
cmp rax, 8
jb 0x140191d4f
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rdx, rcx
cmp rax, 0x1000
jb 0x140191d49
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140191d49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test bl, bl
je 0x140191d65
lea rcx, [rsp + 0x98]
call fcn.1401916c4
jmp 0x140191def
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.140191908
nop
mov rax, qword [rsp + 0x58]
jmp 0x140191db3
cmp byte [rsp + 0x40], 0
je 0x140191de2
lea rcx, [rax + 0x10]
mov rdx, qword [r13 + 0x18]
lea r8, [rsp + 0x98]
cmp rdx, qword [r13 + 0x20]
je 0x140191ddc
call fcn.1401928f0
add qword [r13 + 0x18], 0x30
jmp 0x140191de2
call fcn.1401926dc
nop
lea rcx, [rsp + 0x98]
call fcn.1401916c4
inc r12d
jmp 0x140191c0f
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14024c6d0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
ret