Function at 0x14006f330
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rax, qword [str.unknown]
xor ebx, ebx
mov r14, rdx
mov dword [rsp + 0x40], eax
mov r15, rcx
movzx eax, word [0x1400cbe94]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1400cbe96]
mov byte [rsp + 0x46], al
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x47], bl
cmp qword [rcx + 0x170], rbx
je 0x14006f411
lea rdx, [rcx + 0x160]
mov rcx, r14
call fcn.140005d90
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006f3f1
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f3ec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f6b9
call fcn.1400809f0
mov rax, r14
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400809d0
add rsp, 0x1f8
pop r15
pop r14
pop rbx
pop rbp
ret
lea r8, str.HARDWAREDESCRIPTIONSystemBIOS
mov dword [rsp + 0x38], 0x80
mov edx, 0x7f
mov dword [rsp + 0x3c], 0x80
lea rcx, [rbp + 0x60]
call fcn.14009831c
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006f63f
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.BaseBoardManufacturer
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14006f4a2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14006f63f
lea rax, [rsp + 0x3c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.SystemSKU
lea rax, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14006f4dc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14006f63f
cmp qword [rsp + 0x58], 0x10
lea rax, [rsp + 0x40]
mov qword [rsp + 0x230], rsi
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x1f0], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
mov rsi, rdi
mov byte [rax], bl
lea rax, [rsp + 0x60]
inc rsi
cmp byte [rax + rsi], bl
jne 0x14006f513
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14006f566
cmp rdx, 0x10
lea rax, [rcx + rsi]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x50], rax
cmovae rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
add rbx, rcx
mov r8, rsi
mov rcx, rbx
call fcn.140082e70
lea rcx, [rsp + 0x40]
mov byte [rbx + rsi], 0
jmp 0x14006f580
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140006aa0
mov rcx, rax
mov r8, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov rax, r8
mov rsi, qword [rsp + 0x230]
sub rax, rdx
cmp rax, 1
jb 0x14006f5b8
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0x10
jb 0x14006f5b0
mov rax, qword [rcx]
mov word [rax + rdx], 0x2d
jmp 0x14006f5d5
lea r9, [0x1400cc014]
mov qword [rsp + 0x20], 1
mov edx, 1
call fcn.140006aa0
mov rcx, rax
lea rax, [rbp - 0x20]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14006f5e0
mov r8, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x14006f626
lea rax, [rdx + rdi]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x14006f60d
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 0x20]
call fcn.140082e70
mov byte [rbx + rdi], 0
jmp 0x14006f637
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
call fcn.140006aa0
mov rdi, qword [rsp + 0x1f0]
lea rbx, [r15 + 0x160]
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x14006f66e
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x40]
call fcn.1400062d0
mov rdx, rbx
mov rcx, r14
call fcn.140005d90
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006f3f1
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f3ec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006f3ec
call fcn.140087b78
int3