Function at 0x140009e50
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x1401c4de0]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx edi, r9b
mov rbx, r8
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x60], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
lea ecx, [r14 + 0x30]
call fcn.1401420a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r13], rax
mov dword [rsp + 0x60], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x28], r14d
mov qword [rbp - 0x20], r14
cmp qword [rbx + 0x18], 8
jb 0x140009ed6
mov rbx, qword [rbx]
mov r9d, edi
shl r9d, 9
add r9d, 0x20019
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140013200
mov r15, qword [rbp - 0x30]
test eax, eax
jne 0x14000a14e
xor edi, edi
mov r12d, edi
mov eax, edi
mov dword [rbp - 0x50], eax
test r15, r15
je 0x140009f5c
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, eax
cmp eax, 0xea
mov eax, dword [rbp - 0x50]
je 0x140009f5c
test ecx, ecx
cmovne eax, edi
inc eax
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x70], rax
nop word [rax + rax]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r14, rdi
mov qword [rbp - 0x38], rdi
mov rbx, rdi
test rax, rax
je 0x140009ffa
lea rdi, [rax + rax]
cmp rdi, 0x1000
jb 0x140009fbd
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000a185
call fcn.1401420a0
test rax, rax
je 0x14000a17f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140009fd5
test rdi, rdi
je 0x140009fcf
mov rcx, rdi
call fcn.1401420a0
mov rbx, rax
jmp 0x140009fd5
xor r14d, r14d
mov ebx, r14d
mov rsi, rbx
mov qword [rbp - 0x48], rbx
lea r14, [rdi + rbx]
mov qword [rbp - 0x38], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140144890
mov rdi, r14
mov qword [rbp - 0x40], r14
jmp 0x14000a002
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
sub rdi, rsi
sar rdi, 1
mov dword [rbp - 0x50], edi
mov edx, r12d
inc r12d
mov dword [rsp + 0x68], r12d
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
mov r8, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r12d, eax
test eax, eax
jne 0x14000a0ef
mov eax, dword [rsp + 0x64]
cmp dword [rbp - 0x50], eax
ja 0x14000a0ef
test rdi, rdi
je 0x14000a0ef
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x14000a080
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140012600
nop
mov rbx, qword [r13]
movabs rax, 0x555555555555555
cmp qword [r13 + 8], rax
je 0x14000a18b
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rdi
mov ecx, 0x30
call fcn.1401420a0
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rax + 0x20], xmm1
inc qword [r13 + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbp - 0x60], rdi
mov qword [rbx + 8], rax
mov qword [rcx], rax
jmp 0x14000a0f1
xor edi, edi
test rsi, rsi
je 0x14000a129
sub r14, rsi
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000a121
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a17f
mov rcx, rsi
call fcn.1401420dc
test r12d, r12d
jne 0x14000a13d
mov rax, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x68]
jmp 0x140009f70
test r15, r15
je 0x14000a14e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, rdi
test r15, r15
je 0x14000a15c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r13
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140142180
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140149044
int3
call fcn.140012f70
nop
lea rcx, str.list_too_long
call fcn.14011a5e8
int3