Function at 0x18004eea0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x1a8], 0x490
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x1a0], 0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18004f01c
mov rax, qword [rsp + 0x200]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004f01c
mov rax, qword [rsp + 0x200]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x48], rax
lea rdx, str.OpenSCM_Failed:_:x
mov rcx, qword [rsp + 0x48]
call fcn.180055220
lea rcx, [rsp + 0x98]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x98]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1a8]
call fcn.1800035a0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0xd0]
mov edx, 4
mov rcx, qword [rsp + 0x58]
call fcn.180058330
cmp qword [rsp + 0x40], 0
jne 0x18004f02f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18004f330
mov dword [rsp + 0x30], 0
jmp 0x18004f043
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
lea rcx, section..data
mov edx, 2
imul rdx, rdx, 0
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + rdx]
test eax, eax
je 0x18004f1de
mov eax, dword [rsp + 0x30]
lea rcx, section..data
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x200]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004f174
mov rax, qword [rsp + 0x200]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x60], rax
lea rdx, str.EppUninstallOldDrivers_pServiceName:_
mov rcx, qword [rsp + 0x60]
call fcn.180055220
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1a0]
call fcn.1800035a0
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x68]
lea r8, [rsp + 0x110]
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.180058550
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18004f19f
jmp 0x18004f039
mov dword [rsp + 0x1a8], 0
lea r8, [rsp + 0x1b0]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18004f039
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, qword [rsp + 0x200]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004f329
mov rax, qword [rsp + 0x200]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x78], rax
lea rdx, str._Result_:_
mov rcx, qword [rsp + 0x78]
call fcn.180055220
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1a8]
call fcn.1800035a0
mov qword [rsp + 0x80], rax
lea rcx, str.EppLibClass::EppUninstallOldDrivers
call fcn.180056f20
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
lea r8, [rsp + 0x160]
mov edx, 2
mov rcx, qword [rsp + 0x90]
call fcn.180058bb0
mov eax, dword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x1e8
pop rdi
pop rsi
ret