Function at 0x1400222d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r14d, r9d
mov r12, r8
mov r15, rdx
mov rdi, qword [rbp + 0x820]
xor r13d, r13d
lea rcx, [rsp + 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
mov rcx, r12
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, r14d
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002250a
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rbx
mov esi, r14d
and esi, 0x300
mov dword [rsp + 0x48], esi
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x208
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400223e0
test rbx, rbx
je 0x14002250a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14002250a
mov rdx, r12
lea rcx, [rsp + 0x68]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rdx, [0x140048904]
lea rcx, [rsp + 0x68]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, r14d
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400223c9
mov eax, r13d
test rbx, rbx
je 0x140022450
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], esi
test eax, eax
jne 0x1400223c9
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x64], 0x208
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
lea r8, [rbp + 0x3a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400223c9
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rdx, [0x140048904]
mov rcx, rdi
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [rbp + 0x3a0]
mov rcx, rdi
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
nop
test rbx, rbx
je 0x1400224f8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, 1
jmp 0x140022518
lea rcx, [rsp + 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, r13d
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400325f0
mov rbx, qword [rsp + 0x900]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret