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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x488]
sub rsp, 0x550
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r13, r9
mov qword [rsp + 0x68], r9
mov qword [rbp - 0x78], r8
mov dword [rsp + 0x58], edx
mov r12, rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov qword [rbp - 0x70], r14
and qword [rbp - 0x68], r14
and qword [rbp - 0x60], r14
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x20]
call sub.msvcrt.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x230]
call sub.msvcrt.dll_memset
xor ebx, ebx
and dword [rsp + 0x40], ebx
and dword [rsp + 0x5c], ebx
and dword [rsp + 0x44], ebx
xor edi, edi
test edi, edi
jne 0x14001d9ef
mov dword [rsp + 0x40], 0x104
test r14, r14
je 0x14001d6a7
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
xor r14d, r14d
mov qword [rbp - 0x70], r14
test edi, edi
jne 0x14001d9ef
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x20]
mov edx, ebx
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x14001d680
inc ebx
mov dword [rsp + 0x48], ebx
lea rcx, [rbp + 0x20]
call qword [sym.imp.msvcrt.dll__wtoi]
mov esi, eax
mov dword [rsp + 0x60], eax
test eax, eax
js 0x14001d680
test dword [rsp + 0x58], eax
je 0x14001d680
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14001d74c
test r14, r14
je 0x14001d743
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov r14, qword [rsp + 0x50]
mov qword [rbp - 0x70], r14
test edi, edi
jne 0x14001d9ef
xor ebx, ebx
test edi, edi
jne 0x14001d9d5
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x208
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x20]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x14001d756
inc ebx
mov dword [rsp + 0x50], ebx
lea rdx, [rbp + 0x20]
lea rcx, str.ModificationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001d7f8
lea rcx, [rbp + 0x230]
call qword [sym.imp.msvcrt.dll__wtoi64]
cmp r15, rax
jg 0x14001d756
lea rcx, [rbp + 0x230]
call qword [sym.imp.msvcrt.dll__wtoi64]
mov r15, rax
mov qword [rsp + 0x70], rax
jmp 0x14001d756
cmp byte [rbp + 0x4b0], 0
jne 0x14001d831
lea rdx, [rbp + 0x20]
lea rcx, str.446DF4C1_CC4B_443C_A8BA_B5883312C5DB
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14001d756
lea rdx, [rbp + 0x20]
lea rcx, str.6510E5BB_5508_49C0_B192_5BB38D0D2F14
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14001d756
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp - 0x58]
movdqu xmmword [rbp], xmm0
mov dword [rbp + 0x10], esi
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x14001d756
lea rcx, [rbp + 0x230]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14001da46
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov rsi, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14001da3b
movups xmm0, xmmword [rbp]
movups xmmword [rbp - 0x20], xmm0
mov ecx, dword [rbp + 0x10]
mov dword [rbp - 0x10], ecx
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rbp - 8], rax
xor edx, edx
test rax, rax
je 0x14001da30
mov r13, qword [r13 + 8]
mov rsi, qword [r13 + 8]
mov r15, r13
mov r12b, 1
jmp 0x14001d90b
mov r15, rsi
lea rdx, [rsi + 0x18]
mov r8d, SafeArrayUnaccessData
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memcmp
xor edx, edx
test eax, eax
sets r12b
test r12b, r12b
je 0x14001d907
mov rsi, qword [rsi]
jmp 0x14001d90b
mov rsi, qword [rsi + 0x10]
cmp byte [rsi + 0x39], dl
je 0x14001d8df
mov rcx, r15
test r12b, r12b
je 0x14001d96c
cmp r15, qword [r13]
jne 0x14001d92c
mov r8b, 1
lea rdx, [rbp - 0x30]
mov r13, qword [rsp + 0x68]
jmp 0x14001d98f
cmp byte [r15 + 0x39], dl
je 0x14001d938
mov rcx, qword [r15 + 0x10]
jmp 0x14001d96c
mov rax, qword [r15]
cmp byte [rax + 0x39], dl
jne 0x14001d94e
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x39], dl
je 0x14001d940
jmp 0x14001d96c
mov rax, qword [r15 + 8]
jmp 0x14001d960
cmp rcx, qword [rax]
jne 0x14001d965
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x39], dl
je 0x14001d954
cmp byte [rcx + 0x39], dl
cmove rcx, rax
add rcx, 0x18
mov r8d, SafeArrayUnaccessData
lea rdx, [rbp - 0x20]
call sub.msvcrt.dll_memcmp
mov r13, qword [rsp + 0x68]
test eax, eax
jns 0x14001d9a4
mov r8b, r12b
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, r15
mov rcx, r13
call fcn.140020a10
nop
mov rcx, qword [rbp - 8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [rsp + 0x50]
mov esi, dword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
jmp 0x14001d756
cmp edi, 0x103
mov ebx, dword [rsp + 0x48]
mov r12, qword [rsp + 0x78]
jne 0x14001d680
jmp 0x14001d67e
mov rax, qword [rbp - 0x78]
mov qword [rax], r15
test r14, r14
je 0x14001da04
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400362c0
mov rbx, qword [rsp + 0x598]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001648
nop
mov ecx, 0x8007000e
call fcn.140001648
nop
mov ecx, 0x8007000e
call fcn.140001648
int3