Function at 0x1400b4c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x278]
sub rsp, 0x360
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x80], r14d
lea rdx, str.text_right_reserved
mov rcx, qword [rcx]
call qword [0x1401a8ed0]
mov rdi, rax
lea rdx, str.lb_version
mov rcx, qword [rbx]
call qword [0x1401a8ed0]
mov rsi, rax
test rdi, rdi
je 0x1400b5046
test rax, rax
je 0x1400b5046
call qword [0x1401a8eb0]
mov r9, qword [rax]
lea r8, str.IDS_PC_ID_COPYRIGHT
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [r9 + 0x20]
nop
call fcn.1401680c0
mov rcx, rax
movsd xmm2, qword [0x14024cb90]
lea rdx, [rbp - 0x50]
call fcn.140168160
nop
call fcn.1401680c0
mov rcx, rax
movsd xmm2, qword [0x14024cb98]
lea rdx, [rbp + 0x10]
call fcn.140168160
nop
xor r8d, r8d
lea rdx, [0x1401b60e8]
lea rcx, [rbp + 0x30]
call qword [0x1401a8758]
test eax, eax
js 0x1400b4d20
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
lea rdx, [0x1401b60e8]
lea rcx, [rbp + 0x30]
call qword [0x1401a8750]
xor r8d, r8d
lea rdx, [0x14022e870]
lea rcx, [rbp + 0x30]
call qword [0x1401a8758]
test eax, eax
js 0x1400b4d57
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
lea rdx, [0x14022e870]
lea rcx, [rbp + 0x30]
call qword [0x1401a8750]
lea rcx, [rbp + 0x30]
call qword [0x1401a8200]
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140053ee0
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400b1900
nop
lea rcx, [rsp + 0x30]
call fcn.1400524a0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x58]
mov qword [rsp + 0x78], r14
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r14w
lea rdx, str.5.0.4.300
lea rcx, [rbp - 0x70]
call fcn.140053ee0
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREHMS_CoreHWID_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400b4f74
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x150]
call fcn.1401706d2
mov dword [rbp - 0x80], 1
mov dword [rbp - 0x78], 0xfe
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400b4f69
mov eax, dword [rbp - 0x78]
cmp rax, 0xff
jae 0x1400b5213
mov byte [rbp + rax + 0x150], 0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rax, [rbp + 0x150]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400b4ea5
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.140047980
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140047920
test rbx, rbx
je 0x1400b4f69
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rbp + 0x150]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400b4ef2
mov r8, rdi
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.140047980
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [0x1401a9808]
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x1400b4f54
lea rcx, [rbp - 0x70]
call fcn.1400524a0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x50]
call fcn.1400524a0
nop
lea rcx, [rsp + 0x30]
call fcn.140047920
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [0x1401a8eb0]
mov r9, qword [rax]
lea r8, str.IDS_PC_ID_VERSION
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [r9 + 0x20]
nop
lea rcx, [rbp + 0xc0]
call qword [0x1401a8200]
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140053ee0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400b1ae0
nop
lea rcx, [rsp + 0x30]
call fcn.1400524a0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
nop
lea rcx, [rbp - 0x30]
call fcn.1400524a0
nop
lea rcx, [rbp + 0xc0]
call qword [0x1401a8208]
nop
lea rcx, [rbp - 0x70]
call fcn.1400524a0
nop
lea rcx, [rbp - 0x10]
call fcn.1400524a0
nop
lea rcx, [rbp + 0x10]
call fcn.1400524a0
nop
lea rcx, [rbp - 0x50]
call fcn.1400524a0
nop
lea rcx, [rbp + 0x30]
call qword [0x1401a8208]
jmp 0x1400b51ec
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x150]
call fcn.1401706d2
lea rax, [0x140227eb8]
mov qword [rbp + 0x150], rax
lea rax, [0x140227c80]
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x1e8]
call qword [0x1401a9250]
nop
mov dword [rbp - 0x80], 1
xor r8d, r8d
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x150]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
mov edx, 3
lea rcx, [rbp + 0x168]
call fcn.140057c70
nop
lea rdx, str.find_controller_failed
lea rcx, [rbp + 0x160]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.Hwa::Ux::HWAAccountInfoSettings::SetCopyRight
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x1a6
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x168]
call fcn.140057bc0
nop
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x30]
call fcn.140047980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [0x1401a9e88]
nop
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x150], rbx
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call fcn.140055cb0
lea rcx, [rbp + 0x170]
call qword [0x1401a9120]
lea rcx, [rbp + 0x1e8]
call qword [0x1401a9198]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14016f6e0
nop
int3