Function at 0x1801801c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov r12d, r8d
mov r14, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rbp - 0x59], r13d
lea rbx, sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov qword [rbp - 0x41], rbx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x35]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1801802f3
lea rdx, str.QSettings:_RegQueryInfoKey___failed
mov ecx, eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
mov rax, qword [rbp - 0x41]
mov qword [r15], rax
mov qword [rbp - 0x41], rbx
mov eax, dword [sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea edi, [r13 - 1]
test eax, eax
je 0x180180292
cmp eax, edi
je 0x1801802ee
mov eax, edi
lock xadd dword [sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null], eax
cmp eax, 1
jne 0x1801802ee
mov r14, qword [rbp - 0x41]
movsxd rbx, dword [r14 + 0xc]
add rbx, 2
lea rbx, [r14 + rbx*8]
movsxd rsi, dword [r14 + 8]
add rsi, 2
lea rsi, [r14 + rsi*8]
cmp rsi, rbx
je 0x1801802e5
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1801802cf
cmp eax, edi
je 0x1801802e0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1801802e0
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 0x1801802b3
mov rcx, r14
call sym.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_
nop
jmp 0x1801805dc
mov ecx, dword [rbp - 0x39]
inc ecx
mov dword [rbp - 0x39], ecx
mov edx, dword [rbp - 0x35]
inc edx
mov dword [rbp - 0x35], edx
cmp r12d, 1
jne 0x18018030e
mov esi, dword [rbp - 0x31]
jmp 0x180180313
mov esi, dword [rbp - 0x2d]
mov edx, ecx
lea edx, [rdx*2 + 2]
xor r8d, r8d
lea rcx, [rbp - 0x49]
call sym.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_int__char____ptr64
nop
mov ebx, r13d
mov edi, 0xffffffff
test esi, esi
jle 0x18018056f
lea r15, sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
nop
mov qword [rbp - 0x51], r15
mov rax, qword [rbp - 0x49]
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rbp + 0x7f], ecx
mov edx, dword [rax]
mov rcx, qword [rbp - 0x49]
cmp r12d, 1
jne 0x1801803b0
cmp edx, r12d
ja 0x18018036a
cmp qword [rcx + 0x10], 0x18
je 0x180180384
mov r8d, dword [rcx + 8]
shr r8d, 0x1f
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x49]
call sym.Qt5Core.dll_private:_void___cdecl_QByteArray::reallocData_unsigned_int__class_QFlags_enum_QArrayData::AllocationOption_____ptr64
mov rcx, qword [rbp - 0x49]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x180180400
cmp edx, 1
ja 0x1801803bc
cmp qword [rcx + 0x10], 0x18
je 0x1801803d6
mov r8d, dword [rcx + 8]
shr r8d, 0x1f
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x49]
call sym.Qt5Core.dll_private:_void___cdecl_QByteArray::reallocData_unsigned_int__class_QFlags_enum_QArrayData::AllocationOption_____ptr64
mov rcx, qword [rbp - 0x49]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180180521
mov rax, qword [rbp - 0x49]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, dword [rbp + 0x7f]
lea rcx, [rbp - 0x29]
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_
nop
mov rcx, qword [rax]
mov qword [rbp - 0x11], rcx
mov qword [rax], r15
mov eax, dword [rbp - 0x59]
or eax, 0xa
test al, 4
je 0x18018046e
and eax, 0xfffffffb
mov dword [rbp - 0x59], eax
mov rax, qword [rbp - 0x21]
mov ecx, dword [rax]
test ecx, ecx
je 0x180180459
cmp ecx, 0xffffffff
je 0x18018046b
mov ecx, edi
mov rax, qword [rbp - 0x21]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018046b
mov edx, 2
lea r8d, [rdx + 6]
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__
mov eax, dword [rbp - 0x59]
and eax, 0xfffffffd
mov dword [rbp - 0x59], eax
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax]
test ecx, ecx
je 0x180180492
cmp ecx, 0xffffffff
je 0x1801804a4
mov ecx, edi
mov rax, qword [rbp - 0x29]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801804a4
mov edx, 2
lea r8d, [rdx + 6]
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__
mov rcx, qword [rbp - 0x51]
mov qword [rbp - 0x19], rcx
mov rax, qword [rbp - 0x11]
mov qword [rbp - 0x51], rax
mov eax, dword [rcx]
test eax, eax
je 0x1801804ce
cmp eax, 0xffffffff
je 0x1801804e0
mov ecx, edi
mov rax, qword [rbp - 0x19]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801804e0
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__
mov rax, qword [rbp - 0x51]
cmp dword [rax + 4], 0
jne 0x180180512
mov dword [rbp - 9], 1
lea rax, [0x1803d893c]
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x51]
call fcn.1800bdc10
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x41]
call fcn.180022940
jmp 0x180180530
lea rdx, str.QSettings:_RegEnumValue_failed
mov ecx, eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
nop
mov rax, qword [rbp - 0x51]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018054e
cmp ecx, 0xffffffff
je 0x180180561
mov rax, qword [rbp - 0x51]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180180561
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rbp - 0x51]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
inc ebx
cmp ebx, esi
jl 0x180180340
mov r15, qword [rbp + 0x67]
mov rax, qword [rbp - 0x41]
mov qword [r15], rax
lea rax, sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov qword [rbp - 0x41], rax
mov rax, qword [rbp - 0x49]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018059f
cmp ecx, 0xffffffff
je 0x1801805b2
mov ecx, edi
mov rax, qword [rbp - 0x49]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801805b2
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbp - 0x49]
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 - 0x41]
mov ecx, dword [rax]
test ecx, ecx
je 0x1801805ce
cmp ecx, 0xffffffff
je 0x1801805dc
mov rax, qword [rbp - 0x41]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1801805dc
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.1800230c0
nop
mov rax, r15
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret