Function at 0x140013918
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 [0x14012aab8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
test rdx, rdx
jne 0x14001396f
mov eax, 0x80070057
jmp 0x140013fd9
mov qword [rbp - 0x80], rbx
mov r14d, 1
mov byte [rbp - 0x78], r14b
cmp qword [rcx + 0x20], rdi
je 0x1400139ad
mov rax, qword [rdx]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14005981a.0]
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rdi
test rcx, rcx
je 0x1400139ad
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005981a.0]
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rbx + 0x10]
call fcn.14000c32c
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x1400139fa
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.140014018
mov edi, dword [rsp + 0x60]
jmp 0x140013fca
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 0x140013a64
cmp dword [rsp + 0x60], esi
jne 0x140013a64
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x50]
je 0x140013a69
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 0x140013ac9
cmp dword [rsp + 0x50], esi
jne 0x140013ac9
cmp dword [rsp + 0x58], esi
mov eax, dword [rsp + 0x60]
je 0x140013ace
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.1400209c8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013b32
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.1400140ec
mov edi, dword [rsp + 0x50]
jmp 0x140013fca
lea rax, [0x1400d5170]
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.14000cbbc
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013b8f
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.140014334
jmp 0x140013d5b
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.140020b2c
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013bf4
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.140014408
jmp 0x140013d5b
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, [0x1400e3150]
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 0x140013c6f
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.1400144dc
jmp 0x140013d5b
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbx + 0xb8]
cmp rdi, rcx
je 0x140013c92
test rcx, rcx
je 0x140013c8b
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.140020c20
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013cd1
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.1400145b0
jmp 0x140013d5b
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 0x140014009
lea rdi, [rbx + 0x28]
mov r15, qword [rbp - 0x30]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140013d17
mov qword [rdi], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005981a.0]
mov r8, rdi
lea rdx, [0x1400db220]
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 0x140013d64
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.140014684
mov edi, dword [rsp + 0x50]
jmp 0x140013fa6
mov qword [rsp + 0x70], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e3038]
mov rax, qword [rax]
call qword [case.0x14005981a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013dbe
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.140014758
mov edi, dword [rsp + 0x50]
jmp 0x140013f89
mov qword [rsp + 0x68], r12
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1400db220]
mov rax, qword [rax]
call qword [case.0x14005981a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013e15
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.14001482c
jmp 0x140013f5c
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
call qword [case.0x14005981a.0]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013e62
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.140014900
jmp 0x140013f5c
lea rcx, [rbx + 0x78]
call fcn.140020cf8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013ea1
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.1400149d4
jmp 0x140013f5c
lea rcx, [rbx + 0x80]
call fcn.140020cf8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013ee0
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.140014aa8
jmp 0x140013f5c
lea rcx, [rbx + 0x88]
call fcn.140020cf8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013f1f
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.140014b7c
jmp 0x140013f5c
lea rcx, [rbx + 0x90]
call fcn.140020cf8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140013f62
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.140014c50
mov edi, dword [rsp + 0x50]
jmp 0x140013f6c
mov r14b, r12b
mov byte [rbp - 0x78], r12b
mov edi, r12d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140013f89
mov qword [rsp + 0x68], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005981a.0]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140013fa6
mov qword [rsp + 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005981a.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140013fca
mov rax, qword [rcx]
lea rdx, [rbp - 0x68]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14005981a.0]
mov qword [rbp - 0x50], r12
test r14b, r14b
je 0x140013fd7
mov rcx, rbx
call fcn.140015014
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400cae50
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.14000cc90
int3