Function at 0x1400954a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402ba030]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r9
mov rax, r8
mov rbx, rcx
mov qword [rbp - 0x48], rcx
xor r15d, r15d
cmp qword [r8 + 0x18], 8
jb 0x1400954de
mov rax, qword [r8]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009553e
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140095511
mov rdx, qword [r14]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140095563
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
xor r8d, r8d
lea rdx, [0x1402503e8]
mov rcx, rbx
call fcn.140063c80
jmp 0x14009573e
cmp dword [rbp - 0x18], 1
jne 0x140095534
mov esi, dword [rbp - 0x40]
shr rsi, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
cmp rsi, 8
jae 0x1400955a7
mov qword [rbp - 0x28], rsi
test rsi, rsi
je 0x14009559f
movzx eax, r15w
lea rdi, [rbp - 0x38]
mov rcx, rsi
rep stosw word [rdi], ax
mov word [rbp + rsi*2 - 0x38], r15w
jmp 0x1400955e4
mov rdi, rsi
or rdi, 7
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.140065e60
mov rdx, rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rdi
movzx eax, r15w
mov rdi, rdx
mov rcx, rsi
rep stosw word [rdi], ax
mov word [rdx + rsi*2], r15w
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
cmp qword [r14 + 0x18], 8
jb 0x1400955fc
mov r14, qword [r14]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x48]
test eax, eax
je 0x140095650
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
xor r8d, r8d
lea rdx, [0x1402503e8]
mov rcx, rbx
call fcn.140063c80
jmp 0x140095735
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdi, [rbp - 0x38]
mov r11, qword [rbp - 0x38]
mov r10, qword [rbp - 0x20]
cmp r10, 8
cmovae rdi, r11
mov r9, qword [rbp - 0x28]
test r9, r9
je 0x140095715
mov rax, r9
mov rcx, rdi
mov rdx, r15
cmp word [rdi], dx
je 0x140095697
cmp rax, 1
je 0x14009569a
dec rax
add rcx, 2
cmp word [rcx], dx
jne 0x140095685
mov rdx, rcx
test rdx, rdx
je 0x140095715
sub rdx, rdi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x140095715
cmp rdx, r9
ja 0x1400956c7
lea rax, [rbp - 0x38]
cmp r10, 8
cmovae rax, r11
mov qword [rbp - 0x28], rdx
mov word [rax + rdx*2], r15w
jmp 0x140095715
mov r8, rdx
sub r8, r9
mov rax, r10
sub rax, r9
cmp r8, rax
ja 0x140095706
mov qword [rbp - 0x28], rdx
lea rdx, [rbp - 0x38]
cmp r10, 8
cmovae rdx, r11
lea rdi, [rdx + r9*2]
test r8, r8
je 0x1400956fb
movzx eax, r15w
mov rcx, r8
rep stosw word [rdi], ax
lea rax, [r9 + r8]
mov word [rdx + rax*2], r15w
jmp 0x140095715
mov r9, r8
mov rdx, r8
lea rcx, [rbp - 0x38]
call fcn.140064780
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
lea rcx, [rbp - 0x38]
call fcn.14005f270
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401526c0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret