Function at 0x140039560
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov r14, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rbp + 0x77], ebx
mov dword [rbp + 0x67], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rbp + 0x67]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400395d6
mov dword [r14], eax
mov byte [r14 + 0x18], bl
jmp 0x14003986e
mov eax, dword [rbp + 0x67]
inc eax
mov dword [rbp + 0x67], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rdi, rax
mov rax, 0xffffffffffffffff
cmovb rdi, rax
mov rcx, rdi
call fcn.14000d790
mov r15, rax
test rax, rax
je 0x140039615
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400a6950
jmp 0x140039618
mov r15, rbx
mov qword [rbp - 0x21], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
mov ecx, dword [rbp + 0x77]
mov qword [rbp + 0x7f], rcx
test ecx, ecx
je 0x140039643
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x19]
call fcn.140056480
mov ecx, dword [rbp + 0x77]
mov esi, ebx
mov rdi, qword [rbp - 0x11]
test ecx, ecx
je 0x14003973a
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x29], eax
mov dword [rbp + 0x7f], ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x29]
mov r8, r15
mov edx, esi
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400397c7
mov r8d, dword [rbp - 0x29]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], rbx
mov rdx, r15
lea rcx, [rbp - 1]
call fcn.140030bc0
nop
cmp rdi, qword [rbp - 9]
je 0x1400396db
movups xmm0, xmmword [rbp - 1]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xf]
movups xmmword [rdi + 0x10], xmm1
mov ecx, 7
mov word [rbp - 1], bx
mov eax, dword [rbp + 0x7f]
mov dword [rdi + 0x20], eax
add rdi, 0x28
mov qword [rbp - 0x11], rdi
jmp 0x1400396f7
lea r9, [rbp + 0x7f]
lea r8, [rbp - 1]
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.14005c830
mov rdi, qword [rbp - 0x11]
mov rcx, qword [rbp + 0x17]
cmp rcx, 7
jbe 0x14003972f
lea rax, [rcx*2 + 2]
mov rcx, qword [rbp - 1]
mov rdx, rcx
cmp rax, 0x1000
jb 0x140039729
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14003988f
call fcn.14000da60
nop
inc esi
cmp esi, dword [rbp + 0x77]
jb 0x140039651
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov rcx, rdi
mov rsi, qword [rbp - 0x19]
sub rcx, rsi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140039851
movabs rax, 0x666666666666666
cmp rdx, rax
ja 0x140039889
lea rax, [rdx + rdx*4]
lea r12, [rax*8]
test r12, r12
je 0x1400397fb
cmp r12, 0x1000
jb 0x1400397f0
lea rcx, [r12 + 0x27]
cmp rcx, r12
jbe 0x140039895
call fcn.14000d790
test rax, rax
je 0x140039883
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400397fb
mov dword [r14], eax
mov byte [r14 + 0x18], 0
lea rcx, [rbp - 0x19]
call fcn.140053b00
nop
test r15, r15
je 0x14003986e
mov rcx, r15
call fcn.14000da60
nop
jmp 0x14003986e
mov rcx, r12
call fcn.14000d790
mov rbx, rax
mov qword [r14], rbx
mov qword [r14 + 8], rbx
lea rcx, [r12 + rbx]
mov qword [r14 + 0x10], rcx
mov qword [rbp + 0x7f], r14
mov qword [rbp - 1], rbx
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], r14
cmp rsi, rdi
je 0x140039842
nop
mov rdx, rsi
mov rcx, rbx
call fcn.140051930
mov eax, dword [rsi + 0x20]
mov dword [rbx + 0x20], eax
add rbx, 0x28
mov qword [rbp + 7], rbx
add rsi, 0x28
cmp rsi, rdi
jne 0x140039820
mov rdx, rbx
mov rcx, rbx
call fcn.140057600
mov qword [r14 + 8], rbx
mov byte [r14 + 0x18], 1
lea rcx, [rbp - 0x19]
call fcn.140053b00
nop
test r15, r15
je 0x14003986e
mov rcx, r15
call fcn.14000da60
nop
mov rax, r14
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140087d64
nop
call fcn.140002050
int3
call fcn.140087d64
int3
call fcn.140001160
int3