Function at 0x140047d4c
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 [0x14007edf8]
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.140047438
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 0x140047fb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
cmp eax, 0xea
je 0x140047e0d
lea r8, [rsp + 0x34]
lea rdx, str.OService::TryStopDependents___Warning:_failed_to_enumerate_dependent_services_:_errCode___d
mov ecx, 2
call fcn.1400476a0
jmp 0x140047fb3
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000a5e0
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 0x140047e60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x140047df2
mov esi, edi
mov dword [rsp + 0x34], esi
cmp esi, dword [rsp + 0x3c]
jae 0x140047fb3
mov byte [rsp + 0x30], dil
mov r8b, 1
mov edx, 0x20000002
lea rcx, [rsp + 0x78]
call fcn.140047808
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
cmp eax, 0x7fffffff
jae 0x140047ebe
lea r8, [rsp + 0x3c]
lea rdx, str.OService::TryStopDependents___Warning:_timed_out_before_stopping_all_dependent_services
mov ecx, 2
call fcn.140047648
nop
lea rcx, [rsp + 0x78]
call fcn.140047978
jmp 0x140047fb3
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.140047490
mov rdx, qword [rbx]
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rdi
mov word [rsp + 0xb8], di
cmp word [rdx], di
jne 0x140047f08
mov r8, rdi
jmp 0x140047f16
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140047f0c
lea rcx, [rsp + 0xb8]
call fcn.14000528c
mov r8d, 0x3c
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.140047a24
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0xb8]
call fcn.140004d54
test bl, bl
je 0x140047f62
lea rcx, [rsp + 0x78]
call fcn.140047978
jmp 0x140047fac
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140047c04
nop
jmp 0x140047f8c
cmp byte [rsp + 0x30], dil
je 0x140047fa2
lea rcx, [r13 + 0x10]
lea rdx, [rsp + 0x78]
call fcn.140048224
nop
lea rcx, [rsp + 0x78]
call fcn.140047978
inc esi
jmp 0x140047e62
lea rcx, [rsp + 0x50]
call fcn.14000a0f0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14003a6d0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret