Function at 0x140013010
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
sub rsp, 0x338
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call fcn.14002e170
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x100
call fcn.14002e170
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x100
call fcn.14002e170
mov r8, qword [rsi + 0x12b0]
xor ebx, ebx
cmp dword [r8], ebx
jle 0x1400132a9
mov qword [rsp + 0x330], rdi
mov edi, ebx
lea rax, [rsp + 0x30]
mov edx, 2
lea rcx, str.SYSTEMCurrentControlSetEnum_
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140013090
mov r8, qword [r8 + 8]
mov edx, 0x100
movsxd rax, ebx
imul rcx, rax, 0x620
add rcx, 0x520
add r8, rcx
lea rcx, [rsp + 0x30]
call fcn.140051bf0
lea r8, str.Device_Parameters
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.140051bf0
lea rax, [rsp + 0x130]
mov edx, 2
lea rcx, str.VideoID
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140013140
lea rax, [rsp + 0x360]
mov dword [rsp + 0x350], 0x100
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140013213
mov rcx, qword [rsp + 0x360]
lea rax, [rsp + 0x350]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x358]
lea rax, [rsp + 0x230]
xor r8d, r8d
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x360]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsi + 0x12b0]
mov ecx, 2
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x230]
add rdx, 0x320
add rdx, rdi
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140013235
mov r8, qword [rsi + 0x12b0]
inc ebx
add rdi, 0x620
cmp ebx, dword [r8]
jl 0x140013075
mov rdi, qword [rsp + 0x330]
add rsp, 0x338
pop rsi
pop rbx
ret