Function at 0x180182600
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x90]
cmp dword [rcx + 4], 0
je 0x180182a99
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x180182a99
cmp byte [rbx + 0x18], 0
jne 0x180182a99
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x180182a99
mov rcx, qword [rdi]
mov qword [rbp - 0x30], rcx
mov eax, dword [rcx]
inc eax
mov r14d, 1
cmp eax, r14d
jbe 0x18018268d
mov eax, r14d
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x50]
call fcn.180181150
nop
mov r15d, dword [rsi + 0x9c]
mov eax, 0x5c
mov word [rbp + 0x40], ax
mov r9d, r14d
mov edi, 0xffffffff
mov r8d, edi
movzx edx, ax
lea rcx, [rbp + 0x50]
call sym.Qt5Core.dll_public:_int___cdecl_QString::lastIndexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, edi
jne 0x1801826d3
lea rax, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov qword [rbp + 0x58], rax
jmp 0x1801826e5
lea r8d, [rax + 1]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x50]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64
nop
mov rcx, qword [rsi + 0x90]
xor r12d, r12d
cmp dword [rcx + 4], r12d
je 0x18018271c
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x18018271c
cmp byte [rbx + 0x18], r12b
jne 0x18018271c
mov rcx, rbx
call fcn.1801814a0
mov rbx, rax
jmp 0x18018271f
mov rbx, r12
mov qword [rbp - 0x28], r12
or r15d, 0x2001f
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 - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, r12
test eax, eax
cmove rbx, qword [rbp - 0x28]
mov rax, qword [rbp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182776
cmp ecx, 0xffffffff
je 0x180182788
mov ecx, edi
mov rax, qword [rbp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182788
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__
test rbx, rbx
je 0x1801827e9
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.180181600
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rax, qword [rbp - 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1801827ce
cmp ecx, 0xffffffff
je 0x1801827e0
mov edx, edi
mov rax, qword [rbp - 0x38]
lock xadd dword [rax], edx
cmp edx, 1
jne 0x1801827e0
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15d, dword [rsi + 0x9c]
mov rcx, qword [rsi + 0x90]
cmp dword [rcx + 4], 0
je 0x180182824
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x180182824
cmp byte [rbx + 0x18], 0
jne 0x180182824
mov rcx, rbx
call fcn.1801814a0
mov rbx, rax
jmp 0x180182827
mov rbx, r12
mov qword [rbp - 0x20], r12
or r15d, 0x2001f
lea rcx, [rbp + 0x50]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180182a69
mov r15, qword [rbp - 0x20]
test r15, r15
je 0x180182a69
mov edx, dword [rsi + 0x9c]
mov rcx, r15
call fcn.180180e50
mov rax, qword [rbp + 0x50]
cmp dword [rax + 4], 0
jne 0x1801829d4
mov r8d, r14d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1801801c0
nop
mov rax, qword [rbp - 0x50]
lea r13, [rax + 8]
movsxd rbx, dword [r13]
add rbx, 2
lea rbx, [rax + rbx*8]
lea rdx, [rax + 0xc]
mov qword [rbp - 0x18], rdx
movsxd r12, dword [rdx]
add r12, 2
lea r12, [rax + r12*8]
cmp rbx, r12
je 0x180182958
mov rcx, rbx
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_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x180182943
mov rdx, qword [rbx]
mov qword [rbp - 0x48], rdx
mov ecx, dword [rdx]
inc ecx
cmp ecx, 1
jbe 0x1801828f8
mov ecx, r14d
lock xadd dword [rdx], ecx
lea rcx, [rbp - 0x48]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8, rax
lea rdx, str.QSettings:_RegDeleteValue_failed_on_subkey___ls_
mov ecx, esi
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
nop
mov rax, qword [rbp - 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182931
cmp ecx, 0xffffffff
je 0x180182943
mov ecx, edi
mov rax, qword [rbp - 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182943
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
add rbx, 8
cmp rbx, r12
jne 0x1801828c7
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182972
cmp ecx, 0xffffffff
je 0x1801829cf
mov ecx, edi
mov rax, qword [rbp - 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801829cf
movsxd rbx, dword [rdx]
mov rcx, qword [rbp - 0x50]
add rbx, 2
lea rbx, [rcx + rbx*8]
movsxd rsi, dword [r13]
add rsi, 2
lea rsi, [rcx + rsi*8]
cmp rsi, rbx
je 0x1801829c9
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1801829af
cmp eax, 0xffffffff
je 0x1801829c0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1801829c0
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, rsi
jne 0x180182992
mov rcx, qword [rbp - 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_
nop
jmp 0x180182a5f
lea rcx, [rbp + 0x50]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rbx, rax
mov rcx, rsi
call fcn.180183370
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
je 0x180182a5f
mov rcx, qword [rbp + 0x50]
mov qword [rbp - 0x40], rcx
mov edx, dword [rcx]
inc edx
cmp edx, 1
jbe 0x180182a14
mov rcx, qword [rbp + 0x50]
lock xadd dword [rcx], r14d
lea rcx, [rbp - 0x40]
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_key___ls_
mov ecx, ebx
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
nop
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182a4d
cmp ecx, 0xffffffff
je 0x180182a5f
mov edx, edi
mov rax, qword [rbp - 0x40]
lock xadd dword [rax], edx
cmp edx, 1
jne 0x180182a5f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x40]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182a85
cmp ecx, 0xffffffff
je 0x180182aa6
mov rax, qword [rbp + 0x50]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x180182aa6
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp + 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
jmp 0x180182aa6
mov edx, 1
mov rcx, rsi
call fcn.18017bbd0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret