Function at 0x4023d0
Capabilities:
Check if file exists
Get file attributes
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cacb
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x428760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor bl, bl
push 0x424b2a
mov byte [ebp - 0x13c], bl
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov edx, str.Nyx_Injector_n_n
mov ecx, 0x429af8
call fcn.00405150
mov edx, str.Waiting_for_roblox...
mov ecx, 0x429af8
call fcn.00405150
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, 1
jle 0x40247a
mov eax, dword [edi + 4]
mov ecx, 0x425024
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402462
test dl, dl
je 0x40245e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402462
add eax, 2
add ecx, 2
test dl, dl
jne 0x402442
xor ecx, ecx
jmp 0x402467
sbb ecx, ecx
or ecx, 1
test ecx, ecx
movzx eax, bl
mov edx, 1
cmove eax, edx
mov byte [ebp - 0x13c], al
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 3
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
jne 0x4024fa
mov eax, dword [edi + 8]
mov ecx, str.Stage2
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4024b3
test dl, dl
je 0x4024af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4024b3
add eax, 2
add ecx, 2
test dl, dl
jne 0x402493
xor eax, eax
jmp 0x4024b8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4024fa
mov byte [0x42ab68], 1
sub esp, 0xc
mov ecx, esp
push ecx
call fcn.00402bd0
mov ecx, str.RobloxPlayerBeta.exe
call fcn.00401d00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40254b
mov edx, 0x4250e4
mov ecx, 0x429af8
call fcn.00405150
call fcn.004082cf
jmp 0x4027c8
cmp byte [0x42ab68], 0
jne 0x4024c3
sub esp, 0xc
mov ecx, esp
push ecx
call fcn.00402bd0
mov ecx, 0x425030
call fcn.00401d00
add esp, 0xc
test eax, eax
je 0x402760
mov edx, str.Roblox_already_running._n
mov ecx, 0x429af8
call fcn.00405150
mov edx, 0x425064
mov ecx, 0x429af8
call fcn.00405150
call fcn.004082cf
jmp 0x4027c8
cmp edi, 0xffffffff
je 0x4027c1
lea eax, [ebp - 0x138]
push eax
push main
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
push 0x104
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jne 0x4025a8
xor ecx, ecx
jmp 0x4025ba
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4025b1
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.00403e30
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x134]
mov byte [ebp - 0x11c], 0x5c
cmp ebx, 1
jb 0x40265d
lea ecx, [ebx - 1]
mov eax, 0xffffffff
cmp ecx, 0xffffffff
lea esi, [ebp - 0x134]
cmova ecx, eax
cmp edx, 0x10
cmovae esi, dword [ebp - 0x134]
add esi, ecx
cmp byte [esi], 0x5c
jne 0x402623
mov al, byte [esi]
lea ecx, [ebp - 0x11c]
cmp al, byte [ecx]
je 0x402635
lea ecx, [ebp - 0x134]
call fcn.00403160
cmp esi, eax
je 0x402651
dec esi
jmp 0x402612
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x134]
mov ecx, dword [ebp - 0x134]
cmp edx, 0x10
cmovae eax, ecx
sub esi, eax
jmp 0x402660
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x134]
or esi, 0xffffffff
cmp esi, ebx
ja 0x40267c
cmp edx, 0x10
mov dword [ebp - 0x124], esi
lea eax, [ebp - 0x134]
cmovae eax, ecx
mov byte [eax + esi], 0
jmp 0x40268c
push 0
sub esi, ebx
lea ecx, [ebp - 0x134]
push esi
call fcn.00403d40
cmp byte [0x42ab68], 0
mov edx, str.RbxDll.dll
mov eax, str.LdrStage2.dll
cmove edx, eax
cmp byte [edx], 0
jne 0x4026a9
xor ecx, ecx
jmp 0x4026b9
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4026b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x134]
call fcn.00402eb0
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4027e6
cmp dword [ebp - 0x120], 0x10
lea edx, [ebp - 0x134]
push dword [ebp - 0x13c]
cmovae edx, dword [ebp - 0x134]
mov ecx, edi
call fcn.00401e70
add esp, 4
cmp byte [0x42ab68], 0
jne 0x402795
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x120], 0x10
jb 0x402735
push dword [ebp - 0x134]
call fcn.00408219
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
lea esp, [esp]
push 0
push str.193nf32hj0
call esi
test eax, eax
jne 0x4027c8
sub esp, 0xc
mov ecx, esp
push ecx
call fcn.00402bd0
mov ecx, str.RobloxPlayerLauncher.exe
call fcn.00401d00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40254b
push 0xa
call ebx
jmp 0x402760
mov edx, str.Injection_complete__exiting_in_5_seconds.
mov ecx, 0x429af8
call fcn.00405150
cmp dword [ebp - 0x120], 0x10
jb 0x4027bb
push dword [ebp - 0x134]
call fcn.00408219
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004076e0
mov esp, ebp
pop ebp
ret
mov edx, str.Error:_File
mov ecx, 0x429af8
call fcn.00405150
lea edx, [ebp - 0x134]
mov ecx, eax
call fcn.004054b0
mov edx, str.not_found._n
mov ecx, eax
call fcn.00405150
mov edx, str.Press_any_key_to_continue...
mov ecx, 0x429af8
call fcn.00405150
call fcn.004082cf
cmp dword [ebp - 0x120], 0x10
jb 0x4027c8
push dword [ebp - 0x134]
call fcn.00408219
add esp, 4
jmp 0x4027c8