Function at 0x1401316b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x20]
mov r8, r15
mov rdx, rsi
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov qword [rbp - 1], r12
mov edx, dword [rbp - 0x49]
shr rdx, 1
je 0x140131740
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x11]
call fcn.14003eb20
nop dword [rax + rax]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x20
mov r8, r15
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test ebx, ebx
je 0x1401317fc
cmp byte [rbp + 0x7f], 0
jne 0x140131bdb
mov qword [r14], r12
mov qword [r14 + 8], r12
mov ecx, 0x30
call fcn.1401a9cf4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14], rax
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1401317d9
mov rdx, qword [rbp - 1]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401317d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140131bd5
call fcn.1401a9a50
mov rax, r14
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, dword [rbp - 0x49]
shr rcx, 1
mov r9, qword [rbp - 9]
mov rdx, r9
mov r8, qword [rbp - 0x11]
sub rdx, r8
sar rdx, 1
cmp rcx, rdx
jae 0x140131822
lea rax, [r8 + rcx*2]
mov qword [rbp - 9], rax
jmp 0x14013185f
jbe 0x14013185f
mov rax, qword [rbp - 1]
sub rax, r8
sar rax, 1
cmp rcx, rax
jbe 0x140131846
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rbp - 0x11]
call fcn.14003eb20
jmp 0x14013185f
sub rcx, rdx
lea r8, [rcx + rcx]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.1401d04f0
mov qword [rbp - 9], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov ecx, 0x30
call fcn.1401a9cf4
mov r15, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], r12
mov rdi, r12
mov qword [rbp - 0x21], r12
mov ebx, 7
mov qword [rbp - 0x19], rbx
mov word [rbp - 0x31], r12w
mov r13, qword [rbp - 0x11]
mov rax, qword [rbp - 9]
mov qword [rsp + 0x50], rax
mov rsi, qword [rbp - 0x31]
cmp r13, rax
je 0x140131b10
movabs rdx, 0x7ffffffffffffffe
lea r8, [rbx - 8]
movabs rax, 0x555555555555555
movzx r12d, word [r13]
test r12w, r12w
jne 0x1401319d6
cmp qword [rbp - 0x39], rax
je 0x140131c06
lea rax, [rbp - 0x41]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x79], 0
mov ecx, 0x30
call fcn.1401a9cf4
mov r14, rax
mov qword [rbp - 0x79], rax
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], rax
lea rax, [rbp - 0x31]
cmp rbx, 8
cmovae rax, rsi
mov qword [rsp + 0x48], rax
cmp rdi, 8
jae 0x140131939
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x10], xmm0
mov ebx, 7
jmp 0x140131977
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [r14 + 0x10]
call fcn.140023c30
mov qword [r14 + 0x10], rax
lea r8, [rdi*2 + 2]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1401cfe40
mov qword [r14 + 0x20], rdi
mov qword [r14 + 0x28], rbx
inc qword [rbp - 0x39]
mov rax, qword [r15 + 8]
mov qword [r14], r15
mov qword [r14 + 8], rax
xor r12d, r12d
mov qword [rbp - 0x79], r12
mov qword [r15 + 8], r14
mov qword [rax], r14
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
lea rcx, [rbp - 0x31]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [rbp - 0x21], xmm1
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x21]
mov rsi, qword [rbp - 0x31]
jmp 0x140131ae6
cmp rdi, rbx
jae 0x140131a0e
lea rax, [rdi + 1]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x31]
cmp rbx, 8
cmovae rax, rsi
mov word [rax + rdi*2], r12w
xor r12d, r12d
mov word [rax + rdi*2 + 2], r12w
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x21]
mov rsi, qword [rbp - 0x31]
jmp 0x140131af7
mov qword [rsp + 0x48], rdi
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x140131c13
inc rdi
mov r14, rbx
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x140131a3a
mov rbx, rdx
jmp 0x140131a5b
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x140131a50
mov rbx, rdx
jmp 0x140131a5b
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r8
lea rcx, [rbp - 0x31]
call fcn.140023c30
mov r15, rax
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], rbx
mov rax, qword [rsp + 0x48]
add rax, rax
mov r8, rax
mov rcx, r15
cmp r14, 8
jb 0x140131abf
mov rdx, rsi
call fcn.1401cfe40
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rcx]
mov word [rax + r15], r12w
xor r12d, r12d
mov word [rax + r15 + 2], r12w
lea r8, [r14 + 1]
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140023c60
jmp 0x140131adf
lea rdx, [rbp - 0x31]
call fcn.1401cfe40
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rcx]
mov word [rax + r15], r12w
xor r12d, r12d
mov word [rax + r15 + 2], r12w
mov qword [rbp - 0x31], r15
mov rsi, r15
movabs rdx, 0x7ffffffffffffffe
mov r8, 0xffffffffffffffff
add r13, 2
cmp r13, qword [rsp + 0x50]
je 0x140131b0b
mov r15, qword [rbp - 0x41]
jmp 0x1401318c0
mov r14, qword [rsp + 0x58]
mov qword [r14], r12
mov qword [r14 + 8], r12
mov edx, 1
mov rcx, r14
call fcn.14002a180
mov rcx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov rax, qword [rbp - 0x41]
mov qword [r14], rax
mov qword [rbp - 0x41], rcx
mov rcx, qword [r14 + 8]
mov rax, qword [rbp - 0x39]
mov qword [r14 + 8], rax
mov qword [rbp - 0x39], rcx
cmp rbx, 8
jb 0x140131b81
lea rdx, [rbx*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140131b78
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140131bcf
mov rcx, rsi
call fcn.1401a9a50
nop
lea rcx, [rbp - 0x41]
call fcn.140022320
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1401317d9
mov rdx, qword [rbp - 1]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401317d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140131bd5
jmp 0x1401317d4
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, ebx
lea rcx, [rbp - 0x71]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rbp - 0x71]
call fcn.1401cfc8c
nop
lea rcx, str.list_too_long
call fcn.1401ac51c
int3
call fcn.1400153e0
int3