Function at 0x14012969c
Capabilities:
Enumerate services

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xe0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r15d, edx
mov r13, rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x40], edx
xor edi, edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
lea rdx, str.OService::TryStopDependents___Enumerating_dependent_services
lea ecx, [rdi + 2]
call fcn.140128a20
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140129903
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp eax, 0xea
je 0x14012975d
lea r8, [rsp + 0x34]
lea rdx, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov ecx, 2
call fcn.140128c88
jmp 0x140129903
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140022114
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8, r12
mov edx, 1
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x1401297b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x140129742
mov esi, edi
mov dword [rsp + 0x34], esi
cmp esi, dword [rsp + 0x3c]
jae 0x140129903
mov byte [rsp + 0x30], dil
mov r8b, 1
mov edx, 0x20000002
lea rcx, [rsp + 0x78]
call fcn.140128df0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
cmp eax, 0x7fffffff
jae 0x14012980e
lea r8, [rsp + 0x3c]
lea rdx, str.OService::TryStopDependents___Warning:_timed_out_before_stopping_all_dependent_services
mov ecx, 2
call fcn.140128c30
nop
lea rcx, [rsp + 0x78]
call fcn.140128f60
jmp 0x140129903
mov eax, esi
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r12
mov r8, rbx
lea rdx, str.OService::TryStopDependents___Stopping_dependent_service__S
mov ecx, 2
call fcn.140128a78
mov rdx, qword [rbx]
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rdi
mov word [rsp + 0xb8], di
cmp word [rdx], di
jne 0x140129858
mov r8, rdi
jmp 0x140129866
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14012985c
lea rcx, [rsp + 0xb8]
call fcn.1400083f8
mov r8d, 0x3c
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.1401291f4
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xb8]
call fcn.140007eb8
test bl, bl
je 0x1401298b2
lea rcx, [rsp + 0x78]
call fcn.140128f60
jmp 0x1401298fc
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140129554
nop
jmp 0x1401298dc
cmp byte [rsp + 0x30], dil
je 0x1401298f2
lea rcx, [r13 + 0x10]
lea rdx, [rsp + 0x78]
call fcn.140129b74
nop
lea rcx, [rsp + 0x78]
call fcn.140128f60
inc esi
jmp 0x1401297b2
lea rcx, [rsp + 0x50]
call fcn.1400214b4
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret