Function at 0x140023bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x5b0], rbx
mov rax, qword [0x1400ed040]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x70], esi
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
xor r8d, r8d
lea rdx, [0x1400c5ab0]
lea rcx, [rbp - 0x18]
call fcn.14001b0b0
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140023cc8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x70]
call fcn.1400662d0
mov dword [rsp + 0x30], 0x400
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ReleaseId
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023cc8
cmp word [rbp + 0x70], ax
jne 0x140023ca2
mov r8d, esi
jmp 0x140023cbb
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023cb0
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.14001b0b0
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
mov r8d, 4
lea rdx, [0x1400caeb0]
lea rcx, [rbp + 0x10]
call fcn.14001b0b0
nop
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rsi
mov word [rbp + 0x30], si
mov r8d, 7
lea rdx, str.Caption
lea rcx, [rbp + 0x30]
call fcn.14001b0b0
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rsi
mov word [rbp + 0x50], si
mov r8d, 7
lea rdx, str.Version
lea rcx, [rbp + 0x50]
call fcn.14001b0b0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140032a20
nop
lea r9, [fcn.14000a240]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x10]
call fcn.14005e5c8
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
mov r8d, 0x15
lea rdx, str.Win32_OperatingSystem
lea rcx, [rbp - 0x38]
call fcn.14000b970
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x38]
call fcn.14001b290
mov qword [rbp - 0x48], rsi
lea rax, [0x1400c9ef0]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.14001ba40
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x140023e18
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14000c840
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x38]
mov rdx, rbx
mov rcx, rdi
call fcn.1400234e0
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x140023e9f
inc rax
mov rcx, qword [rbp - 0x38]
cmp rax, 0x1000
jb 0x140023e9a
test cl, 0x1f
je 0x140023e6d
call fcn.140068b40
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140023e7c
call fcn.140068b40
int3
sub rcx, rax
cmp rcx, 8
jae 0x140023e8b
call fcn.140068b40
int3
cmp rcx, 0x27
jbe 0x140023e97
call fcn.140068b40
int3
mov rcx, rax
call fcn.14005e948
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140023edb
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.14001b7b0
mov r8, qword [rsp + 0x68]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.14000c670
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x140023ef5
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14000c840
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14005df90
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret