Function at 0x1400588c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r14, rdx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x58], r15
mov esi, 7
mov qword [r11 - 0x50], rsi
mov word [r11 - 0x68], r15w
movups xmmword [rsp + 0x170], xmm0
mov qword [r11 - 0x70], rsi
movups xmmword [rsp + 0x150], xmm0
mov qword [r11 - 0x98], r15
mov qword [r11 - 0x90], rsi
mov word [r11 - 0xa8], r15w
mov qword [r11 - 0x78], r15
mov word [r11 - 0x88], r15w
lea rax, [rsp + 0x38]
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 0x140058ce0
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSVendor
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058cd5
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140003f10
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.BIOSVendor
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 3
jne 0x140058a43
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
mov r9b, 1
mov edx, r15d
lea eax, [r8 - 1]
test eax, eax
jle 0x140058a43
mov rcx, rbx
cmp word [rcx], 0
jne 0x140058a30
movzx eax, word [rcx + 2]
test ax, ax
je 0x140058a30
mov word [rcx], ax
mov word [rcx + 2], r15w
xor r9b, r9b
mov r8d, dword [rsp + 0x30]
inc edx
add rcx, 2
lea eax, [r8 - 1]
cmp edx, eax
jl 0x140058a11
test r9b, r9b
je 0x140058a00
mov rdx, rbx
lea rcx, [rsp + 0x170]
call fcn.1400184d0
mov rcx, rbx
call fcn.1400041d4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov qword [rsp + 0x160], r15
lea rax, [rsp + 0x150]
cmp qword [rsp + 0x168], 8
cmovae rax, qword [rsp + 0x150]
mov word [rax], r15w
lea rax, [rsp + 0x38]
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 0x140058ce7
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058bad
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140003f10
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 3
jne 0x140058b93
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov r9b, 1
mov edx, r15d
lea eax, [r8 - 1]
test eax, eax
jle 0x140058b93
mov rcx, rbx
cmp word [rcx], 0
jne 0x140058b80
movzx eax, word [rcx + 2]
test ax, ax
je 0x140058b80
mov word [rcx], ax
mov word [rcx + 2], r15w
xor r9b, r9b
mov r8d, dword [rsp + 0x30]
inc edx
add rcx, 2
lea eax, [r8 - 1]
cmp edx, eax
jl 0x140058b61
test r9b, r9b
je 0x140058b50
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.1400184d0
mov rcx, rbx
call fcn.1400041d4
mov bl, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x140058ce7
lea rcx, [rsp + 0x50]
call fcn.140019550
nop
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
mov r8, qword [rsp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.140016d70
lea rdx, [0x1402c7918]
mov rcx, rax
call fcn.140016ab0
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 8
cmovae rdx, qword [rsp + 0x150]
mov r8, qword [rsp + 0x160]
mov rcx, rax
call fcn.140016d70
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x68]
call fcn.14001a150
lea rdx, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 8
cmovae rdx, qword [rsp + 0x1b0]
lea rcx, [r14 + 0x18]
test rdx, rdx
jne 0x140058c6a
mov r8d, r15d
jmp 0x140058c7b
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140058c70
call fcn.140002b2c
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 8
jb 0x140058cc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005906d
call fcn.1400041d4
nop
lea rcx, [rsp + 0x50]
call fcn.140019440
jmp 0x140058ce7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1a0], r15
mov word [rsp + 0x190], r15w
lea rax, [rsp + 0x38]
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 0x140058e77
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058e6c
mov edx, dword [rsp + 0x30]
inc edx
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.140003f10
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 3
jne 0x140058df3
mov r8d, dword [rsp + 0x30]
nop dword [rax]
mov r9b, 1
mov edx, r15d
lea eax, [r8 - 1]
test eax, eax
jle 0x140058df3
mov rax, rbx
cmp word [rax], 0
jne 0x140058de0
movzx ecx, word [rax + 2]
test cx, cx
je 0x140058de0
mov word [rax], cx
mov word [rax + 2], r15w
xor r9b, r9b
mov r8d, dword [rsp + 0x30]
inc edx
add rax, 2
lea ecx, [r8 - 1]
cmp edx, ecx
jl 0x140058dc1
test r9b, r9b
je 0x140058db0
mov rdx, rbx
lea rcx, [rsp + 0x190]
call fcn.1400184d0
mov rcx, rbx
call fcn.1400041d4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdx, qword [rsp + 0x190]
lea rcx, [r14 + 0x28]
test rdx, rdx
jne 0x140058e50
mov edi, r15d
mov r8d, r15d
call fcn.140002b2c
mov rsi, qword [rsp + 0x1a8]
jmp 0x140058e77
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140058e50
mov r8d, edi
call fcn.140002b2c
mov rsi, qword [rsp + 0x1a8]
jmp 0x140058e77
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x44], r15d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSecureBootState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140058f21
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UEFISecureBootEnabled
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140058f1b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UEFISecureBootEnabled
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
seta dl
mov r8b, 1
jmp 0x140058f26
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dl, dl
xor r8b, r8b
mov ecx, 0x48
mov eax, 0x58
mov r9, r14
mov byte [r14 + rcx], r8b
mov byte [rax + r14], dl
mov rdx, qword [rsp + 0x168]
cmp rdx, 8
jb 0x140058f83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059073
call fcn.1400041d4
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], r15w
mov rdx, qword [rsp + 0x188]
cmp rdx, 8
jb 0x140058fe8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058fe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059079
call fcn.1400041d4
mov qword [rsp + 0x180], r15
mov qword [rsp + 0x188], 7
mov word [rsp + 0x170], r15w
cmp rsi, 8
jb 0x140059042
lea rdx, [rsi*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005903c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005907f
call fcn.1400041d4
nop
mov al, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140220e50
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3