Function at 0x140066300
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x8a8]
sub rsp, 0x990
vmovaps xmmword [rax - 0x28], xmm6
vmovaps xmmword [rax - 0x38], xmm7
vmovaps xmmword [rax - 0x48], xmm8
vmovaps xmmword [rax - 0x58], xmm9
vmovaps xmmword [rax - 0x68], xmm10
vmovaps xmmword [rax - 0x78], xmm11
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x58], r14d
mov r8d, dword [0x14008b4f8]
add r8, qword [rcx + 0x38]
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066c35
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x58]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066c35
mov eax, dword [rsp + 0x58]
cmp eax, 0xffffffff
je 0x140066c35
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], r14d
lea ecx, [r14 + 8]
call fcn.14006c2b0
mov qword [rsp + 0x40], rax
lea rdx, [rax + 8]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov qword [rsp + 0x48], rdx
lea r8, [rsp + 0x40]
mov rdx, qword [0x14008b648]
call fcn.14000a560
test rax, rax
je 0x140066c35
mov qword [rsp + 0x70], r14
mov ecx, dword [rsp + 0x58]
and ecx, 0x1ff
imul r8d, ecx, 0x78
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066c35
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x70]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066c35
xor edx, edx
mov r8d, 0x4d8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x80]
call fcn.140002720
nop
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140066bee
mov qword [rbp - 0x48], rax
mov r8d, dword [0x14008b4b0]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xc
lea r9, [rbp + 4]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b480]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xc
lea r9, [rbp - 0x10]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b478]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x18]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
lea rcx, [rbp - 0x48]
call fcn.14000a7c0
test al, al
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b4a4]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x34]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b4bc]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x30]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b47c]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x50]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b49c]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x54]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov qword [rsp + 0x60], r14
mov r8d, dword [0x14008b4a8]
add r8, qword [rbp - 0x48]
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x60]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b494]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x58]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b484]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x60]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b498]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x68]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140066bee
mov r8d, dword [0x14008b4b4]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0x40]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140066bee
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x68], r14
mov r8d, dword [0x14008b438]
add r8, rax
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x68]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov r8d, dword [0x14008b43c]
add r8, qword [rsp + 0x68]
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x38]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
xor edx, edx
mov r8d, 0x3c0
lea rcx, [rbp + 0x460]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x460]
call fcn.140001fd0
mov edx, dword [0x14008a250]
test edx, edx
je 0x140066bee
mov qword [rsp + 0x30], 0x33
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x3c0
lea r9, [rbp + 0x460]
mov r8, qword [rbp - 0x38]
mov rcx, qword [0x14008a258]
call qword [sym.imp.VMM.dll_VMMDLL_MemReadEx]
test eax, eax
je 0x140066bee
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
cmp rax, rcx
je 0x14006698e
mov rcx, rax
mov qword [rbp - 0x28], rax
lea rbx, [rbp + 0x460]
mov edi, 0x1e
vmovss xmm9, dword [0x14007b8ec]
vmovsd xmm10, qword [0x14007b940]
vmovss xmm11, dword [0x14007b93c]
nop dword [rax]
nop word [rax + rax]
vxorps xmm4, xmm4, xmm4
vxorps xmm2, xmm2, xmm2
mov rax, qword [0x14008b6c8]
vmulss xmm8, xmm9, dword [rax + 0xec]
vmovss xmm5, dword [rbx + 4]
vmovss xmm6, dword [rbx]
vmovss xmm7, dword [rbx + 8]
vmulss xmm1, xmm6, dword [0x14008b6b8]
vfmadd231ss xmm1, xmm5, dword [0x14008b6bc]
vfmadd231ss xmm1, xmm7, dword [0x14008b6c0]
vaddss xmm3, xmm1, dword [0x14008b6c4]
vcvtss2sd xmm0, xmm3, xmm3
vcomisd xmm0, xmm10
ja 0x140066a16
xor dl, dl
jmp 0x140066a80
vdivss xmm3, xmm11, xmm3
vmulss xmm1, xmm6, dword [0x14008b688]
vfmadd231ss xmm1, xmm5, dword [0x14008b68c]
vfmadd231ss xmm1, xmm7, dword [0x14008b690]
vaddss xmm0, xmm1, dword [0x14008b694]
vfmadd213ss xmm0, xmm3, xmm11
vmulss xmm0, xmm0, dword [rax + 0xe8]
vmulss xmm4, xmm0, xmm9
vmulss xmm2, xmm6, dword [0x14008b698]
vfmadd231ss xmm2, xmm5, dword [0x14008b69c]
vfmadd231ss xmm2, xmm7, dword [0x14008b6a0]
vaddss xmm0, xmm2, dword [0x14008b6a4]
vmulss xmm1, xmm0, xmm3
vmovaps xmm2, xmm8
vfnmadd231ss xmm2, xmm8, xmm1
mov dl, 1
vmovsd xmm0, qword [rbx]
vmovsd qword [rsp + 0x40], xmm0
mov eax, dword [rbx + 8]
mov dword [rsp + 0x48], eax
vmovss dword [rsp + 0x4c], xmm4
vmovss dword [rsp + 0x50], xmm2
mov byte [rsp + 0x54], dl
cmp rcx, qword [rbp - 0x20]
je 0x140066aca
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rcx], xmm0
vmovsd xmm1, qword [rsp + 0x50]
vmovsd qword [rcx + 0x10], xmm1
mov rcx, qword [rbp - 0x28]
add rcx, 0x18
mov qword [rbp - 0x28], rcx
jmp 0x140066adf
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.140002340
mov rcx, qword [rbp - 0x28]
add rbx, 0x20
sub rdi, 1
jne 0x1400669c0
sub rcx, qword [rbp - 0x30]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140066bee
cmp byte [0x14008a0f0], dil
je 0x140066b2a
mov eax, dword [rbp + 0x54]
cmp dword [rsi + 0xd4], eax
je 0x140066bee
cmp dword [rbp + 0x50], 0
jle 0x140066bee
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14008bcd0], eax
jle 0x140066b7d
lea rcx, [0x14008bcd0]
call fcn.14006c238
cmp dword [0x14008bcd0], 0xffffffff
jne 0x140066b7d
lea rcx, [0x14008bcd8]
call fcn.140002640
lea rcx, [0x14008bcd0]
call fcn.14006c1cc
lea rcx, [rsp + 0x68]
call fcn.140002640
mov eax, dword [0x14008a0b4]
imul rcx, rax, 0xf4240
mov rbx, qword [rsp + 0x68]
mov rax, rbx
sub rax, qword [0x14008bcd8]
cmp rax, rcx
jl 0x140066bee
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x140066be7
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x14008bcd8], rbx
lea rcx, [rbp - 0x48]
call fcn.140002960
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140066c35
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c5fc
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.14006c170
lea r11, [rsp + 0x990]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm7, xmmword [r11 - 0x20]
vmovaps xmm8, xmmword [r11 - 0x30]
vmovaps xmm9, xmmword [r11 - 0x40]
vmovaps xmm10, xmmword [r11 - 0x50]
vmovaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret