Function at 0x1401ce3f8
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 [0x140334860]
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.1401cd6d8
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 0x1401ce65f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp eax, 0xea
je 0x1401ce4b9
lea r8, [rsp + 0x34]
lea rdx, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov ecx, 2
call fcn.1401cd940
jmp 0x1401ce65f
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400639c8
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 0x1401ce50c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x1401ce49e
mov esi, edi
mov dword [rsp + 0x34], esi
cmp esi, dword [rsp + 0x3c]
jae 0x1401ce65f
mov byte [rsp + 0x30], dil
mov r8b, 1
mov edx, 0x20000002
lea rcx, [rsp + 0x78]
call fcn.1401cdb20
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
cmp eax, 0x7fffffff
jae 0x1401ce56a
lea r8, [rsp + 0x3c]
lea rdx, str.OService::TryStopDependents___Warning:_timed_out_before_stopping_all_dependent_services
mov ecx, 2
call fcn.1401cd8e8
nop
lea rcx, [rsp + 0x78]
call fcn.1401cdcb8
jmp 0x1401ce65f
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.1401cd730
mov rdx, qword [rbx]
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rdi
mov word [rsp + 0xb8], di
cmp word [rdx], di
jne 0x1401ce5b4
mov r8, rdi
jmp 0x1401ce5c2
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x1401ce5b8
lea rcx, [rsp + 0xb8]
call fcn.14000b6f8
mov r8d, 0x3c
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.1401cdf50
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xb8]
call fcn.14000b190
test bl, bl
je 0x1401ce60e
lea rcx, [rsp + 0x78]
call fcn.1401cdcb8
jmp 0x1401ce658
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1401ce2b0
nop
jmp 0x1401ce638
cmp byte [rsp + 0x30], dil
je 0x1401ce64e
lea rcx, [r13 + 0x10]
lea rdx, [rsp + 0x78]
call fcn.1401ce8d0
nop
lea rcx, [rsp + 0x78]
call fcn.1401cdcb8
inc esi
jmp 0x1401ce50e
lea rcx, [rsp + 0x50]
call fcn.140029430
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140135130
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret