Function at 0x14015a460
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 0x14015a50c
lea rdx, str.QSettings:_RegQueryInfoKey___failed
mov ecx, eax
call fcn.14010c550
jmp 0x14015a777
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 0x14015a528
mov r13d, dword [rbp - 0x39]
jmp 0x14015a52e
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.14003d2f0
nop
mov edi, r12d
mov ebx, 0xffffffff
test r13d, r13d
jle 0x14015a75b
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 0x14015a5c9
test rax, rax
je 0x14015a591
mov eax, dword [rax]
cmp eax, r15d
jle 0x14015a5a0
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f740
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 0x14015a60f
test rax, rax
je 0x14015a5d9
mov eax, dword [rax]
cmp eax, 1
jle 0x14015a5e8
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f740
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 0x14015a78e
mov r8d, dword [rbp - 0x79]
lea rdx, [0x14024ecc0]
mov rax, qword [rbp - 0x49]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 9]
call fcn.14008e200
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 0x14015a67b
and dword [rbp + 0x7f], 0xfffffffb
test r13, r13
je 0x14015a67b
mov eax, ebx
lock xadd dword [r13], eax
cmp eax, 1
jne 0x14015a67b
mov rcx, r13
call fcn.14021b7f0
nop
mov eax, dword [rbp + 0x7f]
test al, 2
je 0x14015a6a3
and dword [rbp + 0x7f], 0xfffffffd
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14015a6a3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a6a3
mov rcx, qword [rbp - 9]
call fcn.14021b7f0
mov rcx, qword [rbp - 0x69]
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r12
test rcx, rcx
je 0x14015a6c8
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a6c8
call fcn.14021b7f0
cmp qword [rbp - 0x59], 0
jne 0x14015a6f8
mov qword [rbp - 0x29], 1
lea rax, [0x1402964e8]
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.140087430
lea r8, [rbp - 0x69]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.14003bdb0
mov rax, qword [rsi]
test rax, rax
je 0x14015a717
mov eax, dword [rax]
cmp eax, 1
jle 0x14015a728
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14003a8c0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015a745
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a745
mov rcx, qword [rbp - 0x69]
call fcn.14021b7f0
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x77]
xor r12d, r12d
inc edi
cmp edi, dword [rbp - 0x6d]
jl 0x14015a560
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14015a777
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14015a777
mov rcx, qword [rbp - 0x51]
call fcn.14021b7f0
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.14010c550
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015a750
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015a750
mov rcx, qword [rbp - 0x69]
call fcn.14021b7f0
jmp 0x14015a750