Function at 0x18007aaf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801300c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rcx
mov qword [rsp + 0x30], rdx
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp byte [rsi + 0xc], r15b
je 0x18007b4b2
mov r12d, 1
cmp byte [0x180227c78], r15b
je 0x18007ab5c
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18007b4b2
cmp byte [0x18022bd54], r15b
jne 0x18007b4b2
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18022bd40]
jne 0x18007b4b2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
movdqu xmmword [rbp - 1], xmm0
lea rdx, [rbp - 0x21]
mov rcx, qword [rsp + 0x30]
call fcn.1800af350
test al, al
je 0x18007b4a9
mov r8, qword [rsp + 0x30]
lea rdx, [rbp - 0x71]
mov rcx, qword [rbp - 0x21]
call fcn.1800b11e0
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rbp - 0x31]
mov rcx, qword [rbp - 0x21]
call fcn.1800b0f00
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp - 0x21]
call fcn.1800b0940
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rbp + 0xf]
mov rcx, qword [rbp - 0x31]
call fcn.1800a0b50
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rbp - 0x41]
mov rcx, qword [rbp - 0x11]
call fcn.1800abec0
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rbp - 0x51]
mov rcx, qword [rbp - 0x11]
call fcn.1800abd70
nop
mov r8, qword [rsp + 0x30]
lea rdx, [rbp - 0x61]
mov rcx, qword [rbp - 0x21]
call fcn.1800b0c20
nop
mov edi, 0xffffffff
mov rax, qword [rsp + 0x48]
cmp byte [0x180227cc4], 0
jne 0x18007ac4d
cmp qword [rax + 8], 0
jne 0x18007b323
jmp 0x18007ac68
cmp qword [rax + 8], 0
je 0x18007ac68
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18007b323
mov rbx, qword [rbp - 0x71]
cmp byte [0x18022f90d], 0
jne 0x18007aca4
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1800a5610
test al, al
je 0x18007ac99
mov byte [0x18022f90d], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x18022f908], eax
movzx eax, byte [0x18022f90d]
test al, al
je 0x18007accb
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1800a5610
test al, al
jne 0x18007acc4
mov byte [0x18022f90d], al
mov dword [0x18022f908], r15d
jmp 0x18007accb
movzx eax, byte [0x18022f90d]
cmp byte [0x180227c3c], 0
je 0x18007ad6d
test al, al
je 0x18007acf3
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x18022f908]
sub rax, rcx
cmp rax, 0x15e
ja 0x18007ad35
mov rbx, qword [rsp + 0x30]
mov r14, qword [rbp - 0x61]
mov rax, qword [rbx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rbx
call r9
test al, al
jne 0x18007ad6d
lea r9, str.isHittingBlock
mov r8, qword [r14 + 8]
mov rdx, rbx
mov rcx, qword [0x180228260]
call fcn.1800b5550
test al, al
je 0x18007ad6d
cmp byte [0x18022f90c], 0
jne 0x18007ad5d
xor r9d, r9d
mov r8, r12
mov edx, 0x201
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x18022f90c], 1
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18007b323
cmp byte [0x18022f90c], 0
je 0x18007ad95
xor r9d, r9d
mov r8, r12
mov edx, 0x202
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x18022f90c], 0
xor bl, bl
mov r14, qword [rbp - 0x41]
cmp byte [0x18022bde5], bl
je 0x18007adb9
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1800a3dd0
movzx ebx, bl
test al, al
cmovne ebx, r12d
cmp byte [0x18022bded], 0
je 0x18007add8
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1800a3ee0
movzx ebx, bl
test al, al
cmovne ebx, r12d
cmp byte [0x18022bd6c], 0
je 0x18007adf7
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1800a4100
movzx ebx, bl
test al, al
cmovne ebx, r12d
cmp byte [0x18022bd78], 0
je 0x18007ae16
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1800a3cc0
movzx ebx, bl
test al, al
cmovne ebx, r12d
cmp byte [0x18022bd97], 0
je 0x18007ae38
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
call r9
cmp byte [0x18022bd89], 0
je 0x18007ae49
test bl, bl
je 0x18007b323
mov r14, qword [rbp - 0x11]
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rbx
call r9
test al, al
jne 0x18007ae91
lea r9, str.hurtTime
mov r8, qword [r14 + 8]
mov rdx, rbx
mov rcx, qword [0x180227f60]
call fcn.1800b5820
test eax, eax
jle 0x18007ae91
mov eax, r15d
xchg dword [rsi + 0x10], eax
mov ebx, dword [rsi + 0x14]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rdx, rax
sub rdx, rbx
xorps xmm0, xmm0
js 0x18007aeac
cvtsi2ss xmm0, rdx
jmp 0x18007aec1
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
comiss xmm0, dword [0x180114560]
jbe 0x18007aed0
mov eax, r15d
xchg dword [rsi + 0x10], eax
cmp byte [0x180227c86], 0
je 0x18007afdb
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rsi
call r9
test al, al
jne 0x18007afe0
mov rax, qword [0x180227e40]
mov r8, qword [rax + 0x70]
mov rax, qword [rsi]
mov r9, qword [rax + 0x100]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call r9
test al, al
je 0x18007afe0
xor r14b, r14b
mov esi, r15d
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r9d, esi
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbp - 0x51]
call fcn.1800a2db0
nop
movzx ebx, r14b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
cmove ebx, r12d
mov rdx, qword [rsp + 0x30]
call fcn.1800a3be0
movzx r14d, bl
test al, al
cmove r14d, r12d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18007afbd
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007afbd
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007afbd
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
inc esi
cmp esi, 9
jl 0x18007af40
test r14b, r14b
jne 0x18007afdb
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18007b323
mov rbx, qword [rsp + 0x48]
cmp byte [0x180227cc4], 0
je 0x18007b004
cmp qword [rbx + 8], 0
je 0x18007b004
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18007b2ae
cmp byte [0x180227d54], 0
je 0x18007b050
mov rsi, qword [rbp - 0x21]
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rsi + 8]
mov rcx, rbx
call r9
test al, al
jne 0x18007b050
mov dword [rsp + 0x20], r15d
lea r9, str.leftClickCounter
mov r8, qword [rsi + 8]
mov rdx, rbx
mov rcx, qword [0x180228040]
call fcn.1800b6910
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmp byte [0x18022bdd2], 0
je 0x18007b2ae
cmp byte [0x180227bfc], 0
je 0x18007b0c0
mov rsi, qword [rbp - 0x11]
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rsi + 8]
mov rcx, rbx
call r9
test al, al
jne 0x18007b0c0
lea r9, str.motionY
mov r8, qword [rsi + 8]
mov rdx, rbx
mov rcx, qword [0x180227e90]
call fcn.1800b6090
xorps xmm1, xmm1
comisd xmm0, xmm1
ja 0x18007b0f3
mov rbx, qword [rbp - 0x71]
cmp byte [0x180227c04], 0
je 0x18007b10f
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1800a57a0
test al, al
je 0x18007b10f
xor edx, edx
mov r8d, 0x64
call fcn.1800776a0
cmp eax, dword [0x180227c8c]
jg 0x18007b10f
cmp byte [0x18022bd96], 0
je 0x18007b323
lea rcx, [rsp + 0x38]
call fcn.18007b4e0
jmp 0x18007b323
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1800a5480
test al, al
je 0x18007b2ae
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, rsi
call r9
test al, al
je 0x18007b149
mov rsi, r15
jmp 0x18007b166
lea r9, str.entityHit
mov r8, qword [rbx + 8]
mov rdx, rsi
mov rcx, qword [0x180227f30]
call fcn.1800b5270
mov rsi, rax
mov ecx, 0x20
call fcn.1800c01a8
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r12d
lea rax, vtable.std::_Ref_count_obj2_class_Player_.0
mov qword [rbx], rax
lea r14, [rbx + 0x10]
mov r8, rsi
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1800ab920
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rbx
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rsi
call r9
test al, al
je 0x18007b1dc
mov eax, r15d
jmp 0x18007b1f6
lea r9, str.hurtTime
mov r8, qword [r14 + 8]
mov rdx, rsi
mov rcx, qword [0x180227f60]
call fcn.1800b5820
cmp eax, dword [0x180227d5c]
jl 0x18007b285
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsi]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [r14 + 8]
mov rcx, rsi
call r9
test al, al
jne 0x18007b23f
lea r9, str.hurtTime
mov r8, qword [r14 + 8]
mov rdx, rsi
mov rcx, qword [0x180227f60]
call fcn.1800b5820
mov r15d, eax
mov ecx, 0xa
sub ecx, dword [0x180227d5c]
cmp r15d, ecx
jg 0x18007b285
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18007b323
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b323
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x18007b323
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18007b2ae
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b2ae
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
call fcn.18009e8c0
movaps xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cvttss2si eax, xmm6
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x38]
call fcn.18007bbe0
mov r8d, 5
mov edx, r12d
call fcn.1800776a0
movsxd rbx, eax
xor r9d, r9d
mov r8, r12
mov edx, 0x201
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.18007bbe0
xor r9d, r9d
mov r8, r12
mov edx, 0x202
mov rcx, qword [0x18022bd40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x18007b35b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b35b
mov rbx, qword [rbp - 0x59]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b35b
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x18007b393
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b393
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b393
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18007b3cb
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b3cb
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b3cb
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x18007b403
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b403
mov rbx, qword [rbp + 0x17]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b403
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x18007b43b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b43b
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b43b
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18007b473
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b473
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18007b473
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x18007b4a9
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18007b4a9
mov rbx, qword [rbp - 0x69]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18007b4a9
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp - 0x21]
call fcn.180062440
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800c0060
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret