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

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x530
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov qword [rsp + 0x88], r9
mov r15, r8
mov dword [rsp + 0x5c], edx
xor r14d, r14d
cmp r8, r14
je 0x14001f531
mov qword [r8], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [r11 - 0x4e8], r14
mov rbp, r14
mov qword [r11 - 0x4d8], r14
mov qword [r11 - 0x4d0], r14
mov qword [r11 - 0x4c8], r14
mov rsi, r14
mov qword [rsp + 0x50], r14
mov r8d, 0x20119
lea rdx, [rsp + 0x70]
call fcn.140023468
movsxd rdi, eax
mov dword [rsp + 0x68], edi
cmp edi, r14d
jl 0x14001f50c
mov word [rsp + 0x100], r14w
mov ebx, 0x206
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x102]
call sub.msvcrt.dll_memset
mov word [rsp + 0x310], r14w
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x312]
call sub.msvcrt.dll_memset
mov r13d, r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x44], r14d
mov ebx, r14d
cmp rdi, r14
jl 0x14001f509
jmp 0x14001f204
xor r14d, r14d
jmp 0x14001f204
xor r14d, r14d
jmp 0x14001f204
xor r14d, r14d
cmp ebx, r14d
jne 0x14001f505
mov dword [rsp + 0x40], 0x104
mov ebx, r14d
cmp rbp, r14
je 0x14001f233
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rbp, r14
mov qword [rsp + 0x90], r14
cmp ebx, r14d
jne 0x14001f204
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x100]
mov edx, r13d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp eax, r14d
jne 0x14001f204
inc r13d
mov dword [rsp + 0x48], r13d
lea rcx, [rsp + 0x100]
call qword [sym.imp.msvcrt.dll__wtoi]
mov r14d, eax
test eax, eax
js 0x14001f1fc
mov eax, dword [rsp + 0x5c]
test eax, r14d
je 0x14001f1f7
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14001f2eb
test rbp, rbp
je 0x14001f2de
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rbp, qword [rsp + 0x60]
mov qword [rsp + 0x90], rbp
test ebx, ebx
jne 0x14001f201
xor r13d, r13d
test ebx, ebx
jne 0x14001f4c5
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x208
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x100]
mov edx, r13d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
jne 0x14001f2f6
inc r13d
lea rsi, [0x140004178]
lea rdi, [rsp + 0x100]
lea ecx, [rax + 0x11]
repe cmpsw word [rsi], word [rdi]
jne 0x14001f3a5
lea rcx, [rsp + 0x310]
call qword [sym.imp.msvcrt.dll__wtoi64]
mov rsi, qword [rsp + 0x50]
cmp rsi, rax
jg 0x14001f2f6
lea rcx, [rsp + 0x310]
call qword [sym.imp.msvcrt.dll__wtoi64]
mov rsi, rax
mov qword [rsp + 0x50], rax
jmp 0x14001f2f6
movdqu xmm0, xmmword [0x140001a40]
movdqu xmmword [rsp + 0xe8], xmm0
mov dword [rsp + 0xf8], r14d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x100]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
mov rsi, qword [rsp + 0x50]
js 0x14001f2f6
lea rcx, [rsp + 0x310]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14001f4fa
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov rsi, rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x14001f4ef
lea rdx, [rsp + 0xb0]
lea rax, [rsp + 0xe8]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
mov ecx, dword [rax + 0x10]
mov dword [rdx + 0x10], ecx
test rsi, rsi
jne 0x14001f455
xor eax, eax
jmp 0x14001f469
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rsp + 0xc8], rax
test rsi, rsi
je 0x14001f47b
test rax, rax
je 0x14001f4e4
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
call fcn.140021474
nop
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x50]
jmp 0x14001f2f6
cmp ebx, 0x103
mov r13d, dword [rsp + 0x48]
mov r14d, 0
jne 0x14001f204
mov ebx, r14d
jmp 0x14001f204
mov ecx, 0x8007000e
call fcn.140007c44
nop
mov ecx, 0x8007000e
call fcn.140007c44
nop
mov ecx, 0x8007000e
call fcn.140007c44
int3
mov edi, dword [rsp + 0x68]
mov qword [r15], rsi
cmp rbp, r14
je 0x14001f51b
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x70], r14
je 0x14001f52d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x14001f536
mov eax, 0x80070057
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14003a6d0
add rsp, 0x530
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret