Function at 0x1400230a0
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 [0x1400d9040]
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, [0x1400b54d0]
lea rcx, [rbp - 0x18]
call fcn.14001a920
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 0x1400231a8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x70]
call fcn.1400581c0
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 0x1400231a8
cmp word [rbp + 0x70], ax
jne 0x140023182
mov r8d, esi
jmp 0x14002319b
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023190
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.14001a920
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
mov r8d, 4
lea rdx, [0x1400ba4c8]
lea rcx, [rbp + 0x10]
call fcn.14001a920
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.14001a920
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.14001a920
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.14002b600
nop
lea r9, [fcn.140009d70]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x10]
call fcn.140051c78
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.14000b500
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.1400159d0
mov qword [rbp - 0x48], rsi
lea rax, [0x1400ba810]
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.14001afb0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1400232f8
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14000c420
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.140022870
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x14002337f
inc rax
mov rcx, qword [rbp - 0x38]
cmp rax, 0x1000
jb 0x14002337a
test cl, 0x1f
je 0x14002334d
call fcn.14005aa28
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002335c
call fcn.14005aa28
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002336b
call fcn.14005aa28
int3
cmp rcx, 0x27
jbe 0x140023377
call fcn.14005aa28
int3
mov rcx, rax
call fcn.140051ff8
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400233bb
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.14001ad20
mov r8, qword [rsp + 0x68]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.14000c200
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x1400233d5
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14000c420
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140051640
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret