Function at 0x1400035c0
Capabilities:
Copy file
Create thread
Delete file
Enumerate processes
Get common file path
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x141372040]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
lea rsi, [0x140055008]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x44]
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000366c
nop
lea rdx, [rsp + 0x6c]
xor eax, eax
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
jne 0x140003860
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x140003860
add rax, 2
cmp rax, 0xe
jne 0x140003640
mov edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x1400035f2
lea rbp, [0x141372d30]
mov ecx, 0x104
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [0x140054d08]
mov edx, 0x104
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [0x140054d28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400036cf
lea rcx, [0x140054d40]
call fcn.140001020
xor r8d, r8d
lea rcx, [0x140054d08]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400036f2
lea rcx, [0x140054d60]
call fcn.140001020
mov r8d, edi
xor edx, edx
mov ecx, 0x2a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140003716
lea rcx, [0x140054db0]
call fcn.140001020
mov rbx, 0xffffffffffffffff
mov r8, rbx
cmp word [rbp + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x140003720
lea r8, [r8*2 + 2]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140003790
nop word [rax + rax]
cmp word [rbp + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140003760
lea r9, [rbx*2 + 2]
mov qword [rsp + 0x20], 0
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000379c
lea rcx, [0x140054df0]
call fcn.140001020
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x1400037db
lea rcx, [0x140054e70]
call fcn.140001020
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140003829
lea rcx, [0x140054d40]
call fcn.140001020
lea rcx, [0x140054ec0]
call fcn.140001020
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140051870
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003630
jmp 0x14000366c