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

Disassembly:
mov r11, rsp
sub rsp, 0x298
mov rax, qword [0x100011410]
mov qword [rsp + 0x280], rax
mov qword [r11 + 0x18], rsi
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov qword [r11 + 0x20], rdi
mov byte [rsp + 0x60], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x171]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x170], 0
call sub.msvcrt.dll_memset
xor edi, edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000021b8
mov qword [rsp + 0x2a8], rbx
mov ebx, edi
nop
nop
lea rdx, str.wextract_cleanup_d
lea rcx, [0x100011440]
mov r8d, ebx
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rsp + 0x50]
lea r11, [rsp + 0x5c]
mov qword [rsp + 0x28], r11
lea rdx, [0x100011440]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10000200c
inc ebx
cmp ebx, 0xc8
jl 0x100001fc0
cmp ebx, 0xc8
jne 0x10000202b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x100011440], sil
jmp 0x1000021b0
lea rcx, [rsp + 0x170]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x100001580]
lea rcx, [rsp + 0x170]
mov edx, 0x104
call fcn.100009a40
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbx, rax
je 0x1000020bd
lea rdx, [0x100001570]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
test rax, rax
setne sil
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x1000020bd
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000020d9
lea r8, [0x100001555]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.100009a40
jmp 0x1000020d9
mov rcx, qword [0x100012bc0]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10000212b
lea rcx, [0x100012350]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [rbx + rax + 0x50]
movsxd rdx, ecx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
jne 0x100002138
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4b5
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x10
call fcn.100005260
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000021b0
test esi, esi
lea rax, str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
lea rdx, str._s__D:_s
sete dil
test esi, esi
lea r9, [0x100012350]
lea r8, [rsp + 0x60]
mov rcx, rbx
cmovne rdx, rax
mov dword [0x100011490], edi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x100011440]
inc eax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x280]
call fcn.10000ea20
add rsp, 0x298
ret