Function at 0x140001260
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, str.CFPH_SECRE_X_INJECTOR
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop word [rax + rax]
lea rdx, str.CROSSFIRE
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400012dc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.CrossFire_not_found__please_open_it_now...
call fcn.1400015d0
mov rcx, rax
lea rdx, [0x1400017b0]
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 rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.1400017f0
jmp 0x140001290
xor edx, edx
lea rcx, str..CFPHX.dll
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor edi, edi
mov qword [0x140005710], rax
test rax, rax
jne 0x14000133a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__FAILED___The_DLL_could_not_be_loaded._Error_code:
mov ebx, eax
call fcn.1400015d0
mov rcx, rax
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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]
jmp 0x140001450
lea rdx, str.hhjasduyayuuowe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x140001364
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.__FAILED___The_function_was_not_found._Error_code:
jmp 0x1400013e9
lea rdx, str.CROSSFIRE
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14000138d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__FAILED___Target_window_not_found.
call fcn.1400015d0
jmp 0x140001402
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x1400013b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__FAILED___Could_not_get_thread_ID_of_the_target_window.
call fcn.1400015d0
jmp 0x140001402
mov r8, qword [0x140005710]
mov r9d, eax
mov rdx, rbx
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140005718], rax
test rax, rax
jne 0x14000141b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.__FAILED___Couldnt_set_the_hook_with_SetWindowsHookEx._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ebx, eax
call fcn.1400015d0
mov rcx, rax
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400017b0]
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 qword [0x140005710], rdi
jmp 0x140001450
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__Secre_X_Hax_Successfully_Loaded__Enjoy___
call fcn.1400015d0
mov rcx, rax
lea rdx, [0x1400017b0]
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]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
nop
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov ecx, 0x20
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x20], xmm0
call fcn.140001990
movups xmm0, xmmword [str.CROSSFIRE]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], 9
movups xmmword [rax], xmm0
movzx ecx, word [0x1400034a8]
mov word [rax + 0x10], cx
mov word [rax + 0x12], di
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdx, qword [rsp + 0x38]
mov rbx, rax
cmp rdx, 7
jbe 0x1400014f6
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014f1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001513
call fcn.1400019cc
test rbx, rbx
je 0x14000151a
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.1400017f0
jmp 0x140001450
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__INFO___CrossFire_is_no_longer_running._Closing_the_application.
call fcn.1400015d0
mov rcx, rax
lea rdx, [0x1400017b0]
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]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001970
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret