Function at 0x140013a08
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 [0x14012bab8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
test rdx, rdx
jne 0x140013a5f
mov eax, 0x80070057
jmp 0x1400140c9
mov qword [rbp - 0x80], rbx
mov r14d, 1
mov byte [rbp - 0x78], r14b
cmp qword [rcx + 0x20], rdi
je 0x140013a9d
mov rax, qword [rdx]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140059dea.0]
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rdi
test rcx, rcx
je 0x140013a9d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140059dea.0]
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rbx + 0x10]
call fcn.14000c374
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x140013aea
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.140014108
mov edi, dword [rsp + 0x60]
jmp 0x1400140ba
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 0x140013b54
cmp dword [rsp + 0x60], esi
jne 0x140013b54
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x50]
je 0x140013b59
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 0x140013bb9
cmp dword [rsp + 0x50], esi
jne 0x140013bb9
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x60]
je 0x140013bbe
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.140020ab8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013c22
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.1400141dc
mov edi, dword [rsp + 0x50]
jmp 0x1400140ba
lea rax, [0x1400d6170]
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.14000cc54
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013c7f
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.140014424
jmp 0x140013e4b
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.140020c1c
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013ce4
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.1400144f8
jmp 0x140013e4b
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, [0x1400e4180]
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 0x140013d5f
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.1400145cc
jmp 0x140013e4b
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0xb8]
cmp rdi, rcx
je 0x140013d82
test rcx, rcx
je 0x140013d7b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbx + 0xb8], rdi
lea rcx, [rbx + 0x30]
call fcn.140020d10
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013dc1
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.1400146a0
jmp 0x140013e4b
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 0x1400140f9
lea rdi, [rbx + 0x28]
mov r15, qword [rbp - 0x30]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140013e07
mov qword [rdi], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140059dea.0]
mov r8, rdi
lea rdx, [0x1400dc250]
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 0x140013e54
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.140014774
mov edi, dword [rsp + 0x50]
jmp 0x140014096
mov qword [rsp + 0x70], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e4068]
mov rax, qword [rax]
call qword [case.0x140059dea.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013eae
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.140014848
mov edi, dword [rsp + 0x50]
jmp 0x140014079
mov qword [rsp + 0x68], r12
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1400dc250]
mov rax, qword [rax]
call qword [case.0x140059dea.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013f05
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.14001491c
jmp 0x14001404c
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
call qword [case.0x140059dea.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013f52
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.1400149f0
jmp 0x14001404c
lea rcx, [rbx + 0x78]
call fcn.140020de8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013f91
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.140014ac4
jmp 0x14001404c
lea rcx, [rbx + 0x80]
call fcn.140020de8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013fd0
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.140014b98
jmp 0x14001404c
lea rcx, [rbx + 0x88]
call fcn.140020de8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14001400f
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.140014c6c
jmp 0x14001404c
lea rcx, [rbx + 0x90]
call fcn.140020de8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140014052
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.140014d40
mov edi, dword [rsp + 0x50]
jmp 0x14001405c
mov r14b, r12b
mov byte [rbp - 0x78], r12b
mov edi, r12d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014079
mov qword [rsp + 0x68], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140059dea.0]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140014096
mov qword [rsp + 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140059dea.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400140ba
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140059dea.0]
mov qword [rbp - 0x50], r12
test r14b, r14b
je 0x1400140c7
mov rcx, rbx
call fcn.140015104
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400cb420
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.14000cd28
int3