Function at 0x14006d7b0
Capabilities:
Log keystrokes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
mov qword [rsp + 0x28], r8
movss xmm0, dword [rcx + 8]
addss xmm0, dword [0x1402c1930]
comiss xmm0, dword [0x1402fb394]
ja 0x14006daee
mov rax, qword [0x1402fb580]
cmp byte [rax + 0xa7], 0
je 0x14006daf0
cmp byte [0x1402fb399], 0
jne 0x14006daf0
cmp byte [0x1402fb398], 0
jne 0x14006daf0
test r9b, r9b
jne 0x14006d84d
cmp edx, 5
jge 0x14006d84d
cmp byte [rax + 0xe8], r9b
je 0x14006d84d
cmp byte [rax + 0x130], r9b
je 0x14006d84d
cmp dword [rax + 0x138], edx
je 0x14006daee
call fcn.14006d430
mov edi, eax
test eax, eax
je 0x14006daf0
mov byte [rbx + 0x47], 1
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_bool___cdecl_Controller::CastSpell_int__class_Vector2__bool____ptr64::_18::_lambda_1___void___.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov qword [rbp - 8], r14
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140035380
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x14006d8b2
cvtsi2ss xmm0, rax
jmp 0x14006d8c4
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
addss xmm0, dword [0x1402c18f8]
movss dword [rbp], xmm0
mov byte [rbp + 4], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006d8f5
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], r14
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14006d91a
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
call qword [rax]
mov qword [rbp - 0x50], rax
movss xmm0, dword [rbp]
movss dword [rbp - 0x48], xmm0
movzx eax, byte [rbp + 4]
mov byte [rbp - 0x44], al
lea rdx, [rsp + 0x78]
call fcn.140035270
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetCursorPos]
movss xmm2, dword [rsp + 0x2c]
movss xmm1, dword [rsp + 0x28]
mov rcx, rbx
call fcn.14006d5e0
movzx esi, di
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x78], 1
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov word [rbp - 0x7e], ax
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
mov dword [rbp - 0x7c], 8
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.14006ca60
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14006d9bc
imul rax, rax, 0x64
jmp 0x14006d9d7
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
movabs r15, 0x7fffffffff0bdbff
movabs r12, 0x7fffffffffffffff
cmp rax, r15
jge 0x14006d9fd
add rax, 0xf42400
mov qword [rsp + 0x20], rax
jmp 0x14006da02
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
call fcn.14006ea00
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x78], 1
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov word [rbp - 0x7e], ax
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
mov dword [rbp - 0x7c], 0xa
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.14006ca60
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14006da66
imul rax, rax, 0x64
jmp 0x14006da81
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, r15
jge 0x14006da93
add rax, 0xf42400
mov qword [rsp + 0x20], rax
jmp 0x14006da98
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
call fcn.14006ea00
movd xmm2, dword [rsp + 0x74]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x70]
cvtdq2ps xmm1, xmm1
mov rcx, rbx
call fcn.14006d5e0
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
movss xmm0, dword [0x1402fb394]
movss dword [rbx + 8], xmm0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14006daea
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov al, 1
jmp 0x14006daf0
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1402283f0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret