Function at 0x1400d8bf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov dword [rbp - 0x30], 7
xor r15d, r15d
mov dword [rbp - 0x40], r15d
mov rax, rdx
cmp qword [rdx + 0x18], 7
jbe 0x1400d8c37
mov rax, qword [rdx]
mov qword [rdx + 0x10], r15
mov word [rax], r15w
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.HardwareDescriptionSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d8e55
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.SystemBiosVersion
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8d21
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x1400d8d21
mov ecx, eax
call fcn.14014fc5c
mov r14, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.SystemBiosVersion
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8d19
mov edx, dword [rbp - 0x40]
shr rdx, 1
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x1400d8d0e
mov rsi, rdi
cmp rax, 7
jbe 0x1400d8cf1
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1403ebbf0
mov word [rbx + rsi], r15w
jmp 0x1400d8d19
mov r9, r14
mov rcx, rdi
call fcn.140023ce0
mov rcx, r14
call fcn.14014f510
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x1400d8d35
mov rcx, qword [rdi]
lea rax, [rcx + rax*2]
jmp 0x1400d8d3c
lea rax, [rdi + rax*2]
mov rcx, rdi
cmp rcx, rax
je 0x1400d8d55
cmp word [rcx], r15w
jne 0x1400d8d4c
mov word [rcx], 0x3a
add rcx, 2
cmp rcx, rax
jne 0x1400d8d41
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8e4b
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x1400d8e4b
mov ecx, eax
call fcn.14014fc5c
mov rbx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.SystemBiosDate
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8e43
mov r8d, dword [rbp - 0x40]
shr r8, 1
dec r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14001fb40
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rdi
call fcn.14001dc00
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400d8e43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d8e3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d8e7b
call fcn.14014f510
mov rcx, rbx
call fcn.14014f510
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14015fa1c
int3