Function at 0x1400a5840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402dc040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r9
mov rax, r8
mov rbx, rcx
mov qword [rbp - 0x48], rcx
xor esi, esi
cmp qword [r8 + 0x18], 7
jbe 0x1400a5879
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 0x1400a58d9
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a58ac
mov rdx, qword [rdi]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400a58fe
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14026e0f8]
mov rcx, rbx
call fcn.1400678c0
jmp 0x1400a5a7a
cmp dword [rbp - 0x18], 1
jne 0x1400a58cf
mov r8d, dword [rbp - 0x40]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
lea rcx, [rbp - 0x38]
call fcn.1400a70f0
nop
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
cmp qword [rdi + 0x18], 7
jbe 0x1400a593c
mov rdi, qword [rdi]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x48]
test eax, eax
je 0x1400a5990
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14026e0f8]
mov rcx, rbx
call fcn.1400678c0
jmp 0x1400a5a71
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdi, [rbp - 0x38]
mov r11, qword [rbp - 0x38]
mov r10, qword [rbp - 0x20]
cmp r10, 7
cmova rdi, r11
mov r9, qword [rbp - 0x28]
test r9, r9
je 0x1400a5a52
mov rax, r9
mov rcx, rdi
mov rdx, rsi
cmp word [rdi], dx
je 0x1400a59d7
cmp rax, 1
je 0x1400a59da
dec rax
add rcx, 2
cmp word [rcx], dx
jne 0x1400a59c5
mov rdx, rcx
test rdx, rdx
je 0x1400a5a52
sub rdx, rdi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x1400a5a52
cmp rdx, r9
ja 0x1400a5a06
mov qword [rbp - 0x28], rdx
lea rax, [rbp - 0x38]
cmp r10, 7
cmova rax, r11
mov word [rax + rdx*2], si
jmp 0x1400a5a52
mov r8, rdx
sub r8, r9
mov rax, r10
sub rax, r9
cmp r8, rax
ja 0x1400a5a43
mov qword [rbp - 0x28], rdx
lea rdx, [rbp - 0x38]
cmp r10, 7
cmova rdx, r11
lea rdi, [rdx + r9*2]
test r8, r8
je 0x1400a5a39
movzx eax, si
mov rcx, r8
rep stosw word [rdi], ax
lea rax, [r9 + r8]
mov word [rdx + rax*2], si
jmp 0x1400a5a52
mov r9, r8
mov rdx, r8
lea rcx, [rbp - 0x38]
call fcn.140068330
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
lea rcx, [rbp - 0x38]
call fcn.140063360
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14016dfe0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret