Function at 0x140038320
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov r15, rdx
mov r12, rcx
xor edi, edi
mov dword [rbp + 0x77], edi
mov dword [rbp + 0x67], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14003839b
mov dword [r15], eax
mov byte [r15 + 0x18], dil
jmp 0x14003863f
mov eax, dword [rbp + 0x67]
inc eax
mov dword [rbp + 0x67], eax
mov ecx, eax
mov eax, 2
mul rcx
mov rsi, rax
mov rax, 0xffffffffffffffff
cmovo rsi, rax
mov rcx, rsi
call fcn.14000d580
mov rbx, rax
test rax, rax
je 0x1400383da
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14007b770
jmp 0x1400383dd
mov rbx, rdi
mov qword [rbp - 0x21], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rdi
mov eax, dword [rbp + 0x77]
mov edx, eax
test eax, eax
je 0x140038402
lea rcx, [rbp - 0x11]
call fcn.1400514d0
mov eax, dword [rbp + 0x77]
mov r14d, edi
mov rsi, qword [rbp - 9]
test eax, eax
je 0x140038502
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x29], eax
mov dword [rbp + 0x7f], edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x29]
mov r8, rbx
mov edx, r14d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003858c
mov r8d, dword [rbp - 0x29]
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], di
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.14002b540
nop
cmp rsi, qword [rbp - 1]
je 0x1400384a1
movups xmm0, xmmword [rbp + 7]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rsi + 0x10], xmm1
mov ecx, 7
mov word [rbp + 7], di
mov eax, dword [rbp + 0x7f]
mov dword [rsi + 0x20], eax
add rsi, 0x28
mov qword [rbp - 9], rsi
jmp 0x1400384bd
lea r9, [rbp + 0x7f]
lea r8, [rbp + 7]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140053dd0
mov rsi, qword [rbp - 9]
mov rcx, qword [rbp + 0x1f]
cmp rcx, 8
jb 0x1400384f5
lea rax, [rcx*2 + 2]
mov rcx, qword [rbp + 7]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400384ef
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140038669
call fcn.14000d830
nop
inc r14d
cmp r14d, dword [rbp + 0x77]
jb 0x140038411
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov r14, qword [rbp - 0x11]
cmp r14, rsi
je 0x140038622
mov rcx, rsi
sub rcx, r14
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movabs rax, 0x666666666666666
cmp rdx, rax
ja 0x140038663
lea rax, [rdx + rdx*4]
lea r13, [rax*8]
cmp r13, 0x1000
jb 0x1400385b5
lea rcx, [r13 + 0x27]
cmp rcx, r13
jbe 0x140038663
call fcn.14000d580
test rax, rax
je 0x14003865d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400385c5
mov dword [r15], eax
mov byte [r15 + 0x18], 0
lea rcx, [rbp - 0x11]
call fcn.140051440
nop
test rbx, rbx
je 0x14003863f
mov rcx, rbx
call fcn.14000d830
nop
jmp 0x14003863f
test r13, r13
je 0x1400385c5
mov rcx, r13
call fcn.14000d580
mov rdi, rax
mov qword [r15], rdi
mov qword [r15 + 8], rdi
lea rax, [rdi + r13]
mov qword [r15 + 0x10], rax
mov qword [rbp - 0x19], r15
mov rdi, qword [r15]
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], r15
nop word [rax + rax]
mov rdx, r14
mov rcx, rdi
call fcn.14004f3e0
mov eax, dword [r14 + 0x20]
mov dword [rdi + 0x20], eax
add rdi, 0x28
mov qword [rbp + 0xf], rdi
add r14, 0x28
cmp r14, rsi
jne 0x1400385f0
mov rdx, rdi
mov rcx, rdi
call fcn.140056320
mov qword [r15 + 8], rdi
mov byte [r15 + 0x18], 1
lea rcx, [rbp - 0x11]
call fcn.140051440
nop
test rbx, rbx
je 0x14003863f
mov rcx, rbx
call fcn.14000d830
nop
mov rax, r15
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007f5d4
nop
call fcn.140001160
int3
call fcn.14007f5d4
int3