Function at 0x14015c4c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rbp - 0x78], rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.14015bd70
nop
lea edx, [r13 + 0x5c]
mov rdi, 0xffffffffffffffff
lea r9d, [r13 + 1]
mov r8, rdi
mov rcx, rbx
call fcn.14008f030
nop
mov r12d, r13d
or r12d, 2
cmp eax, edi
jne 0x14015c549
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
jmp 0x14015c55b
inc eax
movsxd r8, eax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008f0c0
mov dword [rsp + 0x30], r12d
mov ebx, dword [rsi + 0x104]
mov qword [rbp - 0x78], r13
or ebx, 0x20019
lea rcx, [rsp + 0x50]
call fcn.140094f20
mov rdx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015cba8
mov r14, qword [rbp - 0x78]
test r14, r14
je 0x14015cba8
mov qword [rbp + 0x10], r14
mov byte [rbp + 0x18], 1
lea rcx, [rsp + 0x68]
call fcn.140094f20
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14015c628
mov byte [r15 + 0x20], 0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14015c611
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c611
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14015cbea
lock xadd dword [rax], edi
jmp 0x14015cbdb
mov ecx, dword [rbp - 0x80]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x34]
jbe 0x14015c641
cmp ecx, 7
jne 0x14015c648
add eax, 4
jmp 0x14015c644
add eax, 2
mov dword [rsp + 0x34], eax
mov edx, eax
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14003d2f0
nop
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14015c669
mov eax, dword [rax]
cmp eax, 1
jle 0x14015c67e
mov r8d, 1
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14003f740
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140094f20
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14015c6e3
mov byte [r15 + 0x20], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14015c5e7
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c5e7
mov rcx, qword [rsp + 0x38]
call fcn.14021b7f0
jmp 0x14015c5e7
mov r8d, dword [rbp - 0x80]
cmp r8d, 0xb
ja case.0x14015c703.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x15cc10]
add rcx, rdx
jmp rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r13
cmp dword [rsp + 0x34], 0
je 0x14015c7d2
lea rdx, [0x14024ecc0]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
mov r8, rdi
lea rcx, [rbp + 0x20]
call fcn.14008e200
nop
mov rbx, qword [rax]
mov rsi, qword [rax + 8]
mov r13, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
or r12d, 0xa0
mov dword [rsp + 0x30], r12d
test r12b, 0x40
je 0x14015c789
and r12d, 0xffffffbf
mov dword [rsp + 0x30], r12d
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14015c789
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c789
call fcn.14021b7f0
nop
test byte [rsp + 0x30], 0x20
je 0x14015c7ad
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14015c7ad
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c7ad
mov rcx, qword [rbp + 0x20]
call fcn.14021b7f0
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r13
test rcx, rcx
je 0x14015c7d2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c7d2
call fcn.14021b7f0
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xc8]
call fcn.1400ca630
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rax + 0x10], xmm0
mov byte [r15 + 0x20], 1
lea rcx, [rbp + 0xc8]
call fcn.1400b1330
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14015c6b7
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c6b7
mov rcx, qword [rbp - 0x58]
call fcn.14021b7f0
jmp 0x14015c6b7
mov qword [rbp - 0x28], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
cmp dword [rsp + 0x34], 0
je 0x14015c9a8
mov r12d, r13d
lea rsi, [0x14024ecc0]
mov rbx, qword [rbp - 0x78]
nop word [rax + rax]
mov rcx, rsi
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rcx, rax
movsxd rax, r12d
lea rdx, [rcx + rax*2]
mov r8, rdi
lea rcx, [rbp + 0x38]
call fcn.14008e200
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov eax, dword [rsp + 0x30]
or eax, 0x14
mov dword [rsp + 0x30], eax
test al, 8
je 0x14015c8f4
and dword [rsp + 0x30], 0xfffffff7
test rbx, rbx
je 0x14015c8f4
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x14015c8f4
mov rcx, rbx
call fcn.14021b7f0
nop
mov eax, dword [rsp + 0x30]
test al, 4
je 0x14015c91f
and dword [rsp + 0x30], 0xfffffffb
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14015c91f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c91f
mov rcx, qword [rbp + 0x38]
call fcn.14021b7f0
nop
mov rax, qword [rbp - 0x30]
inc r12d
add r12d, eax
test rax, rax
je 0x14015c98b
lea r8, [rbp - 0x40]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.14003bdb0
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x14015c94f
mov eax, dword [rax]
cmp eax, 1
jle 0x14015c961
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.14003a8c0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14015c880
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c880
mov rcx, qword [rbp - 0x40]
call fcn.14021b7f0
jmp 0x14015c880
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14015c9a8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c9a8
mov rcx, qword [rbp - 0x40]
call fcn.14021b7f0
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0xe8]
call fcn.1400ca2a0
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp + 0x98]
movups xmmword [rax + 0x10], xmm0
mov byte [r15 + 0x20], 1
lea rcx, [rbp + 0xe8]
call fcn.1400b1330
nop
lea rcx, [rbp - 0x28]
call fcn.1400267f0
jmp 0x14015c6b7
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
cmp dword [rsp + 0x34], 0
je 0x14015caa1
mov rax, qword [rsp + 0x48]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
lea rdx, [0x14024ecc0]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14000c330
mov rdx, rax
mov rcx, qword [rbp - 0x70]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x68]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x68], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x60]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x60], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14015caa1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015caa1
mov rcx, qword [rbp + 0x50]
call fcn.14021b7f0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x108]
call fcn.1400ca630
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0xc0], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp + 0xb8]
movups xmmword [rax + 0x10], xmm0
mov byte [r15 + 0x20], 1
lea rcx, [rbp + 0x108]
call fcn.1400b1330
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14015c6b7
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015c6b7
mov rcx, qword [rbp - 0x70]
call fcn.14021b7f0
jmp 0x14015c6b7
lea rsi, [0x14024ecc0]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rsi, rax
mov edx, dword [rsi]
mov rcx, r15
call fcn.1400b0cd0
mov byte [r15 + 0x20], 1
jmp 0x14015c6b7
lea rsi, [0x14024ecc0]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rsi, rax
mov rdx, qword [rsi]
mov rcx, r15
call fcn.1400b1070
mov byte [r15 + 0x20], 1
jmp 0x14015c6b7
mov qword [rbp - 0x10], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
lea rax, str.default
mov qword [rbp + 8], rax
lea rdx, str.QSettings:_Unknown_data__d_type_in_Windows_registry
lea rcx, [rbp - 0x10]
call fcn.14010f290
jmp 0x14015c6b2
mov byte [r15 + 0x20], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14015cbcd
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015cbcd
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14015cbea
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14015cbea
mov rcx, qword [rsp + 0x68]
call fcn.14021b7f0
mov rax, r15
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140214310
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret