Function at 0x140005370
Capabilities:
Enumerate processes
Execute command

Disassembly:
push rdi
sub rsp, 0x180
mov rax, qword [0x1400bc080]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400053e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateTooHelp32Snapshot_failed:_0x_X_n
call fcn.140001dc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005539
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x24], 0
je 0x140005452
lea rax, str.RustClient.exe
lea rcx, [rsp + 0x6c]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140005429
inc rax
test dl, dl
jne 0x140005416
xor eax, eax
jmp 0x14000542e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000543c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x140005452
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x24], eax
jmp 0x140005400
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x1400054a0
lea rdx, str.No_process_found_with_that_name
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013c20
mov qword [rsp + 0x38], rax
lea rdx, [0x1400140f0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005539
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400054e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Open_Process_failed:_0x_X_n
call fcn.140001dc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005539
lea rdx, str.https:__cdn.discordapp.com_attachments_1161656165629952104_1162666045652336711_dast.tt.dll_ex653cc422is652a4f22hm4904e8273d630f3ff1c7fcc59baed3fbe85c9e6d00df0f9df8f9cce8005ec2ef
mov rcx, qword [rsp + 0x30]
call fcn.140004a10
movzx eax, al
test eax, eax
jne 0x140005522
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Unable_to_inject_:__sorry_gamer_your_bad.
call fcn.140001dc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005539
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Mapped_Succ.__n
call fcn.140001dc0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140099440
add rsp, 0x180
pop rdi
ret