Function at 0x140001340
Capabilities:
Check for foreground window switch
Execute command
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, edx
mov r14, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x1400044fc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.mode_con:_cols61_lines33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea ebx, [r12 + 3]
nop
call fcn.140001290
movsx r9d, al
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jae 0x1400013fd
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x140001407
lea rcx, [rsp + 0x50]
call fcn.1400022b0
sub rbx, 1
jne 0x1400013c0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rdx, str.e_1_97m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.____________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.____________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._____________________________________._______________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, [0x1400045a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.__________________________:____________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.___________________:::::::.......___.________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.___________________:.............___.________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._________:....::.....................:_________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._________:...........................:________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.______:::::::............................_______.:::_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.______..................................._______...:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.________......................__________...:____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.________......................__________...:____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, [0x1400047e8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.________:___.......__________....____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.__________...:_________....__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, [0x1400048a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.__...____..._......._____n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._________..._____________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.______...___:..........____________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.____________.______________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._________..._.........._______________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.______________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str._____________.............._________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.____________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.___Iron_Clicker
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_0_90m
call fcn.140001eb0
mov rcx, rax
lea rdx, str._________Made_by__spokkkwn____n
call fcn.140001eb0
lea rdx, str.____________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, str.e_1_97m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b18]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_32m
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b08]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_97m
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b04]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_0_90m
call fcn.140001eb0
mov rcx, rax
lea rdx, str.Bind___
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_97m
call fcn.140001eb0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140001701
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.1400025f0
lea rdx, [0x140002080]
mov rcx, rax
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 rdx, str.e_1_97m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b18]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_32m
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b08]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_97m
call fcn.140001eb0
mov rcx, rax
lea rdx, [0x140004b04]
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_0_90m
call fcn.140001eb0
mov rcx, rax
lea rdx, str.CPS____
call fcn.140001eb0
mov rcx, rax
lea rdx, str.e_1_97m
call fcn.140001eb0
mov edx, edi
mov rcx, rax
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___int____ptr64]
lea rdx, [0x140002080]
mov rcx, rax
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 eax, [rdi + rdi*4]
lea r15d, [rax + rax]
mov r13d, 0x8001
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
mov eax, 0x84210843
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1f
sub esi, ecx
add esi, 0xa
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140001bc0
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4325c53f
imul r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3d
sub r8d, ecx
lea ebp, [r15 - 0x1e]
add ebp, r8d
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140001838
mov rax, qword [rbx]
movsx ecx, byte [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r13w, ax
je 0x140001869
cmp byte [0x140007708], 0
sete byte [0x140007708]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140007708], 0
je 0x1400018f9
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400018f9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rdi, rax
jne 0x1400018f9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor r9d, r9d
mov edx, 0x201
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor r9d, r9d
mov edx, 0x202
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0x2710
cdq
idiv ebp
sub eax, esi
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000192f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000192a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001943
mov rcx, r8
call fcn.140002864
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x1400017d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3