Function at 0x140018430
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x458]
sub rsp, 0x550
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14007b658]
xor rax, rsp
mov qword [rbp + 0x440], rax
xor eax, eax
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], eax
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x140]
call fcn.14003f490
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x40]
call fcn.14003f490
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018529
mov dword [rbp + 0x38], 0x100
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x38], 0x100
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSReleaseDate
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140018534
test rax, rax
jne 0x140018633
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018633
mov dword [rbp + 0x38], 0x100
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400185c0
test rax, rax
jne 0x140018633
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlBiosinfo
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018633
mov dword [rbp + 0x38], 0x100
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp + 0x140], 0
jne 0x140018657
mov r8, 0xffffffffffffffff
lea rdx, [0x1400629b8]
lea rcx, [rbp + 0x140]
call fcn.140016490
cmp word [rbp + 0x40], 0
je 0x140018799
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x240]
call fcn.14003f490
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14000a680
mov r9d, 2
lea r8, [0x1400629c0]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140014bb0
nop
mov rcx, rax
call fcn.140009de0
mov rdi, rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000a680
mov r9d, 1
lea r8, [0x1400629c0]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140014bb0
nop
mov rcx, rax
call fcn.140009de0
mov rbx, rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14000a680
mov r9d, 3
lea r8, [0x1400629c0]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140014bb0
nop
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x50], rdi
lea rcx, [0x1400629c4]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [0x1400629c8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, str.Ver:
lea r8, str._s_s_s_s_s_s_s_s
mov edx, 0x100
lea rcx, [rbp + 0x240]
call fcn.14000e0c0
nop
lea rcx, [rbp - 0x30]
call fcn.140002990
nop
lea rcx, [rbp - 0x10]
call fcn.140002990
nop
lea rcx, [rbp + 0x10]
call fcn.140002990
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x240]
lea rcx, [0x140088fe4]
call fcn.140016490
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.14003da20
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret