Function at 0x14015f1e0
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 0x14015f28c
lea rdx, str.QSettings:_RegQueryInfoKey___failed
mov ecx, eax
call fcn.14010dfc0
jmp 0x14015f4f9
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 0x14015f2a8
mov r13d, dword [rbp - 0x39]
jmp 0x14015f2ae
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.14003d440
nop
mov edi, r12d
mov ebx, 0xffffffff
test r13d, r13d
jle 0x14015f4dd
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 0x14015f349
test rax, rax
je 0x14015f311
mov eax, dword [rax]
cmp eax, r15d
jle 0x14015f320
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f690
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 0x14015f38f
test rax, rax
je 0x14015f359
mov eax, dword [rax]
cmp eax, 1
jle 0x14015f368
mov rdx, qword [rbp - 0x41]
mov r8d, 1
lea rcx, [rbp - 0x51]
call fcn.14003f690
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 0x14015f510
mov r8d, dword [rbp - 0x79]
lea rdx, [0x14025ad40]
mov rax, qword [rbp - 0x49]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 9]
call fcn.14008d720
nop
mov r14, qword [rax]
mov qword [rax], r12
mov r15, qword [rax + 8]
mov qword [rax + 8], r12
mov r12, qword [rax + 0x10]
mov qword [rax + 0x10], 0
mov eax, dword [rbp + 0x7f]
or eax, 0xa
mov dword [rbp + 0x7f], eax
test al, 4
je 0x14015f3fd
and dword [rbp + 0x7f], 0xfffffffb
test r13, r13
je 0x14015f3fd
mov eax, ebx
lock xadd dword [r13], eax
cmp eax, 1
jne 0x14015f3fd
mov rcx, r13
call fcn.1402275a0
nop
mov eax, dword [rbp + 0x7f]
test al, 2
je 0x14015f425
and dword [rbp + 0x7f], 0xfffffffd
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14015f425
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015f425
mov rcx, qword [rbp - 9]
call fcn.1402275a0
mov rcx, qword [rbp - 0x69]
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r12
test rcx, rcx
je 0x14015f44a
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015f44a
call fcn.1402275a0
cmp qword [rbp - 0x59], 0
jne 0x14015f47a
mov qword [rbp - 0x29], 1
lea rax, [0x1402a2490]
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.140086c70
lea r8, [rbp - 0x69]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.14003bf30
mov rax, qword [rsi]
test rax, rax
je 0x14015f499
mov eax, dword [rax]
cmp eax, 1
jle 0x14015f4aa
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14003aa60
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015f4c7
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015f4c7
mov rcx, qword [rbp - 0x69]
call fcn.1402275a0
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x77]
xor r12d, r12d
inc edi
cmp edi, dword [rbp - 0x6d]
jl 0x14015f2e0
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14015f4f9
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14015f4f9
mov rcx, qword [rbp - 0x51]
call fcn.1402275a0
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.14010dfc0
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14015f4d2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015f4d2
mov rcx, qword [rbp - 0x69]
call fcn.1402275a0
jmp 0x14015f4d2