Function at 0x140013390
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400a20c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x51], rcx
xor r15d, r15d
mov dword [rbp - 0x59], r15d
mov dword [rbp - 0x51], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r15w
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140013512
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea ecx, [r15 + 0x30]
call fcn.140054128
mov rdx, rax
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x140094770]
movdqu xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [str.Failed_to_read_the_registry_value.]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140093660]
movups xmmword [rax + 0x10], xmm0
movzx eax, word [0x140093670]
mov word [rdx + 0x20], ax
mov byte [rdx + 0x22], r15b
lea r8, [rdx + 0x22]
lea rcx, [rbp + 7]
call fcn.140025120
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400134b9
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400134b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001375d
call fcn.140054120
movdqa xmm0, xmmword [0x140094730]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x140013725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013720
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013751
jmp 0x140013720
mov ecx, dword [rbp - 0x59]
shr rcx, 1
mov r8, qword [rbp - 0x31]
cmp rcx, r8
ja 0x14001353a
mov qword [rbp - 0x31], rcx
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rax, qword [rbp - 0x41]
mov word [rax + rcx*2], r15w
jmp 0x140013590
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x29]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14001357e
mov qword [rbp - 0x31], rcx
lea r9, [rbp - 0x41]
cmp rdi, 7
cmova r9, qword [rbp - 0x41]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140013573
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r15w
jmp 0x140013590
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rbp - 0x41]
call fcn.140026ea0
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rax, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400136c1
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov ecx, 0x30
call fcn.140054128
mov rdx, rax
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x140094770]
movdqu xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [str.Failed_to_read_the_registry_value.]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140093660]
movups xmmword [rax + 0x10], xmm0
movzx eax, word [0x140093670]
mov word [rdx + 0x20], ax
mov byte [rdx + 0x22], 0
lea r8, [rdx + 0x22]
lea rcx, [rbp + 7]
call fcn.140025120
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14001366f
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001366a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013763
call fcn.140054120
movdqa xmm0, xmmword [0x140094730]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x140013725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013720
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013757
jmp 0x140013720
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x31]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x41]
cmova rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1400255c0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x140013725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013720
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001374b
call fcn.140054120
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140054100
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a6c0
int3
call fcn.14006a6c0
int3
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
int3