Function at 0x14003fb60
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 [0x1400d7280]
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.1400308c4
mov qword [rbp - 0x50], r14
cmp qword [rbx + 0x18], 8
jb 0x14003fba3
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 0x14003fe43
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 0x14003fe39
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 0x14003fc58
lea rcx, [rbp - 0x18]
call fcn.140042cb0
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 0x14003fc7a
lea rcx, [rbp - 0x30]
call fcn.140042c30
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 0x14003fdb0
cmp dword [rbp - 0x3c], 1
jne 0x14003fdb0
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 0x14003fce6
lea rcx, [rbp + 0x20]
call fcn.140005dc0
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 0x14003fd0e
lea rcx, [rbp]
call fcn.140005dc0
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.140006728
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.140006728
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14003f220
nop
lea rcx, [rbp - 0x80]
call fcn.140005f80
lea rcx, [rsp + 0x60]
call fcn.140005f80
nop
lea rcx, [rbp]
call fcn.140005f80
nop
lea rcx, [rbp + 0x20]
call fcn.140005f80
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14003fdf2
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fde1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fe5f
call fcn.140074aac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14003fe2e
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fe29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fe65
call fcn.140074aac
inc edi
cmp edi, dword [rbp - 0x48]
jb 0x14003fc36
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.140074810
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14007b80c
nop
call fcn.14007b80c
int3