Function at 0x1400016e0
Capabilities:
Set console window title

Disassembly:
push rbp
push rbx
push r12
push r13
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.Roblox_Auto_Fisher___Intended_for_Pet_Simulator_99
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov r13d, 4
mov r12, rax
test rax, rax
jne 0x140001822
mov rax, qword gs:[0x58]
mov ebx, r13d
add rbx, qword [rax]
nop
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Start_Roblox_
mov r12, rax
call fcn.140001c40
mov rcx, rax
lea rdx, [0x140001c00]
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]
mov eax, dword [rbx]
cmp dword [0x140005768], eax
jle 0x1400017a0
lea rcx, [0x140005768]
call fcn.14000206c
cmp dword [0x140005768], 0xffffffff
jne 0x1400017a0
lea rcx, [0x140005768]
call fcn.140002000
mov eax, dword [rbx]
cmp dword [0x14000576c], eax
jle 0x1400017ef
lea rcx, [0x14000576c]
call fcn.14000206c
cmp dword [0x14000576c], 0xffffffff
jne 0x1400017ef
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14000576c]
mov qword [0x140005760], rax
call fcn.140002000
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], 0xffffffffff676980
xor ecx, ecx
call qword [0x140005760]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
test r12, r12
je 0x140001740
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Copyright_2024_by_Emil_Nygaard_Poulsen._All_rights_reserved.
call fcn.140001c40
mov rcx, rax
lea rdx, [0x140001c00]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.v1.1_n
call fcn.140001c40
mov rcx, rax
lea rdx, [0x140001c00]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Start___Stop:__F6_n
call fcn.140001c40
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Set_Position:__F7_n
call fcn.140001c40
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._______Close:__F8_n
call fcn.140001c40
mov rcx, rax
lea rdx, [0x140001c00]
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 r9, [rbp - 0x34]
mov dword [rbp - 0x30], 0x3c0
lea r8, [rbp - 0x30]
mov dword [rbp - 0x34], 0x21c
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x38], 0
lea rcx, [rbp - 0x38]
call fcn.1400012b0
test eax, eax
jne 0x140001b20
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x50], r15
nop dword [rax]
cmp byte [rbp - 0x38], 0
je 0x140001acd
mov rax, qword gs:[0x58]
mov edi, dword [rbp - 0x30]
mov esi, dword [rbp - 0x34]
mov r14, qword [rax]
nop dword [rax]
mov r8d, esi
mov edx, edi
mov rcx, r12
call fcn.1400011c0
mov eax, dword [r13 + r14]
cmp dword [0x140005768], eax
jle 0x14000195b
lea rcx, [0x140005768]
call fcn.14000206c
cmp dword [0x140005768], 0xffffffff
jne 0x14000195b
lea rcx, [0x140005768]
call fcn.140002000
mov eax, dword [r13 + r14]
cmp dword [0x14000576c], eax
jle 0x1400019ad
lea rcx, [0x14000576c]
call fcn.14000206c
cmp dword [0x14000576c], 0xffffffff
jne 0x1400019ad
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14000576c]
mov qword [0x140005760], rax
call fcn.140002000
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], 0xfffffffffd050f80
xor ecx, ecx
call qword [0x140005760]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
xor ebx, ebx
nop dword [rax]
lea r9, [rbp - 0x34]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.1400012b0
test eax, eax
jne 0x140001aea
mov esi, dword [rbp - 0x34]
mov rcx, r12
mov edi, dword [rbp - 0x30]
mov r8d, esi
mov edx, edi
call fcn.1400011c0
mov eax, dword [r14 + r13]
cmp dword [0x140005768], eax
jle 0x140001a3d
lea rcx, [0x140005768]
call fcn.14000206c
cmp dword [0x140005768], 0xffffffff
jne 0x140001a3d
lea rcx, [0x140005768]
call fcn.140002000
mov eax, dword [r14 + r13]
cmp dword [0x14000576c], eax
jle 0x140001a8e
lea rcx, [0x14000576c]
call fcn.14000206c
cmp dword [0x14000576c], 0xffffffff
jne 0x140001a8e
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14000576c]
mov qword [0x140005760], rax
call fcn.140002000
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], 0xfffffffffff85ee0
xor ecx, ecx
call qword [0x140005760]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
inc ebx
cmp ebx, 0x69
jl 0x1400019e0
cmp byte [rbp - 0x38], 0
jne 0x140001920
lea r9, [rbp - 0x34]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.1400012b0
test eax, eax
je 0x140001900
mov r14, qword [rsp + 0x90]
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001fe0
add rsp, 0x58
pop r13
pop r12
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x140001b09