Function at 0x14015ab68
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r12d, edx
mov r15, rcx
mov rdx, rcx
mov r8d, 2
lea rcx, [rbp + 0x40]
call fcn.140159db8
mov rdi, qword [rbp + 0x40]
xor r14d, r14d
mov edx, dword [rdi + 0xc]
mov eax, edx
mov ecx, dword [rdi + 8]
sub eax, ecx
test eax, eax
jle 0x14015ae71
xor esi, esi
test rsi, rsi
js 0x14015abc0
sub edx, ecx
cmp r14d, edx
jl 0x14015abe3
mov r9d, 0x21d
lea r8, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qlist.h
lea rdx, str.index_out_of_range
lea rcx, str.QList_T_::at
call fcn.1401225ac
mov ecx, dword [rdi + 8]
movsxd rax, ecx
lea rdx, [rbp + 0x40]
add rax, 2
add rax, rsi
lea rcx, [rdi + rax*8]
mov rax, qword [rcx]
mov qword [rbp + 0x40], rax
cmp rcx, rdx
jne 0x14015ac1e
mov r8d, 0x38b
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qstring.h
lea rcx, str.other___this
call fcn.140122564
mov rax, qword [rbp + 0x40]
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x14015ac2d
lea ecx, [rdx + 1]
mov dword [rax], ecx
mov r9d, r12d
lea r8, [rbp + 0x40]
mov edx, 0x2001f
mov rcx, r15
call fcn.14015b9dc
mov rbx, rax
test rax, rax
je 0x14015ac76
mov edx, r12d
mov rcx, rax
call fcn.14015ab68
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x40]
call fcn.14014385c
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14015acbd
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14015ac90
cmp eax, 0xffffffff
je 0x14015ac9f
sub eax, 1
mov dword [rcx], eax
jne 0x14015ac9f
mov rcx, qword [rbp + 0x40]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14010b388
mov edx, dword [rdi + 0xc]
inc r14d
mov ecx, dword [rdi + 8]
mov eax, edx
sub eax, ecx
inc rsi
cmp r14d, eax
jl 0x14015abb4
jmp 0x14015ae71
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140145228
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.140005fec
mov r15d, 0x3c
mov rbx, qword [rax]
cmp dword [rbx + 4], 0
je 0x14015ad07
cmp qword [rbx + 0x10], 0
jl 0x14015ad07
cmp qword [rbx + 0x10], 0x18
jae 0x14015ad07
mov r8d, r15d
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140122564
mov r14, qword [rbx + 0x10]
mov r12d, 1
add r14, rbx
mov rbx, qword [rbp + 0x40]
mov qword [rbp - 0x30], rbx
mov ecx, dword [rbx]
lea eax, [rcx + 1]
cmp eax, r12d
jbe 0x14015ad2b
lea eax, [rcx + 1]
mov dword [rbx], eax
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.140005fec
mov rsi, qword [rax]
cmp dword [rsi + 4], 0
je 0x14015ad65
cmp qword [rsi + 0x10], 0
jl 0x14015ad65
cmp qword [rsi + 0x10], 0x18
jae 0x14015ad65
mov r8d, r15d
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140122564
mov r8, qword [rsi + 0x10]
lea rax, str.C:qt64qt_1544645195969workqtbase_srccorelibioqsettings_win.cpp
mov qword [rbp - 0x20], rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___s_:__s
lea rax, str.void___cdecl_deleteChildGroups_struct_HKEY____unsigned_long_
mov dword [rbp - 0x24], 0x12c
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x28]
lea rax, str.default
mov r15d, 2
add r8, rsi
mov qword [rbp - 0x10], rax
mov r9, r14
mov dword [rbp - 0x28], r15d
call fcn.140162d0c
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14015adcb
cmp eax, 0xffffffff
je 0x14015addd
sub eax, r12d
mov dword [rcx], eax
jne 0x14015addd
mov rcx, qword [rbp + 0x48]
mov esi, 8
mov rdx, r12
mov r8d, esi
call fcn.14010b388
jmp 0x14015ade2
mov esi, 8
mov eax, dword [rbx]
test eax, eax
je 0x14015adf4
cmp eax, 0xffffffff
je 0x14015ae02
sub eax, r12d
mov dword [rbx], eax
jne 0x14015ae02
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.14010b388
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14015ae1c
cmp eax, 0xffffffff
je 0x14015ae27
sub eax, r12d
mov dword [rcx], eax
jne 0x14015ae27
mov rcx, qword [rbp - 0x40]
mov r8, rsi
mov rdx, r12
call fcn.14010b388
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14015ae41
cmp eax, 0xffffffff
je 0x14015ae4c
sub eax, r12d
mov dword [rcx], eax
jne 0x14015ae4c
mov rcx, qword [rbp - 0x38]
mov r8, rsi
mov rdx, r15
call fcn.14010b388
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14015ae66
cmp eax, 0xffffffff
je 0x14015ae71
sub eax, r12d
mov dword [rcx], eax
jne 0x14015ae71
mov rcx, qword [rbp + 0x40]
mov r8, rsi
mov rdx, r15
call fcn.14010b388
mov eax, dword [rdi]
test eax, eax
je 0x14015ae83
cmp eax, 0xffffffff
je 0x14015ae8f
sub eax, 1
mov dword [rdi], eax
jne 0x14015ae8f
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140004680
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret