Function at 0x140041570
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa20]
sub rsp, 0xb20
mov rax, qword [0x1400f63f8]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov qword [rbp - 0x70], r8
mov rbx, rdx
mov qword [rbp - 0x78], rdx
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x10]
call fcn.1400878c0
mov dword [rsp + 0x6c], 0xff
xor edi, edi
mov dword [rsp + 0x68], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6c]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14004185d
mov ecx, dword [rsp + 0x64]
test ecx, ecx
je 0x14004185d
mov r15d, edi
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x70], 0x400
mov word [rbp + 0x210], di
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x210]
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14004184f
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
xor r8d, r8d
lea rdx, [0x1400d8ed0]
lea rcx, [rbp - 0x10]
call fcn.140003b60
nop
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
lea rax, [rbp + 0x210]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400416e1
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x50]
call fcn.140003b60
nop
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
lea rsi, [rbp - 0x10]
mov r12, qword [rbp + 8]
cmp r12, 8
setae r13b
mov rdi, qword [rbp - 0x10]
cmovae rsi, rdi
mov r14, qword [rbp]
cmp r14, 8
jae 0x14004173c
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], 7
jmp 0x140041780
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x30]
call fcn.140003ea0
mov qword [rbp - 0x30], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140087210
mov qword [rbp - 0x18], rbx
mov rbx, qword [rbp - 0x78]
mov qword [rbp - 0x20], r14
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
call fcn.140040910
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400417d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041887
call fcn.140084c40
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140041813
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004180d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041887
call fcn.140084c40
nop
test r13b, r13b
je 0x140041849
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140041841
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004188d
mov rcx, rdi
call fcn.140084c40
xor edi, edi
mov eax, dword [rsp + 0x60]
inc r15d
cmp r15d, dword [rsp + 0x64]
jb 0x140041650
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140085660
mov rbx, qword [rsp + 0xb60]
add rsp, 0xb20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14008c334
nop
call fcn.14008c334
int3