Function at 0x1401e9960
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 [0x140418a10]
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, [0x140348ca0]
test eax, eax
jne 0x1401e9ac6
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 0x1401e9abb
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1401e9a20
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401e9a3a
mov qword [rsp + 0x68], r12
jmp 0x1401e9a60
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rsp + 0x68]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140200570
nop
mov r8, rsi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1400d2bd0
nop
movzx ecx, byte [0x14042c16a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1400e97f0
nop
cmp dword [rbp - 0x78], 0
jle 0x1401e9aaa
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x70], 0
jle 0x1401e9abb
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
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 0x1401e9e0a
mov edi, r15d
cmp dword [rbp - 0x70], r15d
jbe 0x1401e9e0a
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 0x1401e9dff
lea rcx, [rbp + 0x200]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401e9b50
cmp rax, 8
jbe 0x1401e9b7c
lea rcx, [rbp + rax*2 + 0x1f0]
lea rdx, str._Classes
call fcn.1402b9aac
test eax, eax
je 0x1401e9dff
lea rax, [rbp + 0x200]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e9b90
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401e9baa
mov qword [rsp + 0x68], r12
jmp 0x1401e9bd3
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x200]
mov rcx, qword [rsp + 0x68]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140200570
nop
lea rdx, [0x140347f58]
lea rcx, [rsp + 0x68]
call fcn.1401fd8b0
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.1401fd8b0
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 0x1401e9dee
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 0x1401e9d04
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e9c72
mov qword [rbp - 0x60], r15
test ebx, ebx
jne 0x1401e9c8a
mov qword [rbp - 0x68], r12
jmp 0x1401e9cad
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x68]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.140200570
nop
mov r8, rsi
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400d2bd0
nop
movzx ecx, byte [0x14042c16a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1400e97f0
nop
cmp dword [rbp - 0x40], 0
jle 0x1401e9cf5
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x60], 0
jle 0x1401e9d04
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
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 0x1401e9de2
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e9d50
mov qword [rbp - 0x78], r15
test ebx, ebx
jne 0x1401e9d68
mov qword [rbp - 0x80], r12
jmp 0x1401e9d8b
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x80]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140200570
nop
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.1400d2bd0
nop
movzx ecx, byte [0x14042c16a]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400e97f0
nop
cmp dword [rbp - 0x50], 0
jle 0x1401e9dd3
mov rcx, qword [rbp - 0x58]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x78], 0
jle 0x1401e9de2
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x70], 0
jle 0x1401e9dff
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
inc edi
cmp edi, dword [rbp - 0x70]
jb 0x1401e9b20
mov al, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1402b9610
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