Function at 0x14000c6e0
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp - 8], rax
cmp dword [0x140067928], 1
mov esi, ecx
jne 0x14000c7f4
mov edx, ecx
lea rcx, str.CameraIntelligent
call fcn.140027c20
xor edi, edi
test esi, esi
je 0x14000c7aa
xor edx, edx
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x18]
call fcn.140027750
test eax, eax
je 0x14000c799
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x78], r14
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CameraPromptCount
mov dword [rbp - 0xc], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c77a
mov ebx, dword [rbp - 0x10]
lea r14d, [rdi + 1]
jmp 0x14000c780
mov ebx, dword [rbp - 0x20]
mov r14d, edi
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0x78]
je 0x14000c799
cmp ebx, 3
je 0x14000c7aa
mov edx, 3
lea rcx, str.CameraPromptCount
call fcn.140027c20
cmp qword [0x140069220], rdi
jne 0x14000c7de
mov qword [rsp + 0x28], rdi
lea r8, [0x14000caf0]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14000c7de
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, esi
xor edx, edx
xor ecx, ecx
call fcn.14000ccc0
mov eax, 1
jmp 0x14000cad1
call fcn.14000cef0
test eax, eax
je 0x14000c95f
cmp esi, 4
ja 0x14000c946
lea rax, [rbp - 0x20]
xor edi, edi
mov r9d, 0xf003f
mov qword [rbp - 0x20], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREArcSoftASVidDMFTSettings
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c946
mov rcx, qword [rbp - 0x20]
lea r9d, [rdi + 4]
mov eax, edi
mov dword [rsp + 0x28], 4
cmp esi, 4
lea rdx, str.AutoZoom
sete al
xor r8d, r8d
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea r9d, [rdi + 4]
mov eax, edi
mov dword [rsp + 0x28], 4
cmp esi, 3
lea rdx, str.EyeCorrection
sete al
xor r8d, r8d
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
mov ebx, edi
mov dword [rsp + 0x28], 4
test esi, esi
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
setne bl
lea rdx, str.NightVideo
xor r8d, r8d
mov dword [rbp - 0x10], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
cmp esi, 2
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
sete dil
lea rdx, str.VideoBokeh
xor r8d, r8d
mov dword [rbp - 0x10], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 4
lea rdx, [0x140057530]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x10], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r8d, esi
mov edx, 1
xor ecx, ecx
call fcn.14000ccc0
mov eax, 1
jmp 0x14000cad1
mov eax, dword [0x140067924]
xor edi, edi
cmp eax, 2
jne 0x14000c994
lea rcx, str.937A7BC8_5258_448A_bE9A_C54BCDCA47B9
mov dword [0x140067924], edi
call fcn.14000ce40
test eax, eax
je 0x14000c98e
mov dword [0x140067924], 1
jmp 0x14000c99d
mov eax, dword [0x140067924]
cmp eax, 1
jne 0x14000cacf
cmp esi, 5
ja 0x14000cab9
lea rax, [rbp - 0x20]
mov qword [rbp - 0x20], rdi
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMirametrixDMFTIPC
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000cab9
mov rcx, qword [rbp - 0x20]
lea rdx, str.FaceIllumination
mov eax, edi
mov dword [rsp + 0x28], 4
cmp esi, 1
mov r9d, 4
sete al
xor r8d, r8d
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rdx, str.BackgroundBlur
mov eax, edi
mov dword [rsp + 0x28], 4
cmp esi, 2
mov r9d, 4
sete al
xor r8d, r8d
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rdx, str.UserFraming
mov eax, edi
mov dword [rsp + 0x28], 4
cmp esi, 4
mov r9d, 4
sete al
xor r8d, r8d
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x10]
cmp esi, 5
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
sete dil
lea rdx, str.FaceBeautification
xor r8d, r8d
mov dword [rbp - 0x10], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r8d, esi
mov edx, 2
xor ecx, ecx
call fcn.14000ccc0
mov eax, 1
jmp 0x14000cad1
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret