Function at 0x140065a30
Capabilities:
Check for foreground window switch
Create thread
Get graphical window text
Set console window title
Terminate process

Disassembly:
push rbp
push rbx
push r13
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1400d7020]
xor rax, rsp
mov qword [rbp + 0x100], rax
lea rcx, str.FOVA_HAX_2.7
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea ecx, [r13 + 1]
call fcn.14008c364
mov r9, rax
lea r8, [0x1400c3490]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x70]
call fcn.14008d678
xor ecx, ecx
call fcn.14008c364
mov r9, rax
lea r8, [0x1400c3490]
lea rdx, str.CONIN_
lea rcx, [rsp + 0x70]
call fcn.14008d678
lea rcx, str.color_E
call fcn.140087884
lea rcx, [0x1400c34b0]
mov dword [0x1400db510], 9
call fcn.140087884
lea rdx, [0x1400c2aa0]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065b06
lea edx, [r13 + 2]
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str._____FOVA_HAX_Ver_2.7
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065b94
mov edx, 2
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str._n_____Processing
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400bb8f4]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065c22
mov edx, 6
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str._n_____Select_Emulator.
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rdx, [0x1400c2aa0]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065c69
mov edx, 7
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str.Select_Emulator:
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065c9d
mov edx, 6
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, [0x1400c3514]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065cd1
mov edx, 2
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str.__GameLoop_7.1
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065d05
mov edx, 6
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, [0x1400c352c]
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rcx, [0x1400d9470]
call fcn.140065800
test al, al
je 0x140065d39
mov edx, 2
lea rcx, [0x1400d9470]
call fcn.1400658f0
lea rdx, str.__SmartGaga_7.1___n
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rdx, str._r_nYour_Select:
lea rcx, [0x1400d9470]
call fcn.14001ca20
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], 3
call fcn.140066a80
mov ebx, dword [rsp + 0x78]
lea eax, [rbx - 1]
cmp eax, 1
ja 0x140065d90
lea rdx, [0x1400c2d60]
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov qword [rsp + 0x240], rsi
lea rdx, str._r_nGo_to_Your_Game_Now....
mov qword [rsp + 0x248], rdi
lea rcx, [0x1400d9470]
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x218], r14
mov qword [rsp + 0x210], r15
call fcn.14001ca20
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 1
jne 0x140065f8e
mov dword [0x1400db510], ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x100
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
mov qword [rbp - 0x50], r13
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x48], r13
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x140065e20
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.14001d660
mov r15, qword [rbp - 0x48]
lea rsi, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
cmp r15, 0x10
mov rax, qword [rbp - 0x50]
setae r12b
cmovae rsi, rdi
cmp rax, 8
jb 0x140065ebc
lea r14, [rax + rsi]
mov edx, 0x47
lea r8, [r14 - 7]
mov rcx, rsi
sub r8, rsi
call fcn.14007c460
mov rbx, rax
test rax, rax
je 0x140065ebc
nop dword [rax + rax]
mov r8d, 8
lea rdx, str.Gameloop
mov rcx, rbx
call fcn.14007c8c0
test eax, eax
je 0x140065f29
inc rbx
lea r8, [r14 - 7]
sub r8, rbx
mov rcx, rbx
mov edx, 0x47
call fcn.14007c460
mov rbx, rax
test rax, rax
jne 0x140065e80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r9d, r9d
lea r8, str.AEngineRenderWindowClass
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [0x1400db2d8], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp r15, 0x10
jb 0x140065de5
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140065f1c
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
mov rcx, rdi
call fcn.140079a70
jmp 0x140065de5
sub rbx, rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r9d, r9d
lea r8, str.AEngineRenderWindowClass
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [0x1400db2d8], rax
cmp rbx, 0xffffffffffffffff
je 0x140065ede
test r12b, r12b
je 0x140066143
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140065f86
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
mov rcx, rdi
jmp 0x14006613e
cmp ebx, 2
jne 0x140066143
mov dword [0x1400db510], ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x100
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
mov qword [rbp - 0x70], r13
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], r13
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x140065fd0
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.14001d660
lea rdx, str.TitanRenderWindowClass
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea r9, str.SmartGaGa_RenderWindow
xor edx, edx
mov rcx, rax
lea r8, str.TitanRenderWindowClass
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [0x1400db2d8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400db2d8]
je 0x140066108
nop dword [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140066076
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066071
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
call fcn.140079a70
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x100
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
mov qword [rbp - 0x70], r13
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], r13
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x1400660b0
lea rdx, [rbp]
lea rcx, [rbp - 0x80]
call fcn.14001d660
lea rdx, str.TitanRenderWindowClass
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea r9, str.SmartGaGa_RenderWindow
xor edx, edx
mov rcx, rax
lea r8, str.TitanRenderWindowClass
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [0x1400db2d8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400db2d8]
jne 0x140066030
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140066143
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006613e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
call fcn.140079a70
mov ecx, 0x88
call fcn.140079df8
mov rbx, rax
mov qword [rsp + 0x60], r13
xorps xmm0, xmm0
mov qword [rsp + 0x68], r13
xor eax, eax
lea rdx, str.Xtreme
lea rcx, [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
lea r8d, [rax + 6]
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
mov qword [rbx + 0x80], rax
movups xmmword [rsp + 0x50], xmm0
call fcn.14001d660
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
mov r8d, 0xe
mov qword [rsp + 0x48], r13
lea rdx, str.DeviceXtreme
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.14001d660
xorps xmm0, xmm0
mov qword [rbp - 0x70], r13
mov r8d, 0xa
mov qword [rbp - 0x68], r13
lea rdx, str.Xtreme.sys
lea rcx, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm0
call fcn.14001d660
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.140065150
mov rdx, qword [rbp - 0x68]
mov qword [0x1400db560], rax
cmp rdx, 0x10
jb 0x140066241
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006623c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
call fcn.140079a70
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14006627a
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066275
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400662ae
call fcn.140079a70
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400662b9
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400662b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400662b4
call fcn.14008c06c
int3
call fcn.140079a70
mov rcx, qword [0x1400db560]
call fcn.140065510
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400db2d8]
lea rdx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call fcn.14008c364
mov rcx, rax
call fcn.140084a68
mov edx, dword [0x1400db510]
lea rcx, [0x1400d9470]
call fcn.140019e20
mov rcx, rax
call fcn.14001ccd0
lea rdx, str.Handle_for_Smartgaga_Opened.
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov rcx, rax
call fcn.14001ccd0
call fcn.14006a710
lea rdx, str.Process_ID:
mov ebx, eax
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov rcx, rax
mov edx, ebx
call fcn.140019e20
mov rcx, rax
call fcn.14001ccd0
call fcn.14006a710
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, str.Process_Handle:
mov qword [0x1400db228], rax
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov rcx, rax
call fcn.140066680
mov rcx, rax
call fcn.14001ccd0
call fcn.140025d90
mov dword [0x1400db4d0], eax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov edx, dword [0x1400db4d0]
lea r8, [rsp + 0x78]
mov rcx, qword [0x1400db228]
add edx, 0x1c678
mov r9d, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [0x1400db4d0]
lea r8, [rsp + 0x7c]
mov ebx, dword [rsp + 0x78]
add edx, 0xffcc19a4
mov rcx, qword [0x1400db228]
mov r9d, 4
add ebx, 0x3c
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x7c]
add eax, 0x88
mov dword [0x1400db4d4], ebx
cmp dword [0x1400db4d0], r13d
mov dword [0x1400db4cc], eax
jbe 0x14006665d
mov rcx, qword [0x1400db228]
lea r8, [rsp + 0x78]
mov edx, ebx
mov r9d, 4
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x7c]
mov rcx, qword [0x1400db228]
mov r9d, 4
mov dword [0x1400db4ac], eax
mov qword [rsp + 0x20], r13
lea edx, [rax + 0x24]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x7c]
lea r8, [rsp + 0x78]
mov rcx, qword [0x1400db228]
mov r9d, 4
mov dword [0x1400db4f8], eax
mov qword [rsp + 0x20], r13
lea edx, [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x7c]
mov rcx, qword [0x1400db228]
mov r9d, 4
mov dword [0x1400db4b4], eax
mov qword [rsp + 0x20], r13
lea edx, [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x7c]
lea r8, [rsp + 0x78]
mov rcx, qword [0x1400db228]
mov r9d, 4
mov dword [0x1400db4e8], eax
mov qword [rsp + 0x20], r13
lea edx, [rax + 0x368]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, str.uWorld_is_at:
lea rcx, [0x1400d9470]
call fcn.14001ca20
mov edx, dword [0x1400db4d4]
mov rcx, rax
call fcn.140066880
mov rcx, rax
call fcn.14001ccd0
mov edx, dword [0x1400db4cc]
mov rcx, rax
call fcn.140066880
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x140023430]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x1400197d0]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x140022b50]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], r13
xor edx, edx
mov dword [rsp + 0x20], r13d
lea r8, [0x140022fc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x14000eeb0]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x140026190]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140066642
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x38], 0x12
je 0x140066655
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140066610
xor ecx, ecx
call fcn.140080670
int3
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Driver_Not_Loaded
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]