Function at 0x1400090a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov rax, qword [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r9
mov r14, rdx
mov rdi, rcx
movdqa xmm1, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x49], xmm1
mov byte [rbp - 0x59], 0
cmp qword [rdx + 0x10], 0
jne 0x1400090fa
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
jmp 0x140009432
call fcn.140008ea0
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140008fb0
nop
xor esi, esi
mov qword [rbp - 0x69], rsi
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000944f
cmp qword [rbp - 0x69], rsi
je 0x14000944f
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], si
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.140008860
mov dword [rbp - 0x71], esi
mov dword [rbp - 0x61], esi
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x61]
xor r8d, r8d
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000932b
mov eax, dword [rbp - 0x61]
test eax, eax
je 0x14000932b
cmp eax, 2
jbe 0x140009219
cmp eax, 4
je 0x1400091cb
cmp eax, 7
je 0x140009219
cmp eax, 0xb
jne 0x14000932b
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x71], 8
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x61]
xor r8d, r8d
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.140009fb0
jmp 0x14000932b
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov edx, dword [rbp - 0x71]
lea rcx, [rbp + 0xf]
call fcn.140009a60
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp + 0xf]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x61]
xor r8d, r8d
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140009280
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400149d0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x30]
call fcn.1400089b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400092eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094fb
call fcn.1400ccd64
nop
test rbx, rbx
je 0x14000932b
mov rax, qword [rbp + 0x1f]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009323
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
mov rcx, rbx
call fcn.1400ccd64
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x49]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140009395
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009390
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], si
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400093e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140009432
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000942d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
call fcn.1400ccd64
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ccd40
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x49]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14012bfd0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], sil
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400094ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400094a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
call fcn.1400ccd64
movdqa xmm0, xmmword [0x14012bfc0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140009432
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000942d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009501
jmp 0x14000942d
call fcn.1400d1a34
nop
call fcn.1400d1a34
int3