Function at 0x140011302
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
jmp 0x1400128e0
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400250f3]
call fcn.140011442
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [section..data]
call fcn.1400110d7
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140012970
lea rdx, str.Failed_to_find_the_target_process.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140011244
lea rdx, [0x14001122b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 1
jmp 0x140012a8e
mov r8d, dword [rbp + 4]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400129b9
lea rdx, str.Failed_to_open_the_game_process.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140011244
lea rdx, [0x14001122b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 1
jmp 0x140012a8e
xor eax, eax
cmp eax, 1
je 0x140012a82
mov ecx, dword [rbp + 4]
call fcn.1400111d6
movzx eax, al
test eax, eax
je 0x140012a59
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1400129ef
call fcn.14001132f
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140012a07
call fcn.140011497
movzx eax, byte [0x14001f200]
test eax, eax
je 0x140012a2f
mov cx, 2
call fcn.1400110cd
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov cx, 4
call fcn.1400110cd
movzx eax, byte [0x14001f201]
test eax, eax
je 0x140012a57
mov cx, 8
call fcn.1400110cd
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov cx, 0x10
call fcn.1400110cd
jmp 0x140012a72
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp + 0x44], 0x103
je 0x140012a72
jmp 0x140012a82
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400129b9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001be30]
call fcn.1400113c5
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011221
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret