Function at 0x14006a2d0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor edx, edx
lea rax, [rsp + 0x40]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a5ec
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x6b8], rsi
lea r8, [rsp + 0x60]
xor esi, esi
mov qword [rsp + 0x6c0], rdi
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov edi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x58], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a5d1
mov qword [rsp + 0x6b0], rbx
nop word [rax + rax]
inc edi
cmp word [rsp + 0x60], 0x2e
jne 0x14006a579
mov r8d, 1
lea rdx, str..zip_.bmp_.contact_.jnt_.library_ms_.lnk_.rtf_.txt_
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006a579
lea r9, [rsp + 0x60]
mov edx, 0x104
lea r8, [0x140325b58]
lea rcx, [rbp + 0x170]
call fcn.14004ebd0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x50], rsi
lea rdx, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14006a41f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006a40b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.1400607a0
test eax, eax
cmovne edi, esi
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
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 0x14006a579
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x380]
mov ebx, esi
call fcn.14027b2c0
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0x380]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a56e
lea r9, [rbp + 0x380]
mov edx, 0x104
lea r8, [0x140325d38]
inc ebx
lea rcx, [rbp + 0x170]
call fcn.14004ebd0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x50], rsi
lea rdx, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 3]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14006a51a
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006a504
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x170]
call fcn.1400607a0
test eax, eax
cmovne ebx, esi
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x380]
call fcn.14027b2c0
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0x380]
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a4a3
mov rcx, qword [rsp + 0x48]
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], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov edx, edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a380
mov rbx, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x6c0]
mov rsi, qword [rsp + 0x6b8]
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x6a0
pop rbp
ret