Function at 0x14005b450
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x9b0], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
lea edx, [r15 + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14000d860
mov qword [rsp + 0x68], 0x28
mov qword [rsp + 0x70], 0x2f
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov qword [rax + 0x48], r15
mov word [rax + 0x50], r15w
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, rax
mov r8d, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov qword [rsp + 0x30], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
lea r8d, [r15 + 0x4b]
lea rdx, [0x1400a6780]
lea rcx, [rsp + 0x78]
call fcn.14000d6c0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1400b9f10]
lea rcx, [rsp + 0x78]
call fcn.14000edd0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.14000edd0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005b62b
mov dword [rsp + 0x38], 0x208
mov dword [rsp + 0x3c], r15d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, [0x1400a6818]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b620
lea rax, [rbp + 0x7a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b5f3
lea rdx, [rbp + 0x7a0]
mov rcx, r14
call fcn.14000d6c0
mov sil, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005b741
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, 0x10
lea rcx, [rsp + 0x40]
call fcn.14001e560
xor sil, sil
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14005b170
mov r8, qword [rsp + 0x40]
test al, al
je 0x14005b702
mov rbx, r15
mov rdx, qword [rsp + 0x48]
sub rdx, r8
sar rdx, 4
test rdx, rdx
je 0x14005b702
mov rcx, r8
inc rbx
mov rax, qword [rdi]
cmp rax, qword [rcx]
jne 0x14005b695
mov rax, qword [rdi + 8]
cmp rax, qword [rcx + 8]
je 0x14005b6a0
add rcx, 0x10
cmp rbx, rdx
jae 0x14005b702
jmp 0x14005b680
xor r8d, r8d
mov edx, 0x3eb
lea rcx, [rbp - 0x60]
call fcn.1400591e0
mov r9, rax
mov qword [rsp + 0x20], rbx
lea r8, [0x1400a5760]
mov edx, 0x104
lea rcx, [rbp + 0x7a0]
call fcn.140004d10
lea rax, [rbp + 0x7a0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b6e0
lea rdx, [rbp + 0x7a0]
mov rcx, r14
call fcn.14000d6c0
mov sil, 1
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14005b741
mov rdx, qword [rsp + 0x50]
sub rdx, r8
and rdx, 0xfffffffffffffff0
mov rax, r8
cmp rdx, 0x1000
jb 0x14005b738
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b802
mov rcx, r8
call fcn.14006fc78
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14005b782
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b77d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b808
call fcn.14006fc78
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14005b7d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b7cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b7fc
call fcn.14006fc78
movzx eax, sil
mov rcx, qword [rbp + 0x9b0]
xor rcx, rsp
call fcn.14006fd90
mov rbx, qword [rsp + 0xb08]
add rsp, 0xac0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14007698c
nop
call fcn.14007698c
nop
call fcn.14007698c
int3