Function at 0x140003300
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14009f100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x18], rdx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov dword [rbp - 0x18], r12d
movzx ebx, byte [rbp - 0x40]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003360
mov r8, qword [rsi]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor edx, edx
mov r9d, 2
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140003561
mov ecx, dword [rbp - 0x18]
shr rcx, 1
mov r8, qword [rbp - 0x28]
cmp rcx, r8
ja 0x1400033b4
mov qword [rbp - 0x28], rcx
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov word [rax + rcx*2], r12w
jmp 0x14000340e
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x20]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400033f8
mov qword [rbp - 0x28], rcx
lea r9, [rbp - 0x38]
cmp rdi, 7
cmova r9, qword [rbp - 0x38]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400033ed
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x14000340e
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, bl
lea rcx, [rbp - 0x38]
call fcn.14000a160
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140003429
mov r8, qword [rsi]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor edx, edx
mov r9d, 2
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0xea
je 0x140003353
test eax, eax
je 0x1400034c5
mov dword [r14], eax
mov byte [r14 + 0x20], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400034a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000349f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400035ac
call fcn.140036bb4
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140036840
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, dword [rbp - 0x18]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x28]
cmp rcx, r8
ja 0x1400034f0
mov qword [rbp - 0x28], rcx
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov word [rax + rcx*2], r12w
jmp 0x14000354b
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x20]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140003534
mov qword [rbp - 0x28], rcx
lea r9, [rbp - 0x38]
cmp rdi, 7
cmova r9, qword [rbp - 0x38]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140003529
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x14000354b
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.14000a160
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.140002210
mov byte [r14 + 0x20], 1
jmp 0x140003464
mov dword [r14], eax
mov byte [r14 + 0x20], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400034a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000349f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000349f
call fcn.140046420
int3