Function at 0x1401d38f0
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 [0x1403eaa10]
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, [0x140323de0]
test eax, eax
jne 0x1401d3a56
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 0x1401d3a4b
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1401d39b0
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401d39ca
mov qword [rsp + 0x68], r12
jmp 0x1401d39f0
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rsp + 0x68]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ea290
nop
mov r8, rsi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1400d1690
nop
movzx ecx, byte [0x1403fdd77]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1400e9d70
nop
cmp dword [rbp - 0x78], 0
jle 0x1401d3a3a
mov rcx, qword [rbp - 0x80]
call fcn.140298600
nop
cmp dword [rsp + 0x70], 0
jle 0x1401d3a4b
mov rcx, qword [rsp + 0x68]
call fcn.140298600
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 0x1401d3d9a
mov edi, r15d
cmp dword [rbp - 0x70], r15d
jbe 0x1401d3d9a
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 0x1401d3d8f
lea rcx, [rbp + 0x200]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401d3ae0
cmp rax, 8
jbe 0x1401d3b0c
lea rcx, [rbp + rax*2 + 0x1f0]
lea rdx, str._Classes
call fcn.14029848c
test eax, eax
je 0x1401d3d8f
lea rax, [rbp + 0x200]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d3b20
mov qword [rsp + 0x70], r15
test ebx, ebx
jne 0x1401d3b3a
mov qword [rsp + 0x68], r12
jmp 0x1401d3b63
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x200]
mov rcx, qword [rsp + 0x68]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ea290
nop
lea rdx, [0x1403232c8]
lea rcx, [rsp + 0x68]
call fcn.1401e7680
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x68]
call fcn.1401e7680
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 0x1401d3d7e
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 0x1401d3c94
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d3c02
mov qword [rbp - 0x60], r15
test ebx, ebx
jne 0x1401d3c1a
mov qword [rbp - 0x68], r12
jmp 0x1401d3c3d
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x68]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401ea290
nop
mov r8, rsi
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400d1690
nop
movzx ecx, byte [0x1403fdd77]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1400e9d70
nop
cmp dword [rbp - 0x40], 0
jle 0x1401d3c85
mov rcx, qword [rbp - 0x48]
call fcn.140298600
nop
cmp dword [rbp - 0x60], 0
jle 0x1401d3c94
mov rcx, qword [rbp - 0x68]
call fcn.140298600
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 0x1401d3d72
lea rax, [rbp - 0x10]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d3ce0
mov qword [rbp - 0x78], r15
test ebx, ebx
jne 0x1401d3cf8
mov qword [rbp - 0x80], r12
jmp 0x1401d3d1b
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x10]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.1400d1690
nop
movzx ecx, byte [0x1403fdd77]
mov byte [rsp + 0x20], cl
mov r9, rax
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400e9d70
nop
cmp dword [rbp - 0x50], 0
jle 0x1401d3d63
mov rcx, qword [rbp - 0x58]
call fcn.140298600
nop
cmp dword [rbp - 0x78], 0
jle 0x1401d3d72
mov rcx, qword [rbp - 0x80]
call fcn.140298600
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x70], 0
jle 0x1401d3d8f
mov rcx, qword [rsp + 0x68]
call fcn.140298600
inc edi
cmp edi, dword [rbp - 0x70]
jb 0x1401d3ab0
mov al, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140297ff0
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