Function at 0x140001310
Capabilities:
Create thread
Enumerate processes
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x4a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x490], rax
cmp qword [rcx + 0x18], 7
mov rsi, rdx
mov rbx, rcx
mov r8, rcx
jbe 0x140001347
mov r8, qword [rcx]
cmp qword [rdx + 0x18], 7
jbe 0x140001351
mov rdx, qword [rdx]
lea rcx, str.___Injecting__ws_into__ws_n
call fcn.140001010
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
jne 0x140001391
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_take_process_snapshot:__d_n
call fcn.140001010
jmp 0x1400014b6
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x6c]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400013b0
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x1400013c7
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rcx, [rsp + 0x6c]
cmp rdx, r10
mov r8, r10
cmovb r8, rdx
test r8, r8
je 0x140001404
lea rax, [rsp + 0x6c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x14000140f
add rcx, 2
sub r8, 1
jne 0x1400013f0
cmp r10, rdx
jb 0x14000140f
jbe 0x1400014e9
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400014ad
nop word [rax + rax]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001440
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x140001457
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rdx, [rsp + 0x6c]
cmp rax, r10
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x140001494
lea rcx, [rsp + 0x6c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x14000149b
add rdx, 2
sub r8, 1
jne 0x140001480
cmp r10, rax
jb 0x14000149b
jbe 0x1400014e9
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001430
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____Failed_to_get_process_ID_n
call fcn.140001010
xor al, al
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140002a60
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x1400014b6
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140001527
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_process_handle:__d_n
call fcn.140001010
jmp 0x1400014c2
cmp qword [rbx + 0x18], 7
jbe 0x140001531
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.___Got_handle_to_process__ws_n
call fcn.140001010
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14000156b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_kernel32.dll_handle:__d_n
call fcn.140001010
jmp 0x1400014c2
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14000159c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_LoadLibraryW_address:__d_n
call fcn.140001010
jmp 0x1400014c2
mov rdx, rbx
lea rcx, str.___Got_LoadLibraryW_address:_0x_p_n
call fcn.140001010
cmp qword [rsi + 0x18], 7
jbe 0x1400015b5
mov rsi, qword [rsi]
xor r9d, r9d
lea r8, [rsp + 0x280]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x208
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14000160e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_allocate_memory:__d_n
call fcn.140001010
jmp 0x1400014c2
mov rdx, rsi
lea rcx, str.___Allocated_memory_at:_0x_p_n
call fcn.140001010
mov r9d, 0x208
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x280]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.___Wrote_dll_path_to_allocated_memory_n
call fcn.140001010
mov qword [rsp + 0x30], 0
mov r9, rbx
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140001694
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_create_remote_thread:__d_n
call fcn.140001010
jmp 0x1400014c2
lea rcx, str.___Called_LoadLibraryW_from_remote_thread_n
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.___Remote_thread_returned_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400014c4