Function at 0x1400175a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x1400354c8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x60]
mov rbx, r9
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, 2
lea rdx, [rsp + 0x60]
mov rax, rbx
lea r8d, [rcx + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400175f8
movups xmm0, xmmword [rdx]
and qword [rsp + 0x48], rcx
lea r12, fcn.1400084e0
movups xmm1, xmmword [rdx + 0x10]
mov r9d, 0x20019
xor r8d, r8d
movups xmmword [rax], xmm0
mov rcx, r14
mov qword [rsp + 0x40], r12
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
lea rdx, str.VirtualDisplay
movups xmmword [rax + 0x50], xmm1
movups xmmword [rax + 0x60], xmm0
lea rax, [rsp + 0x48]
movups xmm1, xmmword [0x14002ba28]
mov qword [rsp + 0x20], rax
movdqu xmmword [rdi], xmm1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001789e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, [0x14002bea0]
lea rax, [rbp + 0xd0]
mov byte [rsi + 0x669], 1
mov qword [rsp + 0x28], rax
mov r9d, 8
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x50], 0x10
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140017724
cmp dword [rsp + 0x50], 0x10
jne 0x140017724
movaps xmm0, xmmword [rbp + 0xd0]
jmp 0x14001772b
movups xmm0, xmmword [0x14002ba28]
mov rcx, qword [rsp + 0x48]
mov r8, rbx
movdqu xmmword [rdi], xmm0
call fcn.140016e00
mov rcx, qword [rsp + 0x48]
lea rdx, str.Active
call fcn.140016f30
test eax, eax
je 0x140017758
or dword [rbx + 0xc8], 1
mov rcx, qword [rsp + 0x48]
lea rdx, str.Transparent
call fcn.140016f30
test eax, eax
je 0x140017774
or dword [rbx + 0xc8], 2
mov rcx, qword [rsp + 0x48]
lea rdx, str.Stereo
call fcn.140016f30
test eax, eax
je 0x140017790
or dword [rbx + 0xc8], 4
mov rcx, qword [rsp + 0x48]
lea rdx, [0x14002bef0]
call fcn.140016f30
test eax, eax
je 0x1400177ac
or dword [rbx + 0xc8], 8
mov rcx, qword [rsp + 0x48]
lea rdx, str.Width
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea rdx, str.Height
mov dword [rbx + 0xcc], eax
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea rdx, str.Frames
mov dword [rbx + 0xd0], eax
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea rdx, str.Seconds
mov dword [rbx + 0xd4], eax
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea rdx, str.AdapterHi
mov dword [rbx + 0xd8], eax
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea rdx, str.AdapterLo
mov dword [rsp + 0x54], eax
call fcn.140016f30
mov rcx, qword [rsp + 0x48]
lea r8, [rbx + 0xe8]
mov dword [rsp + 0x50], eax
lea rdx, [0x14002bf78]
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0xe0], rax
call fcn.140016f8c
mov rcx, qword [rsp + 0x48]
lea r8, [rbx + 0x12c]
lea rdx, [0x14002bf98]
call fcn.140016f8c
mov rcx, qword [rsp + 0x48]
lea r8, [rbx + 0x118]
lea rdx, str.LeftPinhole
call fcn.140016ff0
mov rcx, qword [rsp + 0x48]
lea r8, [rbx + 0x15c]
lea rdx, str.RightPinhole
call fcn.140016ff0
cmp qword [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
je 0x1400178b9
lea rcx, [rsp + 0x40]
call fcn.1400084e0
test al, al
je 0x1400178d9
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14001b420
add rsp, 0x1f8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140006624
int3