Function at 0x140007c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r15, r8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREAMDDVREncoder
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007eea
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140007edf
mov r14d, r12d
cmp dword [rsp + 0x78], r12d
jbe 0x140007edf
nop dword [rax]
mov dword [rsp + 0x7c], 0x104
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x3e]
call fcn.140152140
mov word [rbp - 0x40], r12w
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x7c]
lea r8, [rbp - 0x40]
mov edx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140007ed1
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1d2]
call fcn.140152140
mov word [rbp + 0x1d0], r12w
mov byte [rsp + 0x20], 0
mov r9d, 0x208
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x40]
lea rcx, str.SOFTWAREAMDDVREncoder
call fcn.140006ff0
test al, al
je 0x140007ed1
lea rcx, [rbp + 0x1d0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140007da5
test rax, rax
je 0x140007ed1
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140007de0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140005060
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140007e20
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x60]
call fcn.140005060
nop
lea rdi, [rbp - 0x80]
mov r8, qword [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdi, r8
lea rcx, [rbp - 0x80]
cmovae rcx, r8
mov rax, qword [rbp - 0x70]
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x80]
cmovae rbx, r8
cmp rbx, rsi
je 0x140007e85
sub rdi, rbx
nop dword [rax]
movzx ecx, word [rbx]
call fcn.140156bbc
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x140007e70
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140008070
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp - 0x60]
cmp rcx, rax
je 0x140007ebe
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
call fcn.140005060
nop
lea rcx, [rbp - 0x60]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x80]
call fcn.140004ff0
inc r14d
cmp r14d, dword [rsp + 0x78]
jb 0x140007d00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret