Function at 0x140060a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x220
mov qword [r11 - 0x1b8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14035b8c0]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r15, rdx
xor ebx, ebx
mov r14d, ebx
mov dword [rsp + 0x40], ebx
lea rcx, [r11 - 0x48]
call fcn.140009d24
nop
lea rcx, [rsp + 0x1b0]
call fcn.140009d24
nop
lea rcx, [rsp + 0x190]
call fcn.140009d24
nop
xor dil, dil
mov byte [rsp + 0x33], dil
mov qword [rsp + 0x1c0], rbx
lea rax, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 8
cmovae rax, qword [rsp + 0x1b0]
mov word [rax], bx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystem_bios
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060f2e
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSVendor
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rsi, [rbx - 1]
test eax, eax
jne 0x140060bdb
mov ecx, dword [rsp + 0x38]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008a740
mov rdi, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.BIOSVendor
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x48], 3
jne 0x140060ba4
xor r9b, r9b
mov byte [rsp + 0x30], r9b
nop
test r9b, r9b
jne 0x140060ba4
mov r9b, 1
mov byte [rsp + 0x30], r9b
mov edx, ebx
mov dword [rsp + 0x4c], ebx
mov eax, dword [rsp + 0x38]
dec eax
cmp edx, eax
jge 0x140060ba2
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140060b9a
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140060b9a
mov word [r8], ax
mov word [rdi + rcx*2], bx
xor r9b, r9b
mov byte [rsp + 0x30], r9b
inc edx
mov dword [rsp + 0x4c], edx
jmp 0x140060b63
jmp 0x140060b50
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140060bb0
mov rdx, rdi
lea rcx, [rsp + 0x1b0]
call fcn.14000997c
mov rcx, rdi
call fcn.14008a738
mov dil, 1
mov byte [rsp + 0x33], dil
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140060f35
xor dil, dil
mov byte [rsp + 0x34], dil
mov qword [rsp + 0x1a0], rbx
lea rax, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rax, qword [rsp + 0x190]
mov word [rax], bx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystem_bios
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060f35
mov dword [rsp + 0x3c], ebx
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140060d5b
mov ecx, dword [rsp + 0x3c]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008a740
mov rdi, rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x50], 3
jne 0x140060d27
xor r9b, r9b
mov byte [rsp + 0x31], r9b
test r9b, r9b
jne 0x140060d27
mov r9b, 1
mov byte [rsp + 0x31], r9b
mov edx, ebx
mov dword [rsp + 0x54], ebx
mov eax, dword [rsp + 0x3c]
dec eax
cmp edx, eax
jge 0x140060d25
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140060d1d
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140060d1d
mov word [r8], ax
mov word [rdi + rcx*2], bx
xor r9b, r9b
mov byte [rsp + 0x31], r9b
inc edx
mov dword [rsp + 0x54], edx
jmp 0x140060ce6
jmp 0x140060cd3
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140060d30
mov rdx, rdi
lea rcx, [rsp + 0x190]
call fcn.14000997c
mov rcx, rdi
call fcn.14008a738
mov dil, 1
mov byte [rsp + 0x34], dil
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140060f35
lea rcx, [rsp + 0x90]
call fcn.14001b520
nop
lea rdx, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 8
cmovae rdx, qword [rsp + 0x1b0]
mov r8, qword [rsp + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.140018d10
lea rdx, [0x1402eb280]
mov rcx, rax
call fcn.140018930
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140018d10
nop
lea rcx, [rsp + 0x1d0]
call fcn.140006790
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1e8], 7
mov word [rsp + 0x1d0], bx
or r14d, 2
mov dword [rsp + 0x40], r14d
mov rdx, qword [rsp + 0x118]
test dl, 2
jne 0x140060e76
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
test rcx, rcx
je 0x140060e76
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rax]
mov qword [rsp + 0x78], rcx
lea r8, [rsp + 0x110]
lea rax, [rsp + 0x78]
cmp rcx, qword [rsp + 0x110]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x1d0]
call fcn.14000997c
jmp 0x140060eba
test dl, 4
jne 0x140060eba
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140060eba
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0xf8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x1d0]
call fcn.14000997c
and r14d, 0xfffffffd
mov dword [rsp + 0x40], r14d
or r14d, 1
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rdx, qword [rsp + 0x1d0]
lea rcx, [r15 + 0x18]
test rdx, rdx
jne 0x140060ef3
mov eax, ebx
jmp 0x140060f00
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140060ef6
mov r8d, eax
call fcn.1400029fc
and r14d, 0xfffffffe
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x1d0]
call fcn.140009568
nop
lea rcx, [rsp + 0x90]
call fcn.14001b1e0
jmp 0x140060f35
mov rsi, 0xffffffffffffffff
xor dil, dil
mov byte [rsp + 0x35], dil
mov qword [rsp + 0x200], rbx
lea rax, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rax, qword [rsp + 0x1f0]
mov word [rax], bx
lea rax, [rsp + 0x70]
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 0x1400610f5
mov dword [rsp + 0x44], ebx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400610ab
mov r8d, dword [rsp + 0x44]
inc r8d
mov eax, 2
mul r8
cmovo rax, rsi
mov rcx, rax
call fcn.14008a740
mov rdi, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x58], 3
jne 0x140061074
xor r9b, r9b
mov byte [rsp + 0x32], r9b
nop dword [rax + rax]
test r9b, r9b
jne 0x140061074
mov r9b, 1
mov byte [rsp + 0x32], r9b
mov edx, ebx
mov dword [rsp + 0x5c], ebx
mov eax, dword [rsp + 0x44]
dec eax
cmp edx, eax
jge 0x140061072
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x14006106a
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x14006106a
mov word [r8], ax
mov word [rdi + rcx*2], bx
xor r9b, r9b
mov byte [rsp + 0x32], r9b
inc edx
mov dword [rsp + 0x5c], edx
jmp 0x140061033
jmp 0x140061020
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140061080
mov rdx, rdi
lea rcx, [rsp + 0x1f0]
call fcn.14000997c
mov rcx, rdi
call fcn.14008a738
mov dil, 1
mov byte [rsp + 0x35], dil
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x1400610f5
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rdx, qword [rsp + 0x1f0]
lea rcx, [r15 + 0x28]
test rdx, rdx
je 0x1400610ec
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1400610e0
mov ebx, esi
mov r8d, ebx
call fcn.1400029fc
nop
lea rcx, [rsp + 0x190]
call fcn.140009568
nop
lea rcx, [rsp + 0x1b0]
call fcn.140009568
nop
lea rcx, [rsp + 0x1f0]
call fcn.140009568
nop
mov al, 1
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140229750
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret