Function at 0x18000a450
Capabilities:
Delete service

Disassembly:
mov byte [rsp + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
movzx r12d, dl
mov r13, rcx
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp - 0x58]
call fcn.180031c20
nop
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_bool____ptr64]
nop
mov edx, 0x18
lea rcx, str.main_clearAfterUninstall
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x70], rax
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call fcn.180035b70
nop
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QVariant::toBool_void_const___ptr64]
movzx ebx, al
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test bl, bl
je 0x18000a86c
mov r14d, 1
mov edx, r14d
lea rcx, [0x1800a8c04]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x68], rax
lea rdx, [0x1800a8228]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_char_const____ptr64____ptr64]
nop
lea edx, [r14 + 0xf]
lea rcx, str.main_instsvrlist
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x48], rax
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x58]
call fcn.180035b70
nop
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QStringList___cdecl_QString::split_class_QString_const____ptr64__enum_QString::SplitBehavior__enum_Qt::CaseSensitivity____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rbp + 0x60]
cmp dword [rsi], r14d
jbe 0x18000a5d8
mov edx, dword [rsi + 4]
lea rcx, [rbp + 0x60]
call fcn.180008a30
mov rsi, qword [rbp + 0x60]
movsxd rbx, dword [rsi + 8]
add rbx, 2
lea rbx, [rsi + rbx*8]
cmp dword [rsi], 1
jbe 0x18000a5f9
mov edx, dword [rsi + 4]
lea rcx, [rbp + 0x60]
call fcn.180008a30
mov rsi, qword [rbp + 0x60]
movsxd rdi, dword [rsi + 0xc]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rbx, rdi
je 0x18000a72f
mov r12d, 1
nop dword [rax]
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
xor sil, sil
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::trimmed_void____ptr64]
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x18000a6a6
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rdx, rax
mov r8d, 0x10000
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r15, rax
test rax, rax
je 0x18000a69c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
movzx esi, sil
test eax, eax
cmovne esi, r12d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
nop
lea rdx, str.uninstall_service
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___class_QString_const____ptr64____ptr64]
mov rcx, rax
movzx edx, sil
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___bool____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 8
cmp rbx, rdi
jne 0x18000a620
mov rsi, qword [rbp + 0x60]
movzx r12d, byte [rbp + 0x58]
mov r14d, 1
or ebx, 0xffffffff
test r12b, r12b
je 0x18000a81f
mov rdx, r13
lea rcx, [rbp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
mov edx, r14d
lea rcx, [0x1800a83dc]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x50], rax
mov edx, r14d
lea rcx, [0x1800a83d8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x40], rax
mov r9d, r14d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::replace_class_QString_const____ptr64__class_QString_const____ptr64__enum_Qt::CaseSensitivity____ptr64]
mov rdx, rax
lea rcx, [rbp + 0x68]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_AEBV0__Z]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, r14d
lea rcx, [0x1800a83dc]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x60], rax
mov r9d, r14d
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::lastIndexOf_class_QString_const____ptr64__int__enum_Qt::CaseSensitivity_const___ptr64]
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::mid_int__int____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call fcn.180009690
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rbp + 0x60]
mov eax, dword [rsi]
test eax, eax
je 0x18000a833
cmp eax, 0xffffffff
je 0x18000a86c
lock dec dword [rsi]
jne 0x18000a86c
mov rsi, qword [rbp + 0x60]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x18000a862
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18000a850
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QObject::destructor_void____ptr64]
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret