Function at 0x140032150
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 [0x1401f3030]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov qword [rbp - 0x79], r9
mov rdi, r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xor r14d, r14d
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], r14d
mov qword [rbp - 0x19], r14
cmp qword [rdx + 0x18], 8
jb 0x1400321a1
mov rdx, qword [rdx]
movzx r9d, byte [rbp + 0x7f]
shl r9d, 9
add r9d, 0x20019
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.140034570
mov r12d, eax
test eax, eax
jne 0x14003253b
mov rbx, r14
mov qword [rbp - 0x11], rbx
mov rcx, r14
mov qword [rsp + 0x38], rcx
mov qword [rbp - 9], rcx
mov rax, r14
mov qword [rsp + 0x40], rax
mov qword [rbp - 1], rax
mov eax, r14d
mov dword [rbp - 0x59], eax
mov r13, qword [rbp - 0x29]
test r13, r13
je 0x14003223e
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140032206
mov rdx, qword [rdi]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp eax, 0xea
mov eax, dword [rbp - 0x59]
je 0x140032239
test ecx, ecx
cmovne eax, r14d
mov dword [rbp - 0x59], eax
mov rcx, qword [rsp + 0x38]
mov edx, eax
test eax, eax
je 0x140032268
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x11]
call fcn.14002deb0
mov rax, qword [rbp - 1]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp - 9]
mov qword [rsp + 0x38], rcx
mov rbx, qword [rbp - 0x11]
mov rsi, rcx
sub rsi, rbx
cmp qword [rdi + 0x18], 8
jb 0x140032278
mov rdi, qword [rdi]
test rbx, rbx
je 0x14003228d
cmp esi, 2
jae 0x14003228d
mov r12d, 0x7a
jmp 0x1400324ef
lea eax, [rsi + rsi]
mov dword [rbp - 0x59], eax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
test eax, eax
jne 0x1400324ef
cmp dword [rbp - 0x51], 7
je 0x1400322ce
lea r12d, [rax + 0xd]
jmp 0x1400324ef
test rbx, rbx
je 0x140032307
mov ecx, dword [rbp - 0x59]
test cl, 1
jne 0x1400322fc
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x1400322fc
shr rcx, 1
cmp word [rbx + rcx*2 - 2], 0
jne 0x1400322fc
cmp eax, 1
jbe 0x140032307
cmp word [rbx + rcx*2 - 4], 0
je 0x140032307
mov r12d, SafeArrayDestroy
jmp 0x1400324ef
mov r12d, r14d
mov edx, r14d
mov dword [rbp - 0x59], edx
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x39], r14
mov ecx, 7
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x31], rcx
mov word [rbp - 0x49], r14w
test esi, esi
je 0x1400324b3
movabs rdi, 0x555555555555555
mov eax, edx
cmp word [rbx + rax*2], 0
je 0x1400324af
lea rdx, [rbx + rax*2]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140032354
lea rcx, [rbp - 0x49]
call fcn.140020fa0
mov rax, qword [r15]
mov qword [rbp - 0x71], rax
cmp qword [r15 + 8], rdi
je 0x140032588
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r14
mov ecx, 0x30
call fcn.140149158
mov rdi, rax
mov qword [rbp - 0x61], rax
mov qword [rax + 0x10], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
lea r15, [rbp - 0x49]
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x51], rcx
cmp rcx, 8
cmovae r15, qword [rbp - 0x49]
mov r14, qword [rbp - 0x39]
cmp r14, 8
jae 0x1400323cf
movups xmm0, xmmword [r15]
movups xmmword [rax + 0x10], xmm0
mov esi, 7
jmp 0x14003245f
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 0x140032582
add rcx, rcx
cmp rcx, 0x1000
jb 0x140032439
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140032582
mov rcx, rax
call fcn.140149158
mov rcx, rax
test rax, rax
je 0x14003257c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140032447
test rcx, rcx
je 0x140032445
call fcn.140149158
jmp 0x140032447
xor eax, eax
mov qword [rdi + 0x10], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14014b350
nop
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], rsi
mov r15, qword [rbp - 0x79]
inc qword [r15 + 8]
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx + 8]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rbp - 0x61], 0
mov qword [rcx + 8], rdi
mov qword [rax], rdi
mov dword [rbp - 0x39], r14d
mov edx, dword [rbp - 0x59]
inc edx
add edx, r14d
mov dword [rbp - 0x59], edx
mov rax, qword [rsp + 0x38]
sub rax, rbx
xor r14d, r14d
cmp edx, eax
jb 0x140032332
mov rcx, qword [rbp - 0x51]
cmp rcx, 8
jb 0x1400324ef
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400324ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032576
call fcn.140149194
test r13, r13
je 0x140032500
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r14
test rbx, rbx
je 0x14003253f
mov rcx, qword [rsp + 0x40]
sub rcx, rbx
mov rax, rbx
cmp rcx, 0x1000
jb 0x14003252e
add rcx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032570
mov rdx, rcx
mov rcx, rbx
call fcn.140149194
jmp 0x14003253f
mov r13, qword [rbp - 0x29]
test r13, r13
je 0x14003254d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r12d
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140149500
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401501d4
nop
call fcn.1401501d4
nop
call fcn.1401501d4
int3
call fcn.1400213a0
nop
lea rcx, str.list_too_long
call fcn.140120f84
int3