Function at 0x140008f40
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, 0xd8
mov rax, qword [0x1401c4de0]
xor rax, rsp
mov qword [rbp - 1], rax
mov r15, r9
mov qword [rsp + 0x40], r9
mov rdi, r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xor r14d, r14d
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], r14d
mov qword [rbp - 0x21], r14
cmp qword [rdx + 0x18], 8
jb 0x140008f92
mov rdx, qword [rdx]
movzx r9d, byte [rbp + 0x7f]
shl r9d, 9
add r9d, 0x20019
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.140013200
mov r12d, eax
test eax, eax
jne 0x140009328
mov rbx, r14
mov qword [rbp - 0x19], rbx
mov rcx, r14
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x11], rcx
mov rax, r14
mov qword [rsp + 0x38], rax
mov qword [rbp - 9], rax
mov eax, r14d
mov dword [rbp - 0x61], eax
mov r13, qword [rbp - 0x31]
test r13, r13
je 0x14000902f
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140008ff7
mov rdx, qword [rdi]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x59]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp eax, 0xea
mov eax, dword [rbp - 0x61]
je 0x14000902a
test ecx, ecx
cmovne eax, r14d
mov dword [rbp - 0x61], eax
mov rcx, qword [rsp + 0x30]
mov edx, eax
test eax, eax
je 0x140009054
lea rcx, [rbp - 0x19]
call fcn.1400107c0
mov rax, qword [rbp - 9]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x11]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rbp - 0x19]
mov rsi, rcx
sub rsi, rbx
cmp qword [rdi + 0x18], 8
jb 0x140009064
mov rdi, qword [rdi]
test rbx, rbx
je 0x140009079
cmp esi, 2
jae 0x140009079
mov r12d, 0x7a
jmp 0x1400092dc
lea eax, [rsi + rsi]
mov dword [rbp - 0x61], eax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x59]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
test eax, eax
jne 0x1400092dc
cmp dword [rbp - 0x59], 7
je 0x1400090ba
lea r12d, [rax + 0xd]
jmp 0x1400092dc
test rbx, rbx
je 0x1400090f3
mov ecx, dword [rbp - 0x61]
test cl, 1
jne 0x1400090e8
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x1400090e8
shr rcx, 1
cmp word [rbx + rcx*2 - 2], 0
jne 0x1400090e8
cmp eax, 1
jbe 0x1400090f3
cmp word [rbx + rcx*2 - 4], 0
je 0x1400090f3
mov r12d, 0xd
jmp 0x1400092dc
mov r12d, r14d
mov edx, r14d
mov dword [rbp - 0x61], edx
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x41], r14
mov ecx, 7
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x39], rcx
mov word [rbp - 0x51], r14w
test esi, esi
je 0x1400092a0
movabs rdi, 0x555555555555555
mov eax, edx
cmp word [rbx + rax*2], 0
je 0x14000929c
lea rdx, [rbx + rax*2]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140009140
lea rcx, [rbp - 0x51]
call fcn.140012600
mov rax, qword [r15]
mov qword [rbp - 0x79], rax
cmp qword [r15 + 8], rdi
je 0x140009375
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], r14
mov ecx, 0x30
call fcn.1401420a0
mov rdi, rax
mov qword [rbp - 0x69], rax
mov qword [rax + 0x10], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
lea r15, [rbp - 0x51]
mov rcx, qword [rbp - 0x39]
mov qword [rbp - 0x59], rcx
cmp rcx, 8
cmovae r15, qword [rbp - 0x51]
mov r14, qword [rbp - 0x41]
cmp r14, 8
jae 0x1400091bb
movups xmm0, xmmword [r15]
movups xmmword [rax + 0x10], xmm0
mov esi, 7
jmp 0x14000924b
mov rsi, r14
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000936f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140009225
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000936f
mov rcx, rax
call fcn.1401420a0
mov rcx, rax
test rax, rax
je 0x140009369
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140009233
test rcx, rcx
je 0x140009231
call fcn.1401420a0
jmp 0x140009233
xor eax, eax
mov qword [rdi + 0x10], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.1401441e0
nop
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], rsi
mov r15, qword [rsp + 0x40]
inc qword [r15 + 8]
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx + 8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rbp - 0x69], 0
mov qword [rcx + 8], rdi
mov qword [rax], rdi
mov dword [rbp - 0x41], r14d
mov edx, dword [rbp - 0x61]
inc edx
add edx, r14d
mov dword [rbp - 0x61], edx
mov rax, qword [rsp + 0x30]
sub rax, rbx
xor r14d, r14d
cmp edx, eax
jb 0x14000911e
mov rcx, qword [rbp - 0x59]
cmp rcx, 8
jb 0x1400092dc
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009363
call fcn.1401420dc
test r13, r13
je 0x1400092ed
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r14
test rbx, rbx
je 0x14000932c
mov rcx, qword [rsp + 0x38]
sub rcx, rbx
mov rax, rbx
cmp rcx, 0x1000
jb 0x14000931b
add rcx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000935d
mov rdx, rcx
mov rcx, rbx
call fcn.1401420dc
jmp 0x14000932c
mov r13, qword [rbp - 0x31]
test r13, r13
je 0x14000933a
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r12d
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140142180
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140149044
nop
call fcn.140149044
nop
call fcn.140149044
int3
call fcn.140012f70
nop
lea rcx, str.list_too_long
call fcn.14011a5e8
int3