Function at 0x1401291e8
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 [0x140191810]
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.14012856c
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 0x14012944f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp eax, 0xea
je 0x1401292a9
lea r8, [rsp + 0x34]
lea rdx, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov ecx, 2
call fcn.1401287d4
jmp 0x14012944f
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140021cb4
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 0x1401292fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x14012928e
mov esi, edi
mov dword [rsp + 0x34], esi
cmp esi, dword [rsp + 0x3c]
jae 0x14012944f
mov byte [rsp + 0x30], dil
mov r8b, 1
mov edx, 0x20000002
lea rcx, [rsp + 0x78]
call fcn.14012893c
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
cmp eax, 0x7fffffff
jae 0x14012935a
lea r8, [rsp + 0x3c]
lea rdx, str.OService::TryStopDependents___Warning:_timed_out_before_stopping_all_dependent_services
mov ecx, 2
call fcn.14012877c
nop
lea rcx, [rsp + 0x78]
call fcn.140128aac
jmp 0x14012944f
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.1401285c4
mov rdx, qword [rbx]
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rdi
mov word [rsp + 0xb8], di
cmp word [rdx], di
jne 0x1401293a4
mov r8, rdi
jmp 0x1401293b2
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x1401293a8
lea rcx, [rsp + 0xb8]
call fcn.140007f48
mov r8d, 0x3c
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.140128d40
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xb8]
call fcn.140007a08
test bl, bl
je 0x1401293fe
lea rcx, [rsp + 0x78]
call fcn.140128aac
jmp 0x140129448
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1401290a0
nop
jmp 0x140129428
cmp byte [rsp + 0x30], dil
je 0x14012943e
lea rcx, [r13 + 0x10]
lea rdx, [rsp + 0x78]
call fcn.1401296c0
nop
lea rcx, [rsp + 0x78]
call fcn.140128aac
inc esi
jmp 0x1401292fe
lea rcx, [rsp + 0x50]
call fcn.140021898
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140021f10
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret