Function at 0x1400617d0
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 [0x14035d8c0]
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.14000a1bc
nop
lea rcx, [rsp + 0x1b0]
call fcn.14000a1bc
nop
lea rcx, [rsp + 0x190]
call fcn.14000a1bc
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 0x140061d06
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 0x1400619ab
mov ecx, dword [rsp + 0x38]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008ba98
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 0x140061974
xor r9b, r9b
mov byte [rsp + 0x30], r9b
nop dword [rax]
test r9b, r9b
jne 0x140061974
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 0x140061972
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x14006196a
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x14006196a
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 0x140061933
jmp 0x140061920
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140061980
mov rdx, rdi
lea rcx, [rsp + 0x1b0]
call fcn.140009e14
mov rcx, rdi
call fcn.14008ba90
mov dil, 1
mov byte [rsp + 0x33], dil
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140061d0d
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 0x140061d0d
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 0x140061b2b
mov ecx, dword [rsp + 0x3c]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14008ba98
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 0x140061af7
xor r9b, r9b
mov byte [rsp + 0x31], r9b
test r9b, r9b
jne 0x140061af7
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 0x140061af5
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140061aed
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140061aed
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 0x140061ab6
jmp 0x140061aa3
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140061b00
mov rdx, rdi
lea rcx, [rsp + 0x190]
call fcn.140009e14
mov rcx, rdi
call fcn.14008ba90
mov dil, 1
mov byte [rsp + 0x34], dil
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140061d0d
lea rcx, [rsp + 0x90]
call fcn.14001bb00
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.140019270
lea rdx, [0x1402ed2cc]
mov rcx, rax
call fcn.140018e90
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140019270
nop
lea rcx, [rsp + 0x1d0]
call fcn.140009da0
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 0x140061c45
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
test rcx, rcx
je 0x140061c45
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.140009e14
jmp 0x140061c89
test dl, 4
jne 0x140061c89
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140061c89
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.140009e14
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 0x140061cc5
mov eax, ebx
jmp 0x140061cda
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140061cd0
mov r8d, eax
call fcn.140002a7c
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x1d0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x90]
call fcn.14001b7c0
jmp 0x140061d0d
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 0x140061ec5
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 0x140061e7b
mov r8d, dword [rsp + 0x44]
inc r8d
mov eax, 2
mul r8
cmovo rax, rsi
mov rcx, rax
call fcn.14008ba98
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 0x140061e47
xor r9b, r9b
mov byte [rsp + 0x32], r9b
test r9b, r9b
jne 0x140061e47
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 0x140061e45
movsxd rax, edx
lea r8, [rdi + rax*2]
cmp word [r8], 0
jne 0x140061e3d
lea eax, [rdx + 1]
movsxd rcx, eax
movzx eax, word [rdi + rcx*2]
test ax, ax
je 0x140061e3d
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 0x140061e06
jmp 0x140061df3
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140061e50
mov rdx, rdi
lea rcx, [rsp + 0x1f0]
call fcn.140009e14
mov rcx, rdi
call fcn.14008ba90
mov dil, 1
mov byte [rsp + 0x35], dil
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dil, dil
je 0x140061ec5
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rdx, qword [rsp + 0x1f0]
lea rcx, [r14 + 0x28]
test rdx, rdx
je 0x140061ebc
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140061eb0
mov ebx, esi
mov r8d, ebx
call fcn.140002a7c
nop
lea rcx, [rsp + 0x190]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x1b0]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x1f0]
call fcn.140009bb8
nop
mov al, 1
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14022aa20
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