Function at 0x14009d7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xb8
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12, r9
mov r13, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x69], rcx
mov r14, qword [rbp + 0x7f]
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov r15, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x14009d837
mov r14, qword [r14]
cmp r15, 8
jae 0x14009d84f
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x31], 7
jmp 0x14009d88f
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x49]
call fcn.140081860
mov qword [rbp - 0x49], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140260c10
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x39], r15
cmp qword [r13 + 0x10], 0
je 0x14009d909
mov r8, r13
lea rdx, [0x1402f37b4]
lea rcx, [rbp - 0x29]
call fcn.14009d1d0
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14009d8bb
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x49]
call fcn.14009de90
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14009d909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dba4
call fcn.14025e328
xor r14d, r14d
mov qword [rbp - 0x69], r14
lea rbx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rbx, qword [rbp - 0x49]
lea rdx, [rbp + 0x77]
lea rcx, [0x14039bf30]
call fcn.14009d6e0
lea rcx, [rbp - 0x69]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14009d9bf
mov rdx, r12
mov rcx, rdi
call fcn.14009d640
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14009d99c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dbb0
call fcn.14025e328
mov rax, rdi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14025e930
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14009d9cc
mov rdx, qword [rsi]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x75]
xor r8d, r8d
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009db54
cmp dword [rbp - 0x75], 1
jne 0x14009db54
mov eax, dword [rbp - 0x71]
test eax, eax
je 0x14009db54
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r14
mov edx, eax
shr rdx, 1
je 0x14009da28
lea r8, [rbp - 0x79]
lea rcx, [rbp - 0x61]
call fcn.14009d540
cmp qword [rsi + 0x18], 8
jb 0x14009da32
mov rsi, qword [rsi]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x75]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009db0a
cmp dword [rbp - 0x75], 1
jne 0x14009db0a
cmp dword [rbp - 0x71], eax
je 0x14009db0a
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp - 0x61]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14009daa0
mov rcx, rdi
call fcn.1400818d0
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14009d95c
mov rax, qword [rbp - 0x51]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009daf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dbaa
call fcn.14025e328
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r14
jmp 0x14009d95c
mov rdx, r12
mov rcx, rdi
call fcn.14009d640
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14009d95c
mov rax, qword [rbp - 0x51]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009daf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dbaa
jmp 0x14009daf4
mov rdx, r12
mov rcx, rdi
call fcn.14009d640
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14009d99c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009dbb0
jmp 0x14009d997
call fcn.14026d254
int3
call fcn.14026d254
nop
call fcn.14026d254
int3