Function at 0x1401ecfa0
Capabilities:
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x520
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r14, rdx
mov rsi, rcx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
lea r12, [0x14034d1a0]
test eax, eax
jne 0x1401ed106
mov dword [rsp + 0x60], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Common_AppData
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401ed0fb
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1401ed060
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401ed07a
mov qword [rsp + 0x68], r12
jmp 0x1401ed0a0
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rsp + 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140203bb0
nop
mov r8, rsi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1400d4050
nop
movzx ecx, byte [0x14043124a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1400eac70
nop
cmp dword [rbp - 0x78], 0
jle 0x1401ed0ea
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x70], 0
jle 0x1401ed0fb
mov rcx, qword [rsp + 0x68]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1401ed44a
mov edi, r15d
cmp dword [rbp - 0x70], r15d
jbe 0x1401ed44a
nop dword [rax]
mov r9d, 0x104
lea r8, [rbp + 0x200]
mov edx, edi
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1401ed43f
lea rcx, [rbp + 0x200]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401ed190
cmp rax, 8
jbe 0x1401ed1bc
lea rcx, [rbp + rax*2 + 0x1f0]
lea rdx, str._Classes
call fcn.1402bcf6c
test eax, eax
je 0x1401ed43f
lea rax, [rbp + 0x200]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401ed1d0
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401ed1ea
mov qword [rsp + 0x68], r12
jmp 0x1401ed213
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x200]
mov rcx, qword [rsp + 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140203bb0
nop
lea rdx, [0x14034c088]
lea rcx, [rsp + 0x68]
call fcn.140200ef0
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.140200ef0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401ed42e
mov dword [rsp + 0x60], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401ed344
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401ed2b2
mov qword [rbp - 0x60], r15
test ebx, ebx
jne 0x1401ed2ca
mov qword [rbp - 0x68], r12
jmp 0x1401ed2ed
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.140203bb0
nop
mov r8, rsi
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400d4050
nop
movzx ecx, byte [0x14043124a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1400eac70
nop
cmp dword [rbp - 0x40], 0
jle 0x1401ed335
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401ed344
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
mov dword [rsp + 0x60], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Local_AppData
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401ed422
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401ed390
mov qword [rbp - 0x78], r15
test ebx, ebx
jne 0x1401ed3a8
mov qword [rbp - 0x80], r12
jmp 0x1401ed3cb
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x80]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140203bb0
nop
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.1400d4050
nop
movzx ecx, byte [0x14043124a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400eac70
nop
cmp dword [rbp - 0x50], 0
jle 0x1401ed413
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x78], 0
jle 0x1401ed422
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x70], 0
jle 0x1401ed43f
mov rcx, qword [rsp + 0x68]
call fcn.1402bd0e0
inc edi
cmp edi, dword [rbp - 0x70]
jb 0x1401ed160
mov al, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret