Function at 0x1400495a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140120678]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdx, qword [str.HARDWAREDESCRIPTIONSystemBIOS]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x118], rdi
xor ebx, ebx
mov rdi, rcx
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140049629
mov dword [rsp + 0x28], eax
lea r9, str.ERROR
mov ebx, 0x23300010
lea r8, [0x1400cbd78]
lea rdx, str.__s_____s___0x_lx__query_bios_info_failed__ErrorCode:_ld_r_n
mov dword [rsp + 0x20], ebx
mov ecx, 3
call fcn.14000afc0
jmp 0x140049859
mov qword [rsp + 0x108], rbp
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x110], rsi
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov r8d, 0xa0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], ebx
call fcn.1400a20f0
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rbp, str.SystemFamily
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], rbx
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400496b7
mov dword [rsp + 0x28], eax
lea r9, str.WARN
lea r8, [0x1400cbd78]
mov qword [rsp + 0x20], rbp
lea rdx, str.__s_____s__query_key__ws__failed__ErrorCode:_ld_r_n
mov ecx, 2
call fcn.14000afc0
jmp 0x140049798
mov eax, dword [rsp + 0x38]
cmp eax, 0xa0
jb 0x1400496ef
mov dword [rsp + 0x28], eax
lea r9, str.WARN
lea r8, [0x1400cbd78]
mov qword [rsp + 0x20], rbp
lea rdx, str.__s_____s__The__ws_is_too_large__max_len_is__d_r_n
mov ecx, 2
call fcn.14000afc0
jmp 0x140049798
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14004974d
mov dword [rsp + 0x28], eax
lea r9, str.WARN
lea r8, [0x1400cbd78]
mov qword [rsp + 0x20], rbp
lea rdx, str.__s_____s__query_value__ws__failed__ErrorCode:_ld_r_n
mov ecx, 2
call fcn.14000afc0
jmp 0x140049798
movzx eax, word [rsp + 0x40]
cmp ax, word [0x1400dfc00]
je 0x1400497aa
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0xa0
call fcn.1400438e0
test eax, eax
je 0x1400497aa
lea r9, str.WARN
mov dword [rsp + 0x20], 0x23300010
lea r8, [0x1400cbd78]
mov ecx, 2
lea rdx, str.__s_____s__properties_unicode_to_string_failed__ErrorCode:_ld_r_n
call fcn.14000afc0
xor r8d, r8d
lea rdx, [0x1400cd62b]
mov rcx, rdi
call fcn.1400046c0
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0x20]
lea rdx, str.SystemProductName
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0x40]
lea rdx, str.SystemSKU
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0x60]
lea rdx, str.SystemVersion
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0x80]
lea rdx, str.BaseBoardManufacturer
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0xa0]
lea rdx, str.BaseBoardProduct
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0xc0]
lea rdx, str.BIOSVendor
call fcn.140048230
mov rcx, qword [rsp + 0x30]
lea r8, [rdi + 0xe0]
lea rdx, str.BIOSVersion
call fcn.140048230
mov rsi, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x118]
test rcx, rcx
je 0x140049871
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400a0360
add rsp, 0xf0
pop rbx
ret