Function at 0x1401ad940
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rax + 8], rbp
mov r8d, 2
mov qword [rax - 0x20], r12
mov r12d, edx
mov qword [rax - 0x28], r13
mov rdx, rcx
mov qword [rax - 0x30], r14
mov r14, rcx
lea rcx, [rax + 0x18]
call fcn.1401ac8b0
mov rbx, qword [rsp + 0x80]
xor r13d, r13d
mov ebp, r13d
mov r8d, dword [rbx + 0xc]
mov eax, r8d
mov ecx, dword [rbx + 8]
sub eax, ecx
test eax, eax
jle 0x1401adb96
mov qword [rsp + 0x30], r15
mov esi, r13d
mov r15d, r12d
or r15d, 0x2001f
test rsi, rsi
js 0x1401ad9b3
sub r8d, ecx
cmp ebp, r8d
jl 0x1401ad9d6
mov r9d, 0x23b
lea r8, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qlist.h
lea rdx, str.index_out_of_range
lea rcx, str.QList_T_::at
call fcn.140160ef0
mov ecx, dword [rbx + 8]
movsxd rax, ecx
lea rdx, [rsp + 0x80]
add rax, 2
add rax, rsi
lea rcx, [rbx + rax*8]
mov rax, qword [rbx + rax*8]
mov qword [rsp + 0x80], rax
cmp rcx, rdx
jne 0x1401ada1e
mov r8d, 0x446
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.other___this
call fcn.140160ea0
mov rax, qword [rsp + 0x80]
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x1401ada2d
lea ecx, [rdx + 1]
mov dword [rax], ecx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x88], r13
call fcn.140190810
mov rdx, rax
mov r9d, r15d
lea rax, [rsp + 0x88]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401adaa5
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x1401adaa5
mov edx, r12d
mov rcx, rdi
call fcn.1401ad940
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x80]
call fcn.140190810
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test eax, eax
jne 0x1401adaf4
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1401adac7
cmp eax, 0xffffffff
je 0x1401adad6
sub eax, 1
mov dword [rcx], eax
jne 0x1401adad6
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140143660
mov r8d, dword [rbx + 0xc]
inc ebp
mov ecx, dword [rbx + 8]
mov eax, r8d
sub eax, ecx
inc rsi
cmp ebp, eax
jl 0x1401ad9a6
jmp 0x1401adb91
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x1401adb13
lea ecx, [rdx + 1]
mov dword [rax], ecx
lea rcx, [rsp + 0x88]
call fcn.140190810
mov r8, rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___ls_
mov ecx, edi
call fcn.1401b4b50
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x1401adb53
cmp eax, 0xffffffff
je 0x1401adb61
sub eax, 1
mov dword [rcx], eax
jne 0x1401adb61
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1401adb83
cmp eax, 0xffffffff
je 0x1401adb91
sub eax, 1
mov dword [rcx], eax
jne 0x1401adb91
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov r15, qword [rsp + 0x30]
mov eax, dword [rbx]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
test eax, eax
je 0x1401adbbc
cmp eax, 0xffffffff
je 0x1401adc18
sub eax, 1
mov dword [rbx], eax
jne 0x1401adc18
movsxd rsi, dword [rbx + 8]
movsxd rdi, dword [rbx + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [rbx + rsi*8]
lea rdi, [rbx + rdi*8]
cmp rdi, rsi
je 0x1401adc10
nop dword [rax]
mov rcx, qword [rdi - 8]
sub rdi, 8
mov eax, dword [rcx]
test eax, eax
je 0x1401adbfa
cmp eax, 0xffffffff
je 0x1401adc0b
sub eax, 1
mov dword [rcx], eax
jne 0x1401adc0b
mov rcx, qword [rdi]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
cmp rdi, rsi
jne 0x1401adbe0
mov rcx, rbx
call fcn.1401683a0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret