Function at 0x140010fac
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 [0x140132008]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rdx
mov rsi, rcx
xor r13d, r13d
test rdx, rdx
jne 0x140011003
mov eax, 0x80070057
jmp 0x1400116ec
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.14001e4e0
nop
cmp qword [rsi + 0x20], rdi
je 0x140011054
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009410]
mov rcx, rdi
call rbx
mov rbx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rdi
test rbx, rbx
je 0x140011054
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009410]
mov rcx, rbx
call rdi
mov dword [rsp + 0x50], 1
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x10]
call fcn.14000b920
mov dword [rsp + 0x60], eax
test eax, eax
jns 0x1400110a9
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140011724
mov edi, dword [rsp + 0x60]
jmp 0x1400116db
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x50], r13d
mov edi, 4
mov dword [rsp + 0x58], edi
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 r14d, [rdi + 0xc]
mov r9d, r14d
lea r8, str.ProviderCallWatchdogTimeoutInMS
lea rdx, str.SOFTWAREMicrosoftAnalog
mov r15, 0xffffffff80000002
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140011113
cmp dword [rsp + 0x60], edi
jne 0x140011113
cmp dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x50]
je 0x140011118
mov eax, 0x1388
mov dword [rsi + 0xc8], eax
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x58], edi
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, r14d
lea r8, str.ProviderCallWatchdogMaxQueueCount
lea rdx, str.SOFTWAREMicrosoftAnalog
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140011178
cmp dword [rsp + 0x50], edi
jne 0x140011178
cmp dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x60]
je 0x14001117d
mov eax, 5
mov dword [rsi + 0xcc], eax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rsi
lea rcx, [rsi + 0xd0]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
call fcn.14001e684
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400111e6
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400117f8
mov edi, dword [rsp + 0x50]
jmp 0x1400116db
lea rax, [0x1400dbea8]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rsi
lea rax, [rbp - 0x68]
mov qword [rbp - 0x50], rax
lea r8, [rsi + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14000c490
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011248
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001199c
jmp 0x14001143b
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x60], rax
lea rcx, [rsi + 0xa8]
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
call fcn.14001e7e0
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400112b2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011a70
jmp 0x14001143b
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400e0140]
mov rcx, r15
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 0x140011332
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011b44
jmp 0x14001143b
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsi + 0xb8]
cmp rbx, rcx
je 0x14001135c
test rcx, rcx
je 0x140011355
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsi + 0xb8], r13
mov qword [rsi + 0xb8], rbx
lea rcx, [rsi + 0x30]
call fcn.14001e8f4
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400113a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011c18
jmp 0x14001143b
mov qword [rbp - 0x30], r13
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 0x1400113ca
mov ecx, eax
call fcn.14000c574
int3
lea rdi, [rsi + 0x28]
mov r12, qword [rbp - 0x30]
mov r14, qword [rdi]
test r14, r14
je 0x1400113f2
mov qword [rdi], r13
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009410]
mov rcx, r14
call rbx
mov r8, rdi
lea rdx, [0x1400def90]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoGetActivationFactory]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011444
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011cec
mov edi, dword [rsp + 0x50]
jmp 0x1400116d1
mov qword [rsp + 0x68], r13
mov rdi, qword [rdi]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140009410]
lea r8, [rsp + 0x68]
lea rdx, [0x1400dfea0]
mov rcx, rdi
call rbx
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400114ab
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011dc0
mov edi, dword [rsp + 0x50]
jmp 0x1400116ac
mov qword [rsp + 0x70], r13
mov rdi, qword [rsi + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140009410]
lea r8, [rsp + 0x70]
lea rdx, [0x1400def90]
mov rcx, rdi
call rbx
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14001150f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011e94
jmp 0x14001167a
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [fcn.140009410]
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call rdi
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011569
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140011f68
jmp 0x14001167a
lea rcx, [rsi + 0x78]
call fcn.14001e9f4
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400115ad
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14001203c
jmp 0x14001167a
lea rcx, [rsi + 0x80]
call fcn.14001e9f4
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400115f4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140012110
jmp 0x14001167a
lea rcx, [rsi + 0x88]
call fcn.14001e9f4
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011638
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400121e4
jmp 0x14001167a
lea rcx, [rsi + 0x90]
call fcn.14001e9f4
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011680
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov word [rbp - 0x20], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x1e]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400122b8
mov edi, dword [rsp + 0x50]
jmp 0x140011687
mov byte [rbp - 0x78], r13b
mov edi, r13d
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x1400116ac
mov qword [rsp + 0x70], r13
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009410]
mov rcx, rsi
call rbx
nop
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1400116d1
mov qword [rsp + 0x68], r13
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009410]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp - 0x68]
call fcn.14000bdd8
nop
cmp byte [rbp - 0x78], r13b
je 0x1400116ea
mov rcx, qword [rbp - 0x80]
call fcn.14001278c
mov eax, edi
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400cb2a0
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