Function at 0x1400dfc50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x10b0]
mov eax, 0x11b0
call fcn.1400f1780
sub rsp, rax
mov rax, qword [0x140162170]
xor rax, rsp
mov qword [rbp + 0x1090], rax
mov rbx, qword [rbp + 0x10d8]
mov rdi, qword [rbp + 0x10e0]
test rbx, rbx
je 0x1400dff82
test rdi, rdi
je 0x1400dff82
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400dfcb0
test rax, rax
je 0x1400dff82
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400dfcd0
test rax, rax
je 0x1400dff82
mov qword [rsp + 0x11a8], r14
lea rcx, [rsp + 0x60]
xor r14d, r14d
xor edx, edx
mov r8d, 0x190
mov qword [rsp + 0x48], r14
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400dff63
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400dff73
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x11e8], rsi
mov esi, r14d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0xc7
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400dff5b
mov qword [rsp + 0x11a0], r15
lea r15d, [r14 + 0x25]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400dfda0
test rax, rax
je 0x1400dff53
cmp qword [rsp + 0x48], r14
je 0x1400dff04
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400dfdd0
test rax, rax
je 0x1400dff04
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], r14w
jne 0x1400dfdf0
test rax, rax
je 0x1400dff04
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x58], r14
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400dff04
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400dff04
xor edx, edx
mov dword [rsp + 0x50], 1
mov r8d, 0xfa0
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], 0xf9e
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rbp + 0xf0]
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400dff04
cmp dword [rsp + 0x50], 1
jne 0x1400dff04
lea rcx, [rbp + 0xf0]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400dfec0
test rax, rax
je 0x1400dff04
cmp r15w, word [rbp + 0xf0]
je 0x1400dff04
lea rcx, [rbp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
xor edx, edx
lea rcx, [rbp + 0xf0]
test eax, eax
je 0x1400dfefb
mov r8d, 0x800
jmp 0x1400dfefe
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor edx, edx
mov dword [rsp + 0x40], 0xc7
mov r8d, 0x190
lea rcx, [rsp + 0x60]
inc esi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r14
mov edx, esi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400dfd90
mov r15, qword [rsp + 0x11a0]
mov rsi, qword [rsp + 0x11e8]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400dff73
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x11a8]
mov eax, 1
jmp 0x1400dff84
xor eax, eax
mov rcx, qword [rbp + 0x1090]
xor rcx, rsp
call fcn.1400f0460
add rsp, 0x11b0
pop rdi
pop rbx
pop rbp
ret