Function at 0x180006ee0
Capabilities:
Query or enumerate registry value

Disassembly:
test cl, 2
je 0x180007663
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1c8]
sub rsp, 0x2c0
mov rax, qword [0x18007f080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r14
mov r14d, 4
mov qword [r11 - 0x18], r15
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
lea ecx, [r14 + 0xc]
movaps xmmword [r11 - 0x48], xmm8
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], r14d
call fcn.18000a440
mov rcx, qword [0x180085320]
lea r8, str.BlurDeviation
mov edi, eax
xor esi, esi
lea rax, [rsp + 0x44]
mov r9d, edi
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x180006f8b
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x180006f9b
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x44]
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x437a0000
xorps xmm6, xmm6
mov dword [rsp + 0x44], esi
mov r9d, edi
lea r8, str.GlassOpacity
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x40]
divss xmm0, dword [0x18006ec30]
mulss xmm0, dword [0x18006ec00]
comiss xmm6, xmm0
movss dword [rsp + 0x40], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x48]
comiss xmm0, dword [0x18006ec38]
cmovbe rax, rcx
mov rcx, qword [0x180085320]
xor edx, edx
movss xmm0, dword [rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movss dword [0x18007f0fc], xmm0
mov dword [rsp + 0x40], 0x3f
mov dword [rsp + 0x48], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x180007046
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x180007056
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
movss xmm8, dword [0x18006ec34]
lea r8, str.ColorizationColorBalance
movss xmm7, dword [0x18006ebb4]
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x3f800000
mov r9d, edi
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x44]
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
divss xmm0, xmm8
comiss xmm6, xmm0
movss dword [rsp + 0x44], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x50]
comiss xmm0, xmm7
cmovbe rax, rcx
mov rcx, qword [0x180085320]
xor edx, edx
movss xmm0, dword [rax]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movss dword [0x18007f0f4], xmm0
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x1800070fc
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18000710c
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], 0x3f800000
lea r8, str.ColorizationAfterglowBalance
mov r9d, edi
mov dword [rsp + 0x40], 0x2b
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x48]
divss xmm0, xmm8
comiss xmm6, xmm0
movss dword [rsp + 0x48], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x44]
comiss xmm0, xmm7
cmovbe rax, rcx
mov rcx, qword [0x180085320]
xor edx, edx
movss xmm0, dword [rax]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movss dword [0x180085158], xmm0
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x1800071a5
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800071b5
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], 0x3f800000
lea r8, str.ColorizationBlurBalance
mov r9d, edi
mov dword [rsp + 0x40], 0x31
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x48]
divss xmm0, xmm8
comiss xmm6, xmm0
movss dword [rsp + 0x48], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x44]
comiss xmm0, xmm7
cmovbe rax, rcx
mov rcx, qword [0x180085320]
xor edx, edx
movss xmm0, dword [rax]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movss dword [0x18007f0ec], xmm0
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x18000724e
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18000725e
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x44], 0x3f800000
lea r8, str.GlassLuminosity
mov r9d, edi
mov dword [rsp + 0x40], 0xf
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x48]
divss xmm0, xmm8
comiss xmm6, xmm0
movss dword [rsp + 0x48], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x44]
comiss xmm0, xmm7
cmovbe rax, rcx
mov rcx, qword [0x180085320]
xor edx, edx
movss xmm0, dword [rax]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movss dword [0x18007f0e8], xmm0
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x1800072f7
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x180007307
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x44], 0x3f800000
mov dword [rsp + 0x50], esi
mov r8d, 0x20a
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x48]
divss xmm0, xmm8
comiss xmm6, xmm0
movss dword [rsp + 0x48], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x44]
comiss xmm0, xmm7
cmovbe rax, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
movss xmm0, dword [rax]
movss dword [0x18007f0f8], xmm0
call sub.ucrtbase.dll_memset
mov ecx, 1
mov dword [rsp + 0x50], 0x20a
call fcn.18000a440
mov rcx, qword [0x180085320]
lea r8, str.CustomThemeMaterial
mov r9d, eax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x1800073b7
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800073c7
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1800073d3
cmp qword [reloc.OLEAUT32.dll_VariantInit], 7
lea r9, [0x18007f110]
mov rdx, qword [0x18007f120]
lea r15, [0x1800852f8]
cmova r9, qword [0x18007f110]
cmp rdx, r8
jne 0x180007436
lea rcx, [rsp + 0x60]
test rdx, rdx
je 0x18000745f
lea rax, [rsp + 0x60]
sub r9, rax
nop dword [rax]
movzx eax, word [rcx + r9]
cmp ax, word [rcx]
jne 0x180007436
add rcx, 2
sub rdx, 1
jne 0x180007420
jmp 0x18000745f
lea rdx, [rsp + 0x60]
lea rcx, [0x18007f110]
call fcn.18000aed0
cmp qword [0x1800852f8], rsi
je 0x180007458
mov rcx, r15
call fcn.180008da0
mov qword [0x1800852f8], rsi
mov rcx, qword [0x180085320]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, str.MaterialOpacity
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x28], rax
mov r9d, edi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x1800074ac
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800074bc
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x44], 0x3f800000
mov dword [rsp + 0x50], esi
cvtsi2ss xmm0, rax
lea rax, [rsp + 0x48]
divss xmm0, xmm8
movaps xmm8, xmmword [rsp + 0x280]
comiss xmm6, xmm0
movaps xmm6, xmmword [rsp + 0x2a0]
movss dword [rsp + 0x48], xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x44]
comiss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x290]
cmovbe rax, rcx
cmp qword [0x1800852f8], rsi
movss xmm0, dword [rax]
movss dword [0x18007f0f0], xmm0
jne 0x18000757b
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x2d0], rbx
call fcn.180007670
mov rbx, rax
cmp r15, rax
je 0x180007562
cmp qword [0x1800852f8], rsi
je 0x180007555
mov rcx, r15
call fcn.180008da0
mov rcx, qword [rbx]
mov qword [rbx], rsi
mov qword [0x1800852f8], rcx
mov rbx, qword [rsp + 0x2d0]
cmp qword [rsp + 0x50], rsi
je 0x18000757b
lea rcx, [rsp + 0x50]
call fcn.180008da0
mov rcx, qword [0x180085320]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, str.GlassType
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x28], rax
mov r9d, edi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r15, qword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x2e0]
mov rsi, qword [rsp + 0x2d8]
test eax, eax
jle 0x1800075dc
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800075ec
mov rcx, qword [rbp + 0x1c8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rsp + 0x40]
cmp eax, r14d
movzx ecx, al
cmova ecx, r14d
cmp dword [0x180085858], 0x55f0
mov r14, qword [rsp + 0x2b8]
mov byte [0x18008515c], cl
jae 0x180007620
cmp cl, 3
jne 0x180007620
mov byte [0x18008515c], 4
lea rcx, [0x180085330]
call fcn.180008050
lea rcx, [0x180085370]
call fcn.180008050
lea rcx, [rsp + 0x50]
call fcn.18000b320
mov rcx, qword [rax]
mov qword [0x180085150], rcx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18003efb0
add rsp, 0x2c0
pop rbp
ret