Function at 0x14005f750
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 [0x140074300]
xor rax, rsp
mov qword [rsp + 0x490], rax
cmp qword [rcx + 0x18], 7
mov rsi, rdx
mov rbx, rcx
mov r8, rcx
jbe 0x14005f787
mov r8, qword [rcx]
cmp qword [rdx + 0x18], 7
jbe 0x14005f791
mov rdx, qword [rdx]
lea rcx, str.___Injecting__ws_into__ws_n
call fcn.140060660
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
test rax, rax
jne 0x14005f7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_take_process_snapshot:__d_n
call fcn.140060660
jmp 0x14005f8e5
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
lea rax, [rsp + 0x6c]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14005f7f0
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x14005f807
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 0x14005f844
lea rax, [rsp + 0x6c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x14005f84f
add rcx, 2
sub r8, 1
jne 0x14005f830
cmp r10, rdx
jb 0x14005f84f
jbe 0x14005f918
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14005f8dc
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005f870
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x14005f887
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 0x14005f8c4
lea rcx, [rsp + 0x6c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x14005f8cb
add rdx, 2
sub r8, 1
jne 0x14005f8b0
cmp r10, rax
jb 0x14005f8cb
jbe 0x14005f918
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14005f860
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____Failed_to_get_process_ID_n
call fcn.140060660
xor al, al
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140060c90
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 0x14005f8e5
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14005f956
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_process_handle:__d_n
call fcn.140060660
jmp 0x14005f8f1
cmp qword [rbx + 0x18], 7
jbe 0x14005f960
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.___Got_handle_to_process__ws_n
call fcn.140060660
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14005f99a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_kernel32.dll_handle:__d_n
call fcn.140060660
jmp 0x14005f8f1
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14005f9cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_LoadLibraryW_address:__d_n
call fcn.140060660
jmp 0x14005f8f1
mov rdx, rbx
lea rcx, str.___Got_LoadLibraryW_address:_0x_p_n
call fcn.140060660
cmp qword [rsi + 0x18], 7
jbe 0x14005f9e4
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 0x14005fa3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_allocate_memory:__d_n
call fcn.140060660
jmp 0x14005f8f1
mov rdx, rsi
lea rcx, str.___Allocated_memory_at:_0x_p_n
call fcn.140060660
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.140060660
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 0x14005fac3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_create_remote_thread:__d_n
call fcn.140060660
jmp 0x14005f8f1
lea rcx, str.___Called_LoadLibraryW_from_remote_thread_n
call fcn.140060660
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.___Remote_thread_returned_n
call fcn.140060660
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005f8f1