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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 0x7f], 1
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rbp + 0x7f], 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp - 0x71]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x75]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x35]
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 0x14015a53c
lea rdx, str.QSettings:_RegQueryInfoKey___failed
mov ecx, eax
call fcn.14010c580
jmp 0x14015a7a7
mov ecx, dword [rbp - 0x75]
inc ecx
mov dword [rbp - 0x75], ecx
mov eax, dword [rbp - 0x71]
inc eax
mov dword [rbp - 0x71], eax
cmp r15d, 1
jne 0x14015a558
mov r13d, dword [rbp - 0x39]
jmp 0x14015a55e
mov r13d, dword [rbp - 0x35]
mov eax, ecx
mov dword [rbp - 0x6d], r13d
inc eax
movsxd rdx, eax
add rdx, rdx
xor r8d, r8d
lea rcx, [rbp - 0x51]
call fcn.14003d320
nop
mov edi, r12d
mov ebx, 0xffffffff
test r13d, r13d
jle 0x14015a78b
mov r13, qword [rbp + 0x67]
nop dword [rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
mov rdx, qword [rbp - 0x41]
mov eax, edx
shr eax, 1
mov dword [rbp - 0x79], eax
mov rax, qword [rbp - 0x51]
cmp r15d, 1
jne 0x14015a5f9
test rax, rax
je 0x14015a5c1
mov eax, dword [rax]
cmp eax, r15d
jle 0x14015a5d0
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f770
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x79]
mov r8, qword [rbp - 0x49]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x14015a63f
test rax, rax
je 0x14015a609
mov eax, dword [rax]
cmp eax, 1
jle 0x14015a618
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f770
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x79]
mov r8, qword [rbp - 0x49]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14015a7be
mov r8d, dword [rbp - 0x79]
lea rdx, [0x14024eca0]
mov rax, qword [rbp - 0x49]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 9]
call fcn.14008e230
nop
mov r14, qword [rax]
mov r15, qword [rax + 8]
mov r12, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov eax, dword [rbp + 0x7f]
or eax, 0xa
mov dword [rbp + 0x7f], eax
test al, 4
je 0x14015a6ab
and dword [rbp + 0x7f], 0xfffffffb
test r13, r13
je 0x14015a6ab
mov eax, ebx
lock xadd dword [r13], eax
cmp eax, 1
jne 0x14015a6ab
mov rcx, r13
call fcn.14021b810
nop
mov eax, dword [rbp + 0x7f]
test al, 2
je 0x14015a6d3
and dword [rbp + 0x7f], 0xfffffffd
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14015a6d3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a6d3
mov rcx, qword [rbp - 9]
call fcn.14021b810
mov rcx, qword [rbp - 0x69]
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r12
test rcx, rcx
je 0x14015a6f8
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a6f8
call fcn.14021b810
cmp qword [rbp - 0x59], 0
jne 0x14015a728
mov qword [rbp - 0x29], 1
lea rax, [0x1402964c8]
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.140087460
lea r8, [rbp - 0x69]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.14003bde0
mov rax, qword [rsi]
test rax, rax
je 0x14015a747
mov eax, dword [rax]
cmp eax, 1
jle 0x14015a758
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14003a8f0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015a775
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a775
mov rcx, qword [rbp - 0x69]
call fcn.14021b810
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x77]
xor r12d, r12d
inc edi
cmp edi, dword [rbp - 0x6d]
jl 0x14015a590
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14015a7a7
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14015a7a7
mov rcx, qword [rbp - 0x51]
call fcn.14021b810
nop
mov rax, rsi
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.QSettings:_RegEnumValue_failed
mov ecx, eax
call fcn.14010c580
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015a780
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a780
mov rcx, qword [rbp - 0x69]
call fcn.14021b810
jmp 0x14015a780