Function at 0x140012784
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x818]
sub rsp, 0x8f0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140130ac8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
test rdx, rdx
jne 0x1400127db
mov eax, 0x80070057
jmp 0x140012e50
mov qword [rbp - 0x80], rbx
mov r14d, 1
mov byte [rbp - 0x78], r14b
cmp qword [rcx + 0x20], rdi
je 0x140012819
mov rax, qword [rdx]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400581da.0]
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rdi
test rcx, rcx
je 0x140012819
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rbx + 0x10]
call fcn.14000b6b8
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140012866
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140012e80
mov edi, dword [rsp + 0x60]
jmp 0x140012e41
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x50], r12d
mov esi, 4
mov dword [rsp + 0x58], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r15d, [rsi + 0xc]
mov r9d, r15d
lea r8, str.ProviderCallWatchdogTimeoutInMS
lea rdx, str.SOFTWAREMicrosoftAnalog
mov r13, 0xffffffff80000002
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x1400128d0
cmp dword [rsp + 0x60], esi
jne 0x1400128d0
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x50]
je 0x1400128d5
mov eax, 0x1388
mov dword [rbx + 0xc8], eax
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, str.ProviderCallWatchdogMaxQueueCount
lea rdx, str.SOFTWAREMicrosoftAnalog
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140012935
cmp dword [rsp + 0x50], esi
jne 0x140012935
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x60]
je 0x14001293a
mov eax, 5
mov dword [rbx + 0xcc], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rbx
lea rcx, [rbx + 0xd0]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
call fcn.14001f224
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14001299e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140012f4c
mov edi, dword [rsp + 0x50]
jmp 0x140012e41
lea rax, [0x1400d7188]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rbx
lea rax, [rbp - 0x68]
mov qword [rbp - 0x50], rax
lea r8, [rbx + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14000bf20
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400129fb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013180
jmp 0x140012bd2
mov rax, qword [rbx + 0xa0]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
lea rcx, [rbx + 0xa8]
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
call fcn.14001f378
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012a60
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001324c
jmp 0x140012bd2
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400de3d0]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x50], ecx
test ecx, ecx
jns 0x140012adb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013318
jmp 0x140012bd2
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0xb8]
cmp rdi, rcx
je 0x140012b05
test rcx, rcx
je 0x140012afe
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbx + 0xb8], r12
mov qword [rbx + 0xb8], rdi
lea rcx, [rbx + 0x30]
call fcn.14001f464
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012b44
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400133e4
jmp 0x140012bd2
mov qword [rbp - 0x30], r12
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x48]
mov edx, 0x49
lea rcx, str.Windows.Devices.Perception.Provider.PerceptionFrameProviderManagerService
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
test eax, eax
jns 0x140012b6e
mov ecx, eax
call fcn.14000bfec
int3
lea rdi, [rbx + 0x28]
mov r15, qword [rbp - 0x30]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140012b8e
mov qword [rdi], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
mov r8, rdi
lea rdx, [0x1400dcfd8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoGetActivationFactory]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012bdb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400134b0
mov edi, dword [rsp + 0x50]
jmp 0x140012e1d
mov qword [rsp + 0x70], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e51f8]
mov rax, qword [rax]
call qword [case.0x1400581da.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012c35
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001357c
mov edi, dword [rsp + 0x50]
jmp 0x140012e00
mov qword [rsp + 0x68], r12
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1400dcfd8]
mov rax, qword [rax]
call qword [case.0x1400581da.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012c8c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013648
jmp 0x140012dd3
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
call qword [case.0x1400581da.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012cd9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013714
jmp 0x140012dd3
lea rcx, [rbx + 0x78]
call fcn.14001f530
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d18
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400137e0
jmp 0x140012dd3
lea rcx, [rbx + 0x80]
call fcn.14001f530
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d57
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400138ac
jmp 0x140012dd3
lea rcx, [rbx + 0x88]
call fcn.14001f530
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d96
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013978
jmp 0x140012dd3
lea rcx, [rbx + 0x90]
call fcn.14001f530
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012dd9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140013a44
mov edi, dword [rsp + 0x50]
jmp 0x140012de3
mov r14b, r12b
mov byte [rbp - 0x78], r12b
mov edi, r12d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140012e00
mov qword [rsp + 0x68], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140012e1d
mov qword [rsp + 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140012e41
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400581da.0]
mov qword [rbp - 0x50], r12
test r14b, r14b
je 0x140012e4e
mov rcx, rbx
call fcn.140013e14
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400cba70
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret