Function at 0x140015784
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x80], rbx
mov rax, qword [0x14007d370]
xor rax, rbp
mov qword [rbp + 0x28], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov r12, rcx
and dword [rbp], 0
xor r15d, r15d
mov dword [rbp + 4], r15d
mov rdi, qword [rbp + 0x90]
test rdi, rdi
je 0x1400157e6
mov r15d, dword [rdi]
mov dword [rbp + 4], r15d
mov eax, dword [rcx + 8]
test eax, eax
jne 0x140015a26
mov eax, dword [rbp + 0x98]
and eax, 1
test al, al
jne 0x140015834
cmp dword [rbp + 0xa0], 0
je 0x140015816
mov qword [rsp + 0x20], rdi
call fcn.140016884
jmp 0x140015a26
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r9
mov r9, rbx
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x140015a26
test rdi, rdi
jne 0x140015846
test rbx, rbx
jne 0x140015846
lea eax, [rdi + 0x57]
jmp 0x140015a26
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
xor r8d, r8d
call fcn.14001663c
test rbx, rbx
je 0x140015865
mov ecx, dword [rbp + 8]
mov dword [rbx], ecx
test eax, eax
jne 0x140015a26
test rdi, rdi
je 0x140015a26
and qword [rbp + 0x10], 0
mov r13d, dword [rbp]
mov edx, r13d
lea rcx, [r13 + 0x10]
cmp r13, rcx
sbb rax, rax
test rcx, rax
je 0x14001591e
lea rcx, [r13 + 0x10]
cmp rdx, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r13 + 0x10]
ja 0x1400158f4
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400158ca
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400214f0
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x18], rbx
test rbx, rbx
je 0x140015920
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x18], rbx
jmp 0x140015920
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
call fcn.14002f2c8
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140015920
mov dword [rax], 0xdddd
add rbx, 0x10
mov qword [rbp + 0x20], rbx
jmp 0x140015920
xor ebx, ebx
mov qword [rbp + 0x10], rbx
jmp 0x14001594d
test rbx, rbx
jne 0x14001595a
lea eax, [rbx + 0xe]
jmp 0x140015a26
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call fcn.140022cd0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.14001663c
mov esi, eax
test eax, eax
jne 0x140015a13
cmp dword [rbp + 0xa0], eax
je 0x1400159e9
mov eax, dword [rbp + 8]
cmp eax, 1
je 0x1400159a1
cmp eax, 7
jne 0x1400159e9
mov dword [rdi], r15d
cmp eax, 1
jne 0x1400159cb
shr r15d, 1
mov dword [rbp + 4], r15d
lea r9, [rbp + 4]
mov r8, r14
mov rdx, rbx
lea ecx, [rax + 2]
call fcn.140014e64
mov esi, eax
mov eax, dword [rbp + 4]
add eax, eax
jmp 0x140015a11
cmp eax, 7
jne 0x1400159e5
mov r9, rdi
mov r8, r14
mov rdx, rbx
mov rcx, r12
call fcn.14001651c
mov esi, eax
jmp 0x140015a13
xor esi, esi
jmp 0x140015a13
test r14, r14
je 0x140015a0e
mov eax, dword [rdi]
cmp dword [rbp], eax
jbe 0x1400159fc
mov esi, 0xea
jmp 0x140015a0e
mov r9d, dword [rbp]
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.140016c70
mov eax, dword [rbp]
mov dword [rdi], eax
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140015a24
call fcn.14002ed10
mov eax, esi
mov rcx, qword [rbp + 0x28]
xor rcx, rbp
call fcn.140021430
mov rbx, qword [rbp + 0x80]
lea rsp, [rbp + 0x30]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret