Function at 0x140012744
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 [0x14012cac8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
test rdx, rdx
jne 0x14001279b
mov eax, 0x80070057
jmp 0x140012e0c
mov qword [rbp - 0x80], rbx
mov r14d, 1
mov byte [rbp - 0x78], r14b
cmp qword [rcx + 0x20], rdi
je 0x1400127d9
mov rax, qword [rdx]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140057c6a.0]
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rdi
test rcx, rcx
je 0x1400127d9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140057c6a.0]
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rbx + 0x10]
call fcn.14000b698
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140012826
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.140012e44
mov edi, dword [rsp + 0x60]
jmp 0x140012dfd
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 0x140012890
cmp dword [rsp + 0x60], esi
jne 0x140012890
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x50]
je 0x140012895
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 0x1400128f5
cmp dword [rsp + 0x50], esi
jne 0x1400128f5
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x60]
je 0x1400128fa
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.14001f310
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14001295e
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.140012f10
mov edi, dword [rsp + 0x50]
jmp 0x140012dfd
lea rax, [0x1400d3188]
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.14000bee0
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400129bb
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.140013144
jmp 0x140012b8e
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.14001f464
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012a20
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.140013210
jmp 0x140012b8e
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, [0x1400da3c0]
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 0x140012a9b
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.1400132dc
jmp 0x140012b8e
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0xb8]
cmp rdi, rcx
je 0x140012ac5
test rcx, rcx
je 0x140012abe
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.14001f550
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012b04
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.1400133a8
jmp 0x140012b8e
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
js 0x140012e3c
lea rdi, [rbx + 0x28]
mov r15, qword [rbp - 0x30]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140012b4a
mov qword [rdi], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140057c6a.0]
mov r8, rdi
lea rdx, [0x1400d8fc8]
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 0x140012b97
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.140013474
mov edi, dword [rsp + 0x50]
jmp 0x140012dd9
mov qword [rsp + 0x70], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e11e8]
mov rax, qword [rax]
call qword [case.0x140057c6a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012bf1
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.140013540
mov edi, dword [rsp + 0x50]
jmp 0x140012dbc
mov qword [rsp + 0x68], r12
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1400d8fc8]
mov rax, qword [rax]
call qword [case.0x140057c6a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012c48
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.14001360c
jmp 0x140012d8f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
call qword [case.0x140057c6a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012c95
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.1400136d8
jmp 0x140012d8f
lea rcx, [rbx + 0x78]
call fcn.14001f620
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012cd4
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.1400137a4
jmp 0x140012d8f
lea rcx, [rbx + 0x80]
call fcn.14001f620
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d13
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.140013870
jmp 0x140012d8f
lea rcx, [rbx + 0x88]
call fcn.14001f620
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d52
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.14001393c
jmp 0x140012d8f
lea rcx, [rbx + 0x90]
call fcn.14001f620
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012d95
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.140013a08
mov edi, dword [rsp + 0x50]
jmp 0x140012d9f
mov r14b, r12b
mov byte [rbp - 0x78], r12b
mov edi, r12d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140012dbc
mov qword [rsp + 0x68], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140057c6a.0]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140012dd9
mov qword [rsp + 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140057c6a.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140012dfd
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140057c6a.0]
mov qword [rbp - 0x50], r12
test r14b, r14b
je 0x140012e0a
mov rcx, rbx
call fcn.140013db4
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400c9100
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
mov ecx, eax
call fcn.14000bfa8
int3