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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x830]
sub rsp, 0x930
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rbp + 0x820], rax
xor edi, edi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x58], rdi
mov r12, rdx
mov qword [rsp + 0x50], rdi
mov r13, rcx
mov qword [rsp + 0x48], rdi
xor r9d, r9d
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x28], rdi
mov r15d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
je 0x1400019c9
mov edx, eax
lea rcx, str.RegQueryInfoKey___CLSID____returned__d_n
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
jmp 0x140001cb7
mov esi, dword [rsp + 0x64]
add esi, 0xfffffffe
cmp esi, 0xffffffff
je 0x140001cb7
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x70]
mov qword [rsp + 0x28], rdi
mov edx, esi
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x68], 0x64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140001caa
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140001a23
add eax, 6
cmp eax, 0x96
jae 0x140001cb7
lea r8, [rbp - 0x70]
mov edx, 0x96
lea rcx, [rbp + 0x2d0]
call fcn.140001008
lea r8, str.CLSID
mov edx, 0x96
lea rcx, [rbp + 0x2d0]
call fcn.140001094
lea rax, [rsp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x2d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140001caa
mov rbx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp + 0x130]
mov dword [rsp + 0x60], 0xc8
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov word [rbp + 0x1f6], di
test eax, eax
jne 0x140001c96
mov rdx, r12
lea rcx, [rbp + 0x130]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140001c96
mov r14d, edi
cmp dword [rsp + 0x64], edi
jbe 0x140001c96
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x6c]
mov qword [rsp + 0x30], rdi
lea r8, [rbp + 0x60]
mov qword [rsp + 0x28], rdi
mov edx, r14d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x6c], 0x64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140001c96
movzx eax, word [rbp + 0x60]
mov ecx, 0xfffb
sub ax, 0x2a
test cx, ax
jne 0x140001c96
lea rax, [rbp - 0x80]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140001c88
mov rdi, qword [rbp - 0x80]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp + 0x200]
mov dword [rsp + 0x60], 0xc8
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
xor ecx, ecx
mov word [rbp + 0x2c6], cx
test eax, eax
jne 0x140001c72
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x70]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140001c72
lea rax, [rbp + 0x400]
mov rdx, r13
lea r9, [rbp + 0x610]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.14000160c
test eax, eax
jne 0x140001c72
test r15b, 1
jne 0x140001c54
test r15d, r15d
je 0x140001c4b
lea rcx, [0x140003588]
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
lea rcx, str._tExtensions:__ws___ws_
jmp 0x140001c5b
lea rcx, str._ws___ws_
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x60]
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
inc r15d
test rdi, rdi
je 0x140001c86
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor edi, edi
inc r14d
cmp r14d, dword [rsp + 0x64]
jb 0x140001b12
test rbx, rbx
je 0x140001caa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
or eax, 0xffffffff
add esi, eax
cmp esi, eax
jne 0x1400019d9
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1400022d0
mov rbx, qword [rsp + 0x980]
add rsp, 0x930
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret