Function at 0x180180e50
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov ebx, edx
mov r15, rcx
mov r8d, 2
mov rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.1801801c0
nop
xor edi, edi
mov rax, qword [rbp - 0x20]
lea r12, [rax + 0xc]
lea r13, [rax + 8]
mov edx, dword [r13]
mov ecx, dword [r12]
sub ecx, edx
test ecx, ecx
jle 0x18018103e
xor esi, esi
or ebx, 0x2001f
mov dword [rbp + 0x50], ebx
lea r14d, [rdi + 1]
nop dword [rax]
movsxd rcx, edx
add rcx, rsi
mov rdx, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x58], rdx
mov eax, dword [rdx]
inc eax
cmp eax, 1
jbe 0x180180edf
mov eax, r14d
lock xadd dword [rdx], eax
mov qword [rbp - 0x10], 0
lea rcx, [rbp + 0x58]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180180f47
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x180180f47
mov edx, dword [rbp + 0x48]
mov rcx, rbx
call fcn.180180e50
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x58]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
jne 0x180180f9e
mov rax, qword [rbp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180180f68
cmp ecx, 0xffffffff
je 0x180180f7b
mov rax, qword [rbp + 0x58]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180180f7b
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rbp + 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
inc edi
inc rsi
mov edx, dword [r13]
mov eax, dword [r12]
sub eax, edx
cmp edi, eax
jge 0x18018103a
mov rax, qword [rbp - 0x20]
mov ebx, dword [rbp + 0x50]
jmp 0x180180ec0
mov rax, qword [rbp + 0x58]
mov qword [rbp - 0x18], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x180180fb8
mov rax, qword [rbp + 0x58]
lock xadd dword [rax], r14d
lea rcx, [rbp - 0x18]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8, rax
lea rdx, str.QSettings:_RegDeleteKey_failed_on_subkey___ls_
mov ecx, ebx
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
nop
mov rax, qword [rbp - 0x18]
mov ecx, dword [rax]
test ecx, ecx
je 0x180180ff4
cmp ecx, 0xffffffff
je 0x180181007
mov ecx, 0xffffffff
mov rax, qword [rbp - 0x18]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180181007
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x18]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rbp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180181028
cmp ecx, 0xffffffff
je 0x18018103a
mov ecx, 0xffffffff
mov rax, qword [rbp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018103a
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rax, qword [rbp - 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018105b
cmp ecx, 0xffffffff
je 0x1801810c0
mov ecx, 0xffffffff
mov rax, qword [rbp - 0x20]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801810c0
movsxd rbx, dword [r12]
mov rcx, qword [rbp - 0x20]
add rbx, 2
lea rbx, [rcx + rbx*8]
movsxd rdi, dword [r13]
add rdi, 2
lea rdi, [rcx + rdi*8]
cmp rdi, rbx
je 0x1801810ba
nop dword [rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1801810a0
cmp eax, 0xffffffff
je 0x1801810b1
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1801810b1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
cmp rbx, rdi
jne 0x180181080
mov rcx, qword [rbp - 0x20]
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_
nop
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret