Function at 0x140005350
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 0x1400053c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateTooHelp32Snapshot_failed:_0x_X_n
call fcn.140001da0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005519
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 0x140005432
lea rax, str.RustClient.exe
lea rcx, [rsp + 0x6c]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140005409
inc rax
test dl, dl
jne 0x1400053f6
xor eax, eax
jmp 0x14000540e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000541c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x140005432
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x24], eax
jmp 0x1400053e0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x140005480
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.140013c00
mov qword [rsp + 0x38], rax
lea rdx, [0x1400140d0]
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 0x140005519
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 0x1400054c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Open_Process_failed:_0x_X_n
call fcn.140001da0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005519
lea rdx, str.https:__cdn.discordapp.com_attachments_1158405833357525012_1159091785306472458_dast.tt.dll_ex651e9fd8is651d4e58hmddcc4b8f1c6a2277dc590d8a57bde126611ac2dc0f2d04a234c19b75c9788ee5
mov rcx, qword [rsp + 0x30]
call fcn.1400049f0
movzx eax, al
test eax, eax
jne 0x140005502
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Unable_to_inject_:__sorry_gamer_your_bad.
call fcn.140001da0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005519
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Mapped_Succ.__n
call fcn.140001da0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140099420
add rsp, 0x180
pop rdi
ret