Function at 0x1400103f0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140010444
lea rax, str.UninstallService_is_called
mov qword [rsp + 0x20], rax
mov r9d, 0x8d
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::UninstallService
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov ecx, 1
call fcn.14000da30
call fcn.14000f350
test al, al
je 0x14001048f
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140010485
lea rax, str.UninstallService_failed_because_AP_is_still_ON
mov qword [rsp + 0x20], rax
mov r9d, 0x91
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::UninstallService
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov ecx, 1
call fcn.14000da30
mov eax, 5
jmp 0x14001065a
mov rcx, rbx
call fcn.140010c60
test eax, eax
jne 0x1400104db
lea ecx, [rax + 1]
call fcn.14002bb50
test eax, eax
je 0x1400104d1
lea rax, str.Nothing_to_uninstall._Service_does_not_exist.
mov qword [rsp + 0x20], rax
mov r9d, 0x97
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::UninstallService
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov ecx, 1
call fcn.14000da30
mov eax, 0x424
jmp 0x14001065a
xor edx, edx
mov rcx, qword [rbx]
call fcn.140011750
mov rcx, rbx
call fcn.140011290
test eax, eax
jne 0x14001065a
mov r8d, 0x10020
mov rdx, qword [rbx]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001054d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x30], eax
lea ecx, [rbx + 5]
call fcn.14002bb50
test eax, eax
je 0x14001064a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_call_OpenService_with_SERVICE_STOP__DELETE__error_code___d
mov r9d, 0xa8
jmp 0x1400105f1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x40]
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400105b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x30], eax
cmp eax, 0x426
je 0x1400105b3
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x14001064a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_call_ControlService_SERVICE_CONTROL_STOP__error_code___d
mov r9d, 0xb5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140010610
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x30], eax
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x14001064a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_call_DeleteService__error_code___d
mov r9d, 0xbe
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140010648
lea rax, str.UninstallService_is_successful
mov qword [rsp + 0x20], rax
mov r9d, 0xc2
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::UninstallService
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov ecx, 1
call fcn.14000da30
xor edi, edi