Function at 0x14000d940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x40], r13d
mov rbx, qword [r8]
mov rsi, qword [r8 + 8]
cmp rbx, rsi
je 0x14000db76
lea r12, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
nop dword [rax + rax]
mov dword [rsp + 0x68], 0x100
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000d9b5
mov r8, qword [rbx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000db69
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rsp + 0x70], rax
lea rax, [0x14005bc60]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or edi, 1
mov dword [rsp + 0x40], edi
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r13
mov dword [rbp - 8], r13d
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000da82
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140049dd0
lea rdx, [0x140057528]
mov rcx, rax
call fcn.140044780
mov rcx, rax
lea rdx, [rbp + 0x70]
call fcn.140044780
mov rcx, rax
lea rdx, [0x140056e18]
call fcn.140044780
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.140042b60
or edi, 2
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r9, qword [rsp + 0x48]
xor r8d, r8d
mov edx, 0xc2
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000db2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dba0
call fcn.14004de50
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x78]
call fcn.14003fa70
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
add rbx, 0x20
cmp rbx, rsi
jne 0x14000d9a0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3