Function at 0x140001a18
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r15d, r15d
lea rcx, [rsp + 0x61]
mov ebx, 0x103
mov qword [rsp + 0x50], r15
mov r8d, ebx
mov dword [rsp + 0x58], r15d
xor edx, edx
mov byte [rsp + 0x60], r15b
call sub.msvcrt.dll_memset
mov r8d, ebx
mov byte [rbp + 0x70], r15b
xor edx, edx
lea rcx, [rbp + 0x71]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x58]
mov dword [rsp + 0x5c], r15d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2001f
mov esi, r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
nop dword [rax + rax]
test eax, eax
jne 0x140001d32
mov ebx, r15d
mov edi, 0xc8
mov r9d, ebx
lea r8, str.wextract_cleanup_d
mov edx, 0x50
lea rcx, [0x14000e850]
call fcn.140003688
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, [0x14000e850]
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop dword [rax + rax]
test eax, eax
jne 0x140001b56
inc ebx
cmp ebx, edi
jl 0x140001ae5
jne 0x140001b56
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov byte [0x14000e850], r15b
jmp 0x140001d32
mov r14d, 0x104
lea rcx, [rbp + 0x70]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop dword [rax + rax]
lea r8, str.advpack.dll
mov edx, r14d
lea rcx, [rbp + 0x70]
call fcn.14000896c
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140001c70
lea rdx, str.DelNodeRunDLL32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
test rbx, rbx
setne sil
test rbx, rbx
je 0x140001c70
mov edx, r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop dword [rax + rax]
test eax, eax
je 0x140001c02
lea r8, [0x14000b760]
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.14000896c
or rbx, 0xffffffffffffffff
lea r13, [0x14000f690]
mov rax, rbx
inc rax
cmp byte [rax + r13], r15b
jne 0x140001c10
lea rdx, [rsp + 0x60]
mov rcx, rbx
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x140001c21
add rax, 0x50
add rax, rcx
mov ecx, 0x40
mov edx, eax
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140001ca9
mov dword [rsp + 0x28], r15d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], FDICopy
mov edx, 0x4b5
xor ecx, ecx
call fcn.1400061d8
jmp 0x140001c93
mov rcx, qword [0x14000fef0]
lea rdx, [rsp + 0x60]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop dword [rax + rax]
test eax, eax
jne 0x140001c02
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140001d32
mov eax, esi
mov qword [rsp + 0x20], r13
xor eax, 1
lea r8, str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
mov dword [0x14000e8a0], eax
lea r9, [rsp + 0x60]
test esi, esi
lea rax, str._s__D:_s
mov rdx, r14
mov rcx, rdi
cmove r8, rax
call fcn.140003688
inc rbx
cmp byte [rdi + rbx], r15b
jne 0x140001cdd
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14000e850]
inc ebx
mov r9d, 1
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140008f40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret