Function at 0x401240
Capabilities:
Create thread
Enumerate process modules
Enumerate processes
Inject thread
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
push edi
push str.Injector_V2
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0
push 2
call ebx
mov esi, eax
mov dword [esp + 0x238], 0x128
lea eax, [esp + 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401474
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
mov eax, str.RobloxPlayerBeta.exe
lea ecx, [esp + 0x25c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4012d0
test dl, dl
je 0x4012cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4012d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4012b0
xor eax, eax
jmp 0x4012d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4012ee
lea eax, [esp + 0x238]
push eax
push esi
call edi
test eax, eax
je 0x40146d
jmp 0x4012a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x240]
test edi, edi
je 0x401474
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
push 0x18
mov dword [esp + 0x14], eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x401395
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x401395
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
mov ecx, str.why_are_you_deobfuscating_decompiling_this__:_
lea eax, [esp + 0x30]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401370
test dl, dl
je 0x40136c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401370
add eax, 2
add ecx, 2
test dl, dl
jne 0x401350
xor eax, eax
jmp 0x401375
sbb eax, eax
or eax, 1
test eax, eax
je 0x401387
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x401340
jmp 0x40138e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x240]
push 0x403218
push str.cheat.dll
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x401456
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x405434]
add esp, 4
test ecx, ecx
je 0x401506
mov eax, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [esp + 0x360], eax
mov al, byte [ecx + 4]
push 0
push 5
mov byte [esp + 0x36c], al
lea eax, [esp + 0x368]
push eax
push ecx
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x401506
push 0
lea eax, [esp + 0x36c]
push eax
push 0x104
push str.cheat.dll
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push 0x3000
push 0x104
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
mov edi, eax
lea eax, [esp + 0x36c]
push 0x104
push eax
push edi
push esi
call ebx
test eax, eax
jne 0x4014a5
jmp 0x401488
mov ecx, dword [esp + 0x474]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401b88
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
push str.Roblox_not_Found_
call fcn.00401570
call fcn.004011f0
mov ecx, dword [esp + 0xc]
call fcn.00401190
sub esp, 0x18
mov ecx, esp
push str.Injection_Failed.
call fcn.00401570
call fcn.004011f0
push 0
push 0
push edi
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test esi, esi
je 0x4014c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
call fcn.00401190
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4016a0
call fcn.004016d0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
mov ecx, esp
push str.Injected_
call fcn.00401570
call fcn.004011f0
sub esp, 0x18
mov ecx, esp
push str.Cannot_Bypass...
call fcn.00401570
call fcn.004011f0
int3