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

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x108
xor r13d, r13d
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x58], r13
lea rbx, [0x1401a7c28]
mov qword [rsp + 0x50], r13
mov rax, rdx
mov qword [rsp + 0x48], r13
mov edi, r8d
mov qword [rsp + 0x40], rcx
xor r9d, r9d
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x38], rcx
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rcx
xor edx, edx
lea rcx, [rbp - 0x6c]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140159f5f
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140145228
mov rcx, rax
lea rdx, [rbp + 0x58]
call fcn.140005fec
mov rdi, qword [rax]
cmp dword [rdi + 4], r13d
je 0x140159e8d
cmp qword [rdi + 0x10], r13
jl 0x140159e8d
cmp qword [rdi + 0x10], 0x18
jae 0x140159e8d
lea r8d, [r13 + 0x3c]
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140122564
mov r8, qword [rdi + 0x10]
lea rax, str.C:qt64qt_1544645195969workqtbase_srccorelibioqsettings_win.cpp
mov qword [rbp - 0x58], rax
lea rdx, str.QSettings:_RegQueryInfoKey___failed:__s
lea rax, str.class_QStringList___cdecl_childKeysOrGroups_struct_HKEY____enum_QSettingsPrivate::ChildSpec_
mov dword [rbp - 0x5c], 0xd4
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x60]
lea rax, str.default
mov r15d, 2
add r8, rdi
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x60], r15d
call fcn.140162d0c
mov rcx, qword [rbp + 0x58]
lea r14d, [r15 + 6]
mov eax, dword [rcx]
test eax, eax
je 0x140159ef4
cmp eax, 0xffffffff
je 0x140159f01
sub eax, 1
mov dword [rcx], eax
jne 0x140159f01
mov rcx, qword [rbp + 0x58]
mov r8, r14
mov edx, 1
call fcn.14010b388
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x140159f1d
cmp eax, 0xffffffff
je 0x140159f28
sub eax, 1
mov dword [rcx], eax
jne 0x140159f28
mov rcx, qword [rsp + 0x60]
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov rax, qword [rsp + 0x70]
mov rdi, qword [rbp + 0x40]
mov qword [rdi], rax
mov eax, dword [0x1401a7c28]
test eax, eax
je 0x14015a270
cmp eax, 0xffffffff
je 0x14015a27d
sub eax, 1
mov dword [0x1401a7c28], eax
jne 0x14015a27d
jmp 0x14015a270
mov ecx, dword [rsp + 0x78]
mov edx, dword [rsp + 0x7c]
inc ecx
inc edx
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], edx
cmp edi, 1
jne 0x140159f7d
mov edi, dword [rbp - 0x70]
jmp 0x140159f82
mov edi, dword [rbp - 0x6c]
mov edx, ecx
lea edx, [rdx*2 + 2]
mov dword [rbp + 0x58], edi
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.14010b6e4
mov dword [rbp - 0x80], r13d
mov r14d, 8
test edi, edi
jle 0x14015a21c
mov rax, qword [rbp - 0x20]
lea r15d, [r14 - 6]
mov qword [rbp - 0x28], rax
lea rcx, [0x1401a5d88]
mov ebx, r13d
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x60], rcx
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rsp + 0x68], ecx
lea rcx, [rbp - 0x78]
call fcn.14010166c
xor ecx, ecx
lea r9, [rsp + 0x68]
cmp dword [rbp + 0x50], 1
mov r8, rax
mov qword [rsp + 0x38], rcx
mov edx, r13d
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x48]
jne 0x14015a010
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x14015a016
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r13d, eax
test eax, eax
jne 0x14015a0f9
mov rdi, qword [rbp - 0x78]
cmp dword [rdi + 4], eax
je 0x14015a04f
cmp qword [rdi + 0x10], 0
jl 0x14015a04f
cmp qword [rdi + 0x10], 0x18
jae 0x14015a04f
lea r8d, [rax + 0x3c]
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140122564
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
mov r8d, dword [rsp + 0x68]
add rdx, rdi
or ebx, 1
call fcn.14013c1dc
lea rcx, [0x1401a5d88]
mov rdi, qword [rax]
mov qword [rax], rcx
test r15b, bl
je 0x14015a09e
mov rax, qword [rbp - 0x28]
and ebx, 0xfffffffd
cmp dword [rax], 0
je 0x14015a08f
cmp dword [rax], 0xffffffff
je 0x14015a09e
sub dword [rax], 1
jne 0x14015a09e
mov rcx, qword [rbp - 0x20]
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov rcx, qword [rbp - 0x40]
and ebx, 0xfffffffe
mov eax, dword [rcx]
test eax, eax
je 0x14015a0bb
cmp eax, 0xffffffff
je 0x14015a0c6
sub eax, 1
mov dword [rcx], eax
jne 0x14015a0c6
mov rcx, qword [rbp - 0x40]
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rdi
mov eax, dword [rcx]
test eax, eax
je 0x14015a0e2
cmp eax, 0xffffffff
je 0x14015a0ed
sub eax, 1
mov dword [rcx], eax
jne 0x14015a0ed
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov edi, dword [rbp + 0x58]
test r13d, r13d
je 0x14015a291
mov edx, r13d
lea rcx, [rbp - 0x30]
call fcn.140145228
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.140005fec
mov rdi, qword [rax]
cmp dword [rdi + 4], 0
je 0x14015a141
cmp qword [rdi + 0x10], 0
jl 0x14015a141
cmp qword [rdi + 0x10], 0x18
jae 0x14015a141
mov r8d, 0x3c
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140122564
mov r8, qword [rdi + 0x10]
lea rax, str.C:qt64qt_1544645195969workqtbase_srccorelibioqsettings_win.cpp
mov qword [rbp - 0x58], rax
lea rdx, str.QSettings:_RegEnumValue_failed:__s
lea rax, str.class_QStringList___cdecl_childKeysOrGroups_struct_HKEY____enum_QSettingsPrivate::ChildSpec_
mov dword [rbp - 0x60], r15d
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x60]
lea rax, str.default
mov dword [rbp - 0x5c], 0xf6
add r8, rdi
mov qword [rbp - 0x48], rax
call fcn.140162d0c
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14015a19e
cmp eax, 0xffffffff
je 0x14015a1ab
sub eax, 1
mov dword [rcx], eax
jne 0x14015a1ab
mov rcx, qword [rbp - 0x38]
mov r8, r14
mov edx, 1
call fcn.14010b388
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14015a1c5
cmp eax, 0xffffffff
je 0x14015a1d0
sub eax, 1
mov dword [rcx], eax
jne 0x14015a1d0
mov rcx, qword [rbp - 0x30]
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14015a1ec
cmp eax, 0xffffffff
je 0x14015a1f7
sub eax, 1
mov dword [rcx], eax
jne 0x14015a1f7
mov rcx, qword [rsp + 0x60]
mov r8, r14
mov rdx, r15
call fcn.14010b388
mov edi, dword [rbp + 0x58]
mov r13d, dword [rbp - 0x80]
lea rcx, [0x1401a5d88]
inc r13d
mov dword [rbp - 0x80], r13d
cmp r13d, edi
jl 0x140159fc0
lea rbx, [0x1401a7c28]
mov rax, qword [rsp + 0x70]
mov rdi, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x70], rbx
mov qword [rdi], rax
mov eax, dword [rcx]
test eax, eax
je 0x14015a247
cmp eax, 0xffffffff
je 0x14015a259
sub eax, 1
mov dword [rcx], eax
jne 0x14015a254
mov rcx, qword [rbp - 0x78]
mov r8, r14
mov edx, 1
call fcn.14010b388
mov rbx, qword [rsp + 0x70]
mov eax, dword [rbx]
test eax, eax
je 0x14015a270
cmp eax, 0xffffffff
je 0x14015a27d
sub eax, 1
mov dword [rbx], eax
jne 0x14015a27d
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004680
mov rax, rdi
add rsp, 0x108
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x14015a2c9
lea r13, [0x140193fec]
mov rcx, r13
call fcn.14016a910
mov dword [rbp - 0x10], eax
lea rdx, [rbp - 0x60]
mov qword [rbp - 8], r13
lea rcx, [rsp + 0x60]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm0
call fcn.140139824
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140004310
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14015a2fc
cmp eax, 0xffffffff
je 0x14015a1fa
sub eax, 1
mov dword [rcx], eax
jne 0x14015a1fa
mov rcx, qword [rsp + 0x60]
mov r8, r14
mov rdx, r15
call fcn.14010b388
jmp 0x14015a1fa