Function at 0x180182ad0
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov r12, r8
mov rdi, rdx
mov r13, rcx
mov r9, qword [rcx + 0x90]
cmp dword [r9 + 4], 0
je 0x1801832ac
mov rbx, qword [r9 + 0x10]
add rbx, r9
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x1801832ac
cmp byte [rbx + 0x18], 0
jne 0x1801832ac
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x1801832ac
mov rcx, qword [rdi]
mov qword [rbp - 0x11], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x180182b5f
mov eax, 1
lock xadd dword [rcx], eax
lea rdx, [rbp - 0x11]
lea rcx, [rsp + 0x38]
call fcn.180181150
nop
mov edi, dword [r13 + 0x9c]
mov eax, 0x5c
mov word [rbp + 0x67], ax
mov esi, 0xffffffff
lea r9d, [rax - 0x5b]
mov r8d, esi
movzx edx, ax
lea rcx, [rsp + 0x38]
call sym.Qt5Core.dll_public:_int___cdecl_QString::lastIndexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
lea rbx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
cmp eax, esi
jne 0x180182ba8
mov qword [rbp - 0x69], rbx
jmp 0x180182bbb
lea r8d, [rax + 1]
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x38]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64
nop
mov rcx, qword [r13 + 0x90]
xor r15d, r15d
cmp dword [rcx + 4], r15d
je 0x180182bfd
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rcx, rbx
call fcn.1801814a0
test rax, rax
je 0x180182bf6
cmp byte [rbx + 0x18], r15b
jne 0x180182bf6
mov rcx, rbx
call fcn.1801814a0
lea rbx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
jmp 0x180182c00
lea rbx, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov rax, r15
mov r9d, edi
lea r8, [rbp - 0x69]
mov edx, 0x2001f
mov rcx, rax
call fcn.180180d90
mov r14, rax
mov qword [rbp + 0x7f], rax
mov rcx, qword [rbp - 0x69]
mov edx, dword [rcx]
test edx, edx
je 0x180182c3c
cmp edx, 0xffffffff
je 0x180182c4e
mov r8d, esi
mov rcx, qword [rbp - 0x69]
lock xadd dword [rcx], r8d
cmp r8d, 1
jne 0x180182c4e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x69]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test r14, r14
jne 0x180182c64
lea edx, [r14 + 1]
mov rcx, r13
call fcn.18017bbd0
jmp 0x180183279
mov qword [rsp + 0x30], rbx
mov rcx, r12
call sym.Qt5Core.dll_public:_enum_QVariant::Type___cdecl_QVariant::type_void____ptr64
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x180182c90.6
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x1832d4]
add rcx, rdx
jmp rcx
lea rdx, [rbp - 0x49]
mov rcx, r12
call sym.Qt5Core.dll_public:_class_QList_class_QVariant____cdecl_QVariant::toList_void____ptr64
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.18017d9a0
nop
mov rax, qword [rbp - 0x49]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182cca
cmp ecx, 0xffffffff
je 0x180182d21
mov ecx, esi
mov rax, qword [rbp - 0x49]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182d21
mov r15, qword [rbp - 0x49]
movsxd r14, dword [r15 + 8]
add r14, 2
lea r14, [r15 + r14*8]
movsxd rbx, dword [r15 + 0xc]
add rbx, 2
lea rbx, [r15 + rbx*8]
cmp rbx, r14
je 0x180182d16
nop dword [rax + rax]
sub rbx, 8
mov rdi, qword [rbx]
test rdi, rdi
je 0x180182d11
mov rcx, rdi
call sym.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64
mov edx, 0x10
mov rcx, rdi
call fcn.1802e1b04
cmp rbx, r14
jne 0x180182cf0
mov rcx, r15
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_
xor r15d, r15d
mov rax, qword [rbp - 0x79]
movsxd rbx, dword [rax + 8]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
je 0x180182d86
mov rax, qword [rbx]
cmp dword [rax + 4], 0
je 0x180182ed5
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
mov rcx, rbx
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 0xffffffff
jne 0x180182ed5
add rbx, 8
mov rax, qword [rbp - 0x79]
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
jne 0x180182d42
movsxd rbx, dword [rax + 8]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
je 0x180182e2c
nop word [rax + rax]
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea edi, [rcx*2 + 2]
mov rcx, rbx
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8d, edi
mov rdx, rax
lea rcx, [rbp - 0x39]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call sym.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_class_QByteArray_const____ptr64____ptr64
nop
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182e01
cmp ecx, 0xffffffff
je 0x180182e13
mov ecx, esi
mov rax, qword [rbp - 0x39]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182e13
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x39]
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
mov rax, qword [rbp - 0x79]
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
jne 0x180182db0
xor edx, edx
lea rcx, [rsp + 0x30]
call sym.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char____ptr64
xor edx, edx
lea rcx, [rsp + 0x30]
call sym.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::append_char____ptr64
mov r15d, 7
mov rax, qword [rbp - 0x79]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182e68
cmp ecx, 0xffffffff
je 0x180182ecc
mov ecx, esi
mov rax, qword [rbp - 0x79]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182ecc
mov r14, qword [rbp - 0x79]
movsxd rbx, dword [r14 + 0xc]
add rbx, 2
lea rbx, [r14 + rbx*8]
movsxd rdi, dword [r14 + 8]
add rdi, 2
lea rdi, [r14 + rdi*8]
cmp rdi, rbx
je 0x180182ec3
nop dword [rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x180182ead
cmp eax, 0xffffffff
je 0x180182ebe
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x180182ebe
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 0x180182e90
mov rcx, r14
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_
nop
mov r14, qword [rbp + 0x7f]
jmp 0x180183143
mov r15d, 3
mov rdx, r12
lea rcx, [rbp - 0x61]
call fcn.18017daa0
nop
mov rax, qword [rbp - 0x61]
mov ecx, dword [rax + 4]
lea ebx, [rcx + rcx]
lea rcx, [rbp - 0x61]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x41]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64
mov rdx, qword [rsp + 0x30]
mov qword [rbp + 7], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x41]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182f3c
cmp ecx, 0xffffffff
je 0x180182f4f
mov ecx, esi
mov rax, qword [rbp - 0x41]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182f4f
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x41]
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 - 0x61]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182f75
cmp ecx, 0xffffffff
je 0x180182e4a
mov ecx, esi
mov rax, qword [rbp - 0x61]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182e4a
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x61]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
jmp 0x180182e4a
xor edx, edx
mov rcx, r12
call sym.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64
mov dword [rbp - 0x51], eax
mov r8d, 4
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x31]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64
mov rdx, qword [rsp + 0x30]
mov qword [rbp + 0xf], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x31]
mov ecx, dword [rax]
test ecx, ecx
je 0x180182fde
cmp ecx, 0xffffffff
je 0x180182ff0
mov ecx, esi
mov rax, qword [rbp - 0x31]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180182ff0
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x31]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov r15d, 4
jmp 0x180183143
xor edx, edx
lea r15d, [rdx + 0xb]
mov rcx, r12
call sym.Qt5Core.dll_public:_long_long___int64____cdecl_QVariant::toLongLong_bool____ptr64_const___ptr64
mov qword [rbp - 9], rax
lea r8d, [r15 - 3]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64
mov rdx, qword [rsp + 0x30]
mov qword [rbp + 0x17], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183058
cmp ecx, 0xffffffff
je 0x180183143
mov ecx, esi
mov rax, qword [rbp - 0x29]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180183143
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x29]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
jmp 0x180183143
mov rdx, r12
lea rcx, [rbp - 0x71]
call fcn.18017daa0
nop
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
lea rcx, [rbp - 0x71]
call sym.Qt5Core.dll_public:_int___cdecl_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
mov ecx, 1
mov edx, 3
cmp eax, 0xffffffff
cmovne ecx, edx
mov dword [rbp + 0x7f], ecx
mov rcx, qword [rbp - 0x71]
mov ebx, dword [rcx + 4]
jne 0x1801830b0
inc ebx
add ebx, ebx
lea rcx, [rbp - 0x71]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
mov r8d, ebx
lea rcx, [rbp - 0x21]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_char_const____ptr64__int____ptr64
mov rdx, qword [rsp + 0x30]
mov qword [rbp + 0x1f], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x21]
mov ecx, dword [rax]
test ecx, ecx
je 0x1801830fc
cmp ecx, 0xffffffff
je 0x18018310f
mov ecx, esi
mov rax, qword [rbp - 0x21]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018310f
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x21]
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 - 0x71]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018312d
cmp ecx, 0xffffffff
je 0x18018313f
mov ecx, esi
mov rax, qword [rbp - 0x71]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018313f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x71]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov r15d, dword [rbp + 0x7f]
mov rax, qword [rsp + 0x30]
mov edi, dword [rax + 4]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x19]
call fcn.180181600
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, r15d
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x19]
mov eax, dword [rcx]
test eax, eax
je 0x1801831a4
cmp eax, 0xffffffff
je 0x1801831b6
mov edx, esi
mov rcx, qword [rbp - 0x19]
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x1801831b6
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x19]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test ebx, ebx
jne 0x1801831c3
mov byte [r13 + 0x98], bl
jmp 0x18018323b
mov rax, qword [rsp + 0x38]
mov qword [rbp - 0x59], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x1801831e3
mov ecx, 1
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], ecx
lea rcx, [rbp - 0x59]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov r8, rax
lea rdx, str.QSettings:_failed_to_set_subkey___ls_
mov ecx, ebx
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
nop
mov rax, qword [rbp - 0x59]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018321c
cmp ecx, 0xffffffff
je 0x18018322e
mov ecx, esi
mov rax, qword [rbp - 0x59]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018322e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x59]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov edx, 1
mov rcx, r13
call fcn.18017bbd0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183265
cmp ecx, 0xffffffff
je 0x180183279
mov ecx, esi
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180183279
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rsp + 0x30]
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 [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x180183297
cmp ecx, 0xffffffff
je 0x1801832b9
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1801832b9
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x38]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
jmp 0x1801832b9
mov edx, 1
mov rcx, r13
call fcn.18017bbd0
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret