Function at 0x14015df20
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rbx, rdx
mov rdi, rcx
add r9, r8
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], r9
mov word [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x70]
lea r14, [rsp + 0x38]
mov rdx, r14
call fcn.14012abc0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov rsi, qword [rsp + 0x78]
lea r13, [rsp + 0x30]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x14015dff4
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14015dfe0
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400244a0
nop
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 0xa
ja case.0x14015e011.5
lea rcx, [0x1402fb460]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r15d, dword [rsp + 0x30]
mov r12d, r15d
shr r12d, 1
cmp r15, 2
jae 0x14015e0c3
xor r15d, r15d
mov r14d, 2
jmp 0x14015e0ea
mov r14d, dword [rsp + 0x30]
test r14, r14
je 0x14015e265
movzx eax, byte [0x1403af381]
mov edx, 1
mov rcx, r14
call fcn.1400244c0
test rax, rax
je 0x14015e37d
mov r15, rax
jmp 0x14015e26b
cmp dword [rsp + 0x30], 8
jne case.0x14015e011.5
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x14015dfb4
mov rax, qword [rsp + 0x38]
mov dword [rdi], 1
mov qword [rdi + 8], rax
jmp 0x14015dfc5
and r15d, 0xfffffffe
movzx eax, byte [0x1403af381]
mov edx, 2
mov rcx, r15
call fcn.1400244c0
test rax, rax
je 0x14015e370
mov r14, rax
mov r15, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x14015e246
mov rcx, r14
mov rdx, r12
call fcn.140199f10
lea rcx, [rax + rdx*2]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
mov word [rsp + 0x48], 0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.1401417c0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x4c], rax
mov dword [rdi], 2
jmp 0x14015e31c
cmp dword [rsp + 0x30], 4
jne case.0x14015e011.5
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x14015dfb4
mov eax, dword [rsp + 0x38]
mov dword [rdi], 0
mov dword [rdi + 4], eax
jmp 0x14015dfc5
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], 0x8007000d
jmp 0x14015dfbf
mov r15d, dword [rsp + 0x30]
mov r12d, r15d
shr r12d, 1
cmp r15, 2
jae 0x14015e1ed
xor r15d, r15d
mov r14d, 2
jmp 0x14015e214
and r15d, 0xfffffffe
movzx eax, byte [0x1403af381]
mov edx, 2
mov rcx, r15
call fcn.1400244c0
test rax, rax
je 0x14015e370
mov r14, rax
mov r15, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x14015e2cd
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
test r15, r15
jne 0x14015e340
jmp 0x14015dfc5
mov r15d, 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x14015e359
mov qword [rdi + 8], 0
mov dword [rdi + 0x10], ecx
mov dword [rdi], 6
test r14d, r14d
je 0x14015dfc5
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.1400244a0
jmp 0x14015dfc5
mov rcx, r14
mov rdx, r12
call fcn.140199f10
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x88]
call fcn.14012a940
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x4c], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x3c], xmm0
mov dword [rdi], 4
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x44]
mov rcx, qword [rsp + 0x4c]
movups xmmword [rdi + 4], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rcx
test r15, r15
je 0x14015dfc5
add r15d, r15d
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.1400244a0
jmp 0x14015dfc5
mov dword [rdi], 3
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r14
jmp 0x14015dfc5
mov ecx, 2
mov rdx, r15
call fcn.14025cfe5
mov ecx, 1
mov rdx, r14
call fcn.14025cfe5
int3