Function at 0x140011750
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rax, rdx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x40], r15d
mov r14, qword [0x14006b768]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011a75
mov ebx, r15d
mov dword [rsp + 0x50], 0x1fe
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x140011a6a
lea r13, [r15 - 1]
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 + 0x44], r15d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x44]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14004e1ac
mov rdi, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011a1b
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rbp - 0x80], rax
lea rax, [0x14005bc60]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
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 esi, 1
mov dword [rsp + 0x40], esi
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
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 [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
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 - 0x68], rax
mov qword [rbp], r15
mov dword [rbp + 8], r15d
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x70]
call fcn.140044780
mov rcx, rax
lea rdx, [0x140057528]
call fcn.140044780
mov rcx, rax
mov rdx, rdi
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140042b60
or esi, 2
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r9, qword [rsp + 0x58]
xor r8d, r8d
mov edx, 0xc2
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400119cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400119c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011aa5
call fcn.14004de50
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
call fcn.14003fa70
lea rcx, [rbp - 0x60]
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 + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, rdi
call fcn.14004de50
mov dword [rsp + 0x50], 0x1fe
inc ebx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x80]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x140011820
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3