Function at 0x140033650
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 [0x1401f3030]
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.140149158
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 0x1400336d6
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.140034570
mov r15, qword [rbp - 0x30]
test eax, eax
jne 0x14003394e
xor edi, edi
mov r12d, edi
mov eax, edi
mov dword [rbp - 0x50], eax
test r15, r15
je 0x14003375c
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 0x14003375c
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 0x1400337fa
lea rdi, [rax + rax]
cmp rdi, 0x1000
jb 0x1400337bd
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140033985
call fcn.140149158
test rax, rax
je 0x14003397f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400337d5
test rdi, rdi
je 0x1400337cf
mov rcx, rdi
call fcn.140149158
mov rbx, rax
jmp 0x1400337d5
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.14014ba20
mov rdi, r14
mov qword [rbp - 0x40], r14
jmp 0x140033802
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 0x1400338ef
mov eax, dword [rsp + 0x64]
cmp dword [rbp - 0x50], eax
ja 0x1400338ef
test rdi, rdi
je 0x1400338ef
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 0x140033880
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140020fa0
nop
mov rbx, qword [r13]
movabs rax, 0x555555555555555
cmp qword [r13 + 8], rax
je 0x14003398b
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], rdi
mov ecx, 0x30
call fcn.140149158
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 0x1400338f1
xor edi, edi
test rsi, rsi
je 0x140033929
sub r14, rsi
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140033921
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003397f
mov rcx, rsi
call fcn.140149194
test r12d, r12d
jne 0x14003393d
mov rax, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x68]
jmp 0x140033770
test r15, r15
je 0x14003394e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, rdi
test r15, r15
je 0x14003395c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r13
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140149500
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401501d4
int3
call fcn.1400213a0
nop
lea rcx, str.list_too_long
call fcn.140120f84
int3