Function at 0x1401310c0
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 [0x1402be5c8]
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 0x140131150
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 0x14013120c
cmp byte [rbp + 0x7f], 0
jne 0x1401315eb
mov qword [r14], r12
mov qword [r14 + 8], r12
mov ecx, 0x30
call fcn.1401a9704
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14], rax
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1401311e9
mov rdx, qword [rbp - 1]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401311e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401315e5
call fcn.1401a9460
mov rax, r14
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401a9440
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 0x140131232
lea rax, [r8 + rcx*2]
mov qword [rbp - 9], rax
jmp 0x14013126f
jbe 0x14013126f
mov rax, qword [rbp - 1]
sub rax, r8
sar rax, 1
cmp rcx, rax
jbe 0x140131256
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rbp - 0x11]
call fcn.14003eb20
jmp 0x14013126f
sub rcx, rdx
lea r8, [rcx + rcx]
lea rbx, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.1401cff00
mov qword [rbp - 9], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov ecx, 0x30
call fcn.1401a9704
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 0x140131520
movabs rdx, 0x7ffffffffffffffe
lea r8, [rbx - 8]
movabs rax, 0x555555555555555
movzx r12d, word [r13]
test r12w, r12w
jne 0x1401313e6
cmp qword [rbp - 0x39], rax
je 0x140131616
lea rax, [rbp - 0x41]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x79], 0
mov ecx, 0x30
call fcn.1401a9704
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 0x140131349
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x10], xmm0
mov ebx, 7
jmp 0x140131387
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.1401cf850
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 0x1401314f6
cmp rdi, rbx
jae 0x14013141e
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 0x140131507
mov qword [rsp + 0x48], rdi
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x140131623
inc rdi
mov r14, rbx
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
jbe 0x14013144a
mov rbx, rdx
jmp 0x14013146b
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x140131460
mov rbx, rdx
jmp 0x14013146b
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 0x1401314cf
mov rdx, rsi
call fcn.1401cf850
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 0x1401314ef
lea rdx, [rbp - 0x31]
call fcn.1401cf850
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 0x14013151b
mov r15, qword [rbp - 0x41]
jmp 0x1401312d0
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 0x140131591
lea rdx, [rbx*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140131588
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401315df
mov rcx, rsi
call fcn.1401a9460
nop
lea rcx, [rbp - 0x41]
call fcn.140022320
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1401311e9
mov rdx, qword [rbp - 1]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401311e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401315e5
jmp 0x1401311e4
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, ebx
lea rcx, [rbp - 0x71]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rbp - 0x71]
call fcn.1401cf69c
nop
lea rcx, str.list_too_long
call fcn.1401abf2c
int3
call fcn.1400153e0
int3