Function at 0x14006bf00
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 [0x1403a8088]
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 0x14006c288
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 0x14006c275
mov qword [rsp + 0x6d0], rdi
nop
inc esi
cmp word [rsp + 0x60], 0x2e
jne 0x14006c21d
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 0x14006c21d
lea r9, [rsp + 0x60]
mov edx, 0x104
lea r8, [0x140327388]
lea rcx, [rbp + 0x380]
call fcn.14004ebd0
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 0x14006c08c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006c03b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x418
call fcn.14012a618
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.14027b2c0
lea rcx, [rbx + 0x210]
mov qword [rbx], 0xffffffff80000000
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.14028aa5c
lea r9, [rsp + 0x60]
mov r8, rbx
mov rdx, r14
call fcn.14006bb90
mov ebx, eax
jmp 0x14006c21d
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 0x14006c21d
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x170]
mov edi, r15d
call fcn.14027b2c0
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 0x14006c212
lea r9, [rbp + 0x170]
mov edx, 0x104
lea r8, str._sShellNew
inc edi
lea rcx, [rbp + 0x380]
call fcn.14004ebd0
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 0x14006c1be
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006c172
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x418
call fcn.14012a618
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.14027b2c0
lea rcx, [rbx + 0x210]
mov qword [rbx], 0xffffffff80000000
lea r8, [rsp + 0x60]
mov edx, 0x104
call fcn.14028aa5c
lea r9, [rsp + 0x60]
mov r8, rbx
mov rdx, r14
call fcn.14006bb90
mov ebx, eax
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.14027b2c0
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 0x14006c111
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.14027b2c0
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 0x14006bfb0
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.14012a2b0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x6a0
pop r15
pop r14
pop rbp
ret