Function at 0x14001d434
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 - 0x458]
sub rsp, 0x520
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r8
mov r14d, edx
mov dword [rsp + 0x48], edx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov qword [rsp + 0x70], rsi
and qword [rsp + 0x78], rsi
and qword [rbp - 0x80], rsi
xor r12d, r12d
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x200]
call sub.msvcrt.dll_memset
xor r13d, r13d
and dword [rsp + 0x40], r12d
and dword [rsp + 0x4c], r12d
and dword [rsp + 0x44], r12d
xor edi, edi
test edi, edi
jne 0x14001d73c
mov dword [rsp + 0x40], 0x104
test rsi, rsi
je 0x14001d4f8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
xor esi, esi
mov qword [rsp + 0x70], rsi
test edi, edi
jne 0x14001d73c
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 - 0x10]
mov edx, r13d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x14001d4d1
inc r13d
lea rcx, [rbp - 0x10]
call qword [sym.imp.msvcrt.dll__wtoi]
mov r15d, eax
test eax, eax
js 0x14001d4d1
test r14d, eax
je 0x14001d4d1
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14001d592
test rsi, rsi
je 0x14001d588
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x70], rsi
test edi, edi
jne 0x14001d73c
xor r14d, r14d
test edi, edi
jne 0x14001d721
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x208
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x14001d59d
inc r14d
lea rdx, [rbp - 0x10]
lea rcx, str.ModificationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001d638
lea rcx, [rbp + 0x200]
call qword [sym.imp.msvcrt.dll__wtoi64]
cmp r12, rax
jg 0x14001d59d
lea rcx, [rbp + 0x200]
call qword [sym.imp.msvcrt.dll__wtoi64]
mov r12, rax
jmp 0x14001d59d
cmp byte [rbp + 0x480], 0
jne 0x14001d671
lea rdx, [rbp - 0x10]
lea rcx, str.446DF4C1_CC4B_443C_A8BA_B5883312C5DB
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14001d59d
lea rdx, [rbp - 0x10]
lea rcx, str.6510E5BB_5508_49C0_B192_5BB38D0D2F14
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14001d59d
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
movups xmm0, xmmword [rbp - 0x78]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], r15d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x14001d59d
lea rcx, [rbp + 0x200]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001d77e
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x20], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14001d789
mov al, byte [0x140051123]
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x30]
lea rdx, [rbp - 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140020d48
nop
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x14001d59d
cmp edi, 0x103
mov rbx, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x48]
jne 0x14001d4d1
jmp 0x14001d4cf
mov rax, qword [rsp + 0x68]
mov qword [rax], r12
test rsi, rsi
je 0x14001d752
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1400363b0
mov rbx, qword [rsp + 0x568]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001768
nop
mov ecx, 0x8007000e
call fcn.140001768
int3