Function at 0x140060a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x220
mov qword [r11 - 0x1a8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x14035c8c0]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rcx, [r11 - 0x38]
call fcn.140009e28
nop
lea rcx, [rsp + 0x1b0]
call fcn.140009e28
nop
lea rcx, [rsp + 0x190]
call fcn.140009e28
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 0x140060f66
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 0x140060c0b
mov ecx, dword [rsp + 0x38]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008ae18
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 0x140060bd4
xor r9b, r9b
mov byte [rsp + 0x30], r9b
nop dword [rax]
test r9b, r9b
jne 0x140060bd4
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 0x140060bd2
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140060bca
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140060bca
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 0x140060b93
jmp 0x140060b80
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140060be0
mov rdx, rdi
lea rcx, [rsp + 0x1b0]
call fcn.140009a80
mov rcx, rdi
call fcn.14008ae10
mov dil, 1
mov byte [rsp + 0x33], dil
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140060f6d
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 0x140060f6d
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 0x140060d8b
mov ecx, dword [rsp + 0x3c]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008ae18
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 0x140060d57
xor r9b, r9b
mov byte [rsp + 0x31], r9b
test r9b, r9b
jne 0x140060d57
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 0x140060d55
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140060d4d
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140060d4d
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 0x140060d16
jmp 0x140060d03
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140060d60
mov rdx, rdi
lea rcx, [rsp + 0x190]
call fcn.140009a80
mov rcx, rdi
call fcn.14008ae10
mov dil, 1
mov byte [rsp + 0x34], dil
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140060f6d
lea rcx, [rsp + 0x90]
call fcn.14001b770
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.140018ee0
lea rdx, [0x1402ec2ac]
mov rcx, rax
call fcn.140018b00
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140018ee0
nop
lea rcx, [rsp + 0x1d0]
call fcn.140009a0c
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1e8], 7
mov word [rsp + 0x1d0], bx
mov dword [rsp + 0x40], 2
mov rdx, qword [rsp + 0x118]
test dl, 2
jne 0x140060ea5
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
test rcx, rcx
je 0x140060ea5
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.140009a80
jmp 0x140060ee9
test dl, 4
jne 0x140060ee9
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140060ee9
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.140009a80
mov eax, 2
and eax, 0xfffffffd
mov dword [rsp + 0x40], eax
mov edi, 1
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rdx, qword [rsp + 0x1d0]
lea rcx, [r14 + 0x18]
test rdx, rdx
jne 0x140060f25
mov eax, ebx
jmp 0x140060f3a
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140060f30
mov r8d, eax
call fcn.140002a7c
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x1d0]
call fcn.140009824
nop
lea rcx, [rsp + 0x90]
call fcn.14001b430
jmp 0x140060f6d
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 0x140061125
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 0x1400610db
mov r8d, dword [rsp + 0x44]
inc r8d
mov eax, 2
mul r8
cmovo rax, rsi
mov rcx, rax
call fcn.14008ae18
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 0x1400610a7
xor r9b, r9b
mov byte [rsp + 0x32], r9b
test r9b, r9b
jne 0x1400610a7
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 0x1400610a5
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x14006109d
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x14006109d
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 0x140061066
jmp 0x140061053
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400610b0
mov rdx, rdi
lea rcx, [rsp + 0x1f0]
call fcn.140009a80
mov rcx, rdi
call fcn.14008ae10
mov dil, 1
mov byte [rsp + 0x35], dil
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140061125
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rdx, qword [rsp + 0x1f0]
lea rcx, [r14 + 0x28]
test rdx, rdx
je 0x14006111c
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140061110
mov ebx, esi
mov r8d, ebx
call fcn.140002a7c
nop
lea rcx, [rsp + 0x190]
call fcn.140009824
nop
lea rcx, [rsp + 0x1b0]
call fcn.140009824
nop
lea rcx, [rsp + 0x1f0]
call fcn.140009824
nop
mov al, 1
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140229da0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret