Function at 0x14008dcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400ea3e8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
xor r14d, r14d
mov rcx, r9
call fcn.14002ed5c
mov qword [rbp - 0x50], r14
cmp qword [rbx + 0x18], 8
jb 0x14008dd33
mov rbx, qword [rbx]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14008dfd3
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x40], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rbp - 0x48], r14d
jbe 0x14008dfc9
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r14
mov eax, dword [rbp - 0x44]
add eax, 0xa
mov dword [rbp - 0x38], eax
mov edx, eax
je 0x14008dde8
lea rcx, [rbp - 0x18]
call fcn.140090cc0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r14
mov eax, dword [rbp - 0x40]
add eax, 0x14
mov dword [rbp - 0x34], eax
mov edx, eax
je 0x14008de0a
lea rcx, [rbp - 0x30]
call fcn.140090c40
mov dword [rbp - 0x3c], r14d
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x18]
mov edx, edi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14008df40
cmp dword [rbp - 0x3c], 1
jne 0x14008df40
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov rdx, qword [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14008de76
lea rcx, [rbp + 0x20]
call fcn.140012ba4
nop
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov rdx, qword [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14008de9e
lea rcx, [rbp]
call fcn.140012ba4
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140027e48
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140027e48
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14008d3ac
nop
lea rcx, [rbp - 0x80]
call fcn.140009ca4
lea rcx, [rsp + 0x60]
call fcn.140009ca4
nop
lea rcx, [rbp]
call fcn.140009ca4
nop
lea rcx, [rbp + 0x20]
call fcn.140009ca4
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14008df82
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008df71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008dfef
call fcn.14009c6b8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14008dfbe
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008dfb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008dff6
call fcn.14009c6b8
inc edi
cmp edi, dword [rbp - 0x48]
jb 0x14008ddc6
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14009bdf0
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3