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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x7b8
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rsp + 0x7a0], rax
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x7c8]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 0xffffffffffff0003
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0xe0], 0x67
mov dword [rsp + 0x10c], 1
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x7c0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14001f830]
mov r8d, 1
xor edx, edx
lea rcx, [0x14001f820]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14000ea66
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x98], rcx
lea r8, [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x98]
call qword [case.0x14001925e.0]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14000ea3a
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x154], cx
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
xor r9d, r9d
lea r8, [rsp + 0x140]
mov edx, 1
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xa0]
call qword [case.0x14001925e.0]
test eax, eax
jne 0x14000ea13
mov r8d, 0x50
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x140]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x154]
test eax, eax
je 0x14000e8d6
lea rcx, [rsp + 0x154]
call fcn.14000152c
mov qword [rsp + 0xf8], rax
jmp 0x14000e903
lea r8, [rsp + 0x300]
lea rdx, str.__S__no_name_
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0xf8], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
movzx eax, word [rcx + rax]
cmp eax, 0x5f
jne 0x14000e933
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0xc8], 0
jne 0x14000e933
jmp 0x14000e84f
mov ecx, 0x498
call fcn.1400011c8
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14000e95b
mov rcx, qword [rsp + 0x68]
call fcn.14000bc50
mov qword [rsp + 0x70], rax
jmp 0x14000e964
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x300]
call fcn.14000152c
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14000fee8
test eax, eax
jne 0x14000e9a8
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x70], 0xd
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 7
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x70]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x104], eax
mov rcx, qword [rsp + 0x7c0]
call fcn.14000152c
lea rdx, [rsp + 0xd0]
mov rcx, rax
call fcn.140010428
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x154], cx
jmp 0x14000e84f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xb8]
call qword [case.0x14001925e.0]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
call qword [case.0x14001925e.0]
jmp 0x14000ec6d
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
lea rdx, str.Component_Categories
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000ec6d
mov dword [rsp + 0x34], 0
jmp 0x14000eaa4
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov r9d, 0x50
lea r8, [rsp + 0x260]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14000ec62
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000ec5d
mov dword [rsp + 0x60], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140022838]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ec4f
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x3a0]
test eax, eax
jne 0x14000eb60
lea r8, [rsp + 0x260]
lea rdx, str._s__no_name_
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0x498
call fcn.1400011c8
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000eb8b
mov rcx, qword [rsp + 0x78]
call fcn.14000bc50
mov qword [rsp + 0x80], rax
jmp 0x14000eb97
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov dword [rax + 8], 7
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x38]
call fcn.14000fee8
test eax, eax
jne 0x14000ebe2
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x70], 0xd
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov word [rcx + 0x6c], ax
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov word [rcx + 0x6c], ax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x70]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x104], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x7c0]
call fcn.14000152c
lea rdx, [rsp + 0xd0]
mov rcx, rax
call fcn.140010428
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000ea9a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x7a0]
xor rcx, rsp
call fcn.140019330
add rsp, 0x7b8
ret