Function at 0x140023eb0
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 [0x1400d1010]
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, [0x1400ae400]
lea rcx, [rbp - 0x18]
call fcn.14001ba30
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 0x140023fb8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x70]
call fcn.140051c10
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 0x140023fb8
cmp word [rbp + 0x70], ax
jne 0x140023f92
mov r8d, esi
jmp 0x140023fab
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023fa0
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.14001ba30
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
mov r8d, 4
lea rdx, [0x1400b3448]
lea rcx, [rbp + 0x10]
call fcn.14001ba30
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.14001ba30
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.14001ba30
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.14002c410
nop
lea r9, [fcn.14000c0d0]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x10]
call fcn.14004b738
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.14000d860
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.140016c60
mov qword [rbp - 0x48], rsi
lea rax, [0x1400b2500]
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.14001c0c0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x140024108
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14000e780
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.140023680
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x14002418f
inc rax
mov rcx, qword [rbp - 0x38]
cmp rax, 0x1000
jb 0x14002418a
test cl, 0x1f
je 0x14002415d
call fcn.140054238
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002416c
call fcn.140054238
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002417b
call fcn.140054238
int3
cmp rcx, 0x27
jbe 0x140024187
call fcn.140054238
int3
mov rcx, rax
call fcn.14004bab8
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400241cb
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.14001be30
mov r8, qword [rsp + 0x68]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.14000e560
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x1400241e5
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14000e780
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14004b110
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret