Function at 0x14006a7d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r15d, r15d
lea rax, [rsp + 0x40]
mov r14, rdx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, 0xffffffff80000000
mov r9d, 0x2001f
mov ebx, r15d
lea r8d, [r15 + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006ab58
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x6c0], rsi
mov esi, r15d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006ab45
mov qword [rsp + 0x6d0], rdi
nop
inc esi
cmp word [rsp + 0x60], 0x2e
jne 0x14006aaed
mov r8d, 1
lea rdx, str..zip_.rar_.doc_.docx_.ppt_.pptx_.psd_.xls_.xlsx_.bmp_.contact_.jnt_.library_ms_.lnk_.rtf_.txt_
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006aaed
lea r9, [rsp + 0x60]
mov edx, 0x104
lea r8, [0x1403223d8]
lea rcx, [rbp + 0x380]
call fcn.14004e9f0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x48], r15
lea rdx, [rbp + 0x380]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14006a95c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006a90b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
lea rcx, [rbx + 0x210]
mov qword [rbx], 0xffffffff80000000
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.140285f3c
lea r9, [rsp + 0x60]
mov r8, rbx
mov rdx, r14
call fcn.14006a460
mov ebx, eax
jmp 0x14006aaed
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006aaed
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x170]
mov edi, r15d
call fcn.1402767a0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x170]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006aae2
lea r9, [rbp + 0x170]
mov edx, 0x104
lea r8, str._sShellNew
inc edi
lea rcx, [rbp + 0x380]
call fcn.14004e9f0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x48], r15
lea rdx, [rbp + 0x380]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14006aa8e
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006aa42
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
lea rcx, [rbx + 0x210]
mov qword [rbx], 0xffffffff80000000
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.140285f3c
lea r9, [rsp + 0x60]
mov r8, rbx
mov rdx, r14
call fcn.14006a460
mov ebx, eax
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.1402767a0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x170]
mov qword [rsp + 0x30], r15
mov edx, edi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a9e1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1402767a0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r15
mov edx, esi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a880
mov rdi, qword [rsp + 0x6d0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x6c0]
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x6a0
pop r15
pop r14
pop rbp
ret