Function at 0x140001010
Capabilities:
Check for foreground window switch
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
push r15
lea rbp, [r11 - 0xf8]
sub rsp, 0x1d8
mov rax, qword [0x140050030]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x28], r13
movaps xmmword [r11 - 0x48], xmm7
call qword [sym.imp.glfw3.dll_glfwInit]
xor edx, edx
mov ecx, 0x20003
call qword [sym.imp.glfw3.dll_glfwWindowHint]
mov edx, 0x12c
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.Arcade_Clicker
lea ecx, [rdx + 0x64]
call qword [sym.imp.glfw3.dll_glfwCreateWindow]
mov rcx, rax
mov qword [rsp + 0x70], rax
mov rbx, rax
call qword [sym.imp.glfw3.dll_glfwMakeContextCurrent]
call qword [sym.imp.glew32.dll_glewInit]
xor ecx, ecx
call fcn.14000b140
call fcn.14000dff0
mov rcx, rbx
call fcn.140002790
call fcn.1400031a0
movss xmm7, dword [0x140049774]
mov dil, 1
mov esi, 0x47
mov byte [rsp + 0x30], dil
xor r14b, r14b
mov dword [rsp + 0x3c], esi
xor r12b, r12b
mov byte [rsp + 0x78], r14b
mov rcx, rbx
mov byte [rsp + 0x31], r12b
movzx r13d, dil
mov dword [rsp + 0x7c], 0x41900000
mov dword [rbp - 0x80], 0x41900000
xor r15b, r15b
mov dword [rsp + 0x34], 0x48
mov dword [rsp + 0x38], 0x4c
call qword [sym.imp.glfw3.dll_glfwWindowShouldClose]
lea ebx, [rsi - 0x46]
test eax, eax
jne 0x1400015f4
movaps xmmword [rsp + 0x1c0], xmm6
movss xmm6, dword [0x140049778]
movaps xmmword [rsp + 0x1a0], xmm8
movss xmm8, dword [0x140049744]
movaps xmmword [rsp + 0x190], xmm9
movss xmm9, dword [0x140049768]
movaps xmmword [rsp + 0x180], xmm10
movss xmm10, dword [0x140049760]
movaps xmmword [rsp + 0x170], xmm11
movss xmm11, dword [0x14004975c]
movaps xmmword [rsp + 0x160], xmm12
movss xmm12, dword [0x140049758]
jmp 0x140001185
mov ebx, 1
call qword [sym.imp.glfw3.dll_glfwPollEvents]
call fcn.14000dcc0
test rax, rax
je 0x1400011a3
call fcn.14000dff0
mov rcx, qword [rax + 0x90]
jmp 0x1400011a5
xor ecx, ecx
cmp dword [rcx + 0x30], 0
jne 0x1400011b0
call fcn.140003f40
call fcn.140002e40
call fcn.140014fc0
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor edx, edx
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.14001a670
xor edx, edx
mov dword [rsp + 0x50], 0x43c80000
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x54], 0x43960000
call fcn.14001a6b0
xor edx, edx
lea rcx, str.Arcade_Clicker
lea r8d, [rdx + 3]
call fcn.140006ea0
lea rax, str._.3f
mov dword [rsp + 0x28], 0
movaps xmm3, xmm7
mov qword [rsp + 0x20], rax
movaps xmm2, xmm8
lea rdx, [rsp + 0x7c]
lea rcx, str.Left_CPS
call fcn.14002ba30
mov r8d, esi
lea rdx, str.Left_Keybind___c_
lea rcx, [rbp - 0x70]
call fcn.1400018a0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], 0
lea rcx, [rbp - 0x70]
call fcn.140025aa0
test al, al
movzx r14d, r14b
cmovne r14d, ebx
cmp byte [rsp + 0x31], 0
je 0x14000132a
lea rcx, str.Dark_Modules
call fcn.14002c390
lea rax, str._.3f
mov dword [rsp + 0x28], 0
movaps xmm3, xmm7
mov qword [rsp + 0x20], rax
movaps xmm2, xmm8
lea rdx, [rbp - 0x80]
lea rcx, str.Right_CPS
call fcn.14002ba30
mov r8d, dword [rsp + 0x34]
lea rdx, str.Right_Keybind___c_
lea rcx, [rbp - 0x30]
call fcn.1400018a0
mov r8d, dword [rsp + 0x38]
lea rdx, str.Dark_Mode___c_
lea rcx, [rbp + 0x10]
call fcn.1400018a0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], 0
lea rcx, [rbp - 0x30]
call fcn.140025aa0
test al, al
movzx r15d, r15b
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], 0
lea rcx, [rbp + 0x10]
cmovne r15d, ebx
call fcn.140025aa0
test al, al
movzx r12d, r12b
lea rdx, [rsp + 0x78]
lea rcx, str.Right_Clicker
cmovne r12d, ebx
call fcn.1400263a0
test r14b, r14b
je 0x140001359
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000134b
inc ebx
cmp ebx, 0xff
jle 0x140001330
jmp 0x140001354
mov esi, ebx
mov dword [rsp + 0x3c], ebx
xor r14b, r14b
mov ebx, 1
test r15b, r15b
je 0x140001382
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14000137b
inc ebx
cmp ebx, 0xff
jle 0x140001360
jmp 0x140001382
mov dword [rsp + 0x34], ebx
xor r15b, r15b
test r12b, r12b
je 0x1400013b2
mov ebx, 1
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400013ab
inc ebx
cmp ebx, 0xff
jle 0x140001390
jmp 0x1400013b2
mov dword [rsp + 0x38], ebx
xor r12b, r12b
lea rcx, str.Made_by_Tecana
call fcn.14002c390
call fcn.14000bbd0
test r14b, r14b
jne 0x1400013f1
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
test si, ax
je 0x1400013f6
test dil, dil
mov ecx, 0xc8
sete bl
mov byte [rsp + 0x30], bl
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400013fb
mov esi, 0x8000
movzx ebx, byte [rsp + 0x30]
test r15b, r15b
jne 0x140001421
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140001421
test r13b, r13b
mov ecx, 0xc8
sete r13b
call qword [sym.imp.KERNEL32.dll_Sleep]
test r12b, r12b
jne 0x14000145a
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14000145a
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14000145a
cmp byte [rsp + 0x31], r12b
mov ecx, 0xc8
sete byte [rsp + 0x31]
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm0, xmm6
movaps xmm1, xmm6
divss xmm0, dword [rsp + 0x7c]
divss xmm1, dword [rbp - 0x80]
cvttss2si edi, xmm0
cvttss2si esi, xmm1
test bl, bl
je 0x1400014d6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400014d6
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1400014d6
xor r9d, r9d
mov edx, 0x201
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x202
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
test r13b, r13b
je 0x140001541
cmp byte [rsp + 0x78], 0
je 0x140001541
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001541
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x140001541
xor r9d, r9d
mov edx, 0x204
mov rcx, rbx
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x205
mov rcx, rbx
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140016960
mov rbx, qword [rsp + 0x70]
lea r8, [rbp - 0x7c]
mov rcx, rbx
lea rdx, [rbp - 0x78]
call qword [sym.imp.glfw3.dll_glfwGetFramebufferSize]
mov r9d, dword [rbp - 0x7c]
xor edx, edx
mov r8d, dword [rbp - 0x78]
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
movaps xmm3, xmm9
movaps xmm2, xmm10
movaps xmm1, xmm11
movaps xmm0, xmm12
call qword [sym.imp.OPENGL32.dll_glClearColor]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
call fcn.14000dcd0
mov rcx, rax
call fcn.1400037a0
mov rcx, rbx
call qword [sym.imp.glfw3.dll_glfwSwapBuffers]
mov rcx, rbx
call qword [sym.imp.glfw3.dll_glfwWindowShouldClose]
movzx edi, byte [rsp + 0x30]
mov esi, dword [rsp + 0x3c]
test eax, eax
je 0x140001180
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm11, xmmword [rsp + 0x170]
movaps xmm10, xmmword [rsp + 0x180]
movaps xmm9, xmmword [rsp + 0x190]
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1c0]
call fcn.14000dcc0
movaps xmm7, xmmword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x210]
test rax, rax
je 0x140001627
call fcn.14000dff0
xor r15d, r15d
mov rsi, qword [rax + 0x90]
jmp 0x14000162d
xor r15d, r15d
mov esi, r15d
call fcn.14000dff0
mov rdi, rax
call fcn.14000dcc0
test rax, rax
je 0x14000164d
call fcn.14000dff0
mov rbx, qword [rax + 0x90]
jmp 0x140001650
mov rbx, r15
cmp dword [rbx + 0x48], 0
je 0x140001669
lea rdx, [rbx + 0x48]
mov ecx, 1
call qword [0x140050720]
mov dword [rbx + 0x48], r15d
cmp dword [rbx + 0x4c], 0
je 0x140001682
lea rdx, [rbx + 0x4c]
mov ecx, 1
call qword [0x140050720]
mov dword [rbx + 0x4c], r15d
mov ecx, dword [rbx + 0x30]
test ecx, ecx
je 0x140001693
call qword [0x140050728]
mov dword [rbx + 0x30], r15d
call fcn.14000dff0
mov r14, rax
call fcn.14000dcc0
test rax, rax
je 0x1400016b3
call fcn.14000dff0
mov rbx, qword [rax + 0x90]
jmp 0x1400016b6
mov rbx, r15
cmp dword [rbx + 0x2c], 0
je 0x1400016d7
lea rdx, [rbx + 0x2c]
mov ecx, 1
call qword [0x140050738]
mov rax, qword [r14 + 0x30]
mov qword [rax + 8], r15
mov dword [rbx + 0x2c], r15d
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], r15
mov qword [rdi + 0x90], r15
test rsi, rsi
je 0x1400016f6
mov rcx, rsi
call fcn.140011350
call fcn.14000dcc0
test rax, rax
je 0x14000170e
call fcn.14000dff0
mov rsi, qword [rax + 0x88]
jmp 0x140001711
mov rsi, r15
call fcn.14000dff0
cmp byte [rsi + 0x70], 0
mov r14, rax
je 0x1400017f4
mov rdi, qword [rsi]
call fcn.14000dcc0
test rax, rax
je 0x14000173e
call fcn.14000dff0
mov rbx, qword [rax + 0x88]
jmp 0x140001741
mov rbx, r15
mov rdx, qword [rbx + 0x78]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetWindowFocusCallback]
mov rdx, qword [rbx + 0x88]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetCursorEnterCallback]
mov rdx, qword [rbx + 0x80]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetCursorPosCallback]
mov rdx, qword [rbx + 0x90]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetMouseButtonCallback]
mov rdx, qword [rbx + 0x98]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetScrollCallback]
mov rdx, qword [rbx + 0xa0]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetKeyCallback]
mov rdx, qword [rbx + 0xa8]
mov rcx, rdi
call qword [sym.imp.glfw3.dll_glfwSetCharCallback]
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.glfw3.dll_glfwSetMonitorCallback]
mov byte [rbx + 0x70], 0
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x80], r15
mov qword [rbx + 0x90], r15
mov qword [rbx + 0x98], r15
mov qword [rbx + 0xa0], r15
mov qword [rbx + 0xa8], r15
mov qword [rbx + 0xb0], r15
lea rbx, [rsi + 0x20]
mov edi, 9
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.glfw3.dll_glfwDestroyCursor]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140001800
mov rdi, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x200]
call fcn.14000e380
mov r8, qword [rsi + 0xb8]
mov edx, 0xfffffffc
mov rcx, qword [rax + 0x28]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [rsi + 0xb8], r15
mov rcx, rsi
and dword [r14 + 4], 0xfffffff8
mov qword [r14 + 0x78], r15
mov qword [r14 + 0x88], r15
call fcn.140011350
xor ecx, ecx
call fcn.14000bb70
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.glfw3.dll_glfwDestroyWindow]
call qword [sym.imp.glfw3.dll_glfwTerminate]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14003fe90
add rsp, 0x1d8
pop r15
pop r14
pop rsi
pop rbp
ret