Function at 0x140066800
Capabilities:
Log keystrokes via polling

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
vmovaps xmmword [rsp + 0x110], xmm8
vmovaps xmmword [rsp + 0x100], xmm7
vmovaps xmmword [rsp + 0xf0], xmm6
mov rsi, rcx
mov rax, qword [0x1400c1548]
xor rax, rsp
mov qword [rsp + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rsi
call fcn.1400665d0
test al, al
je 0x140066971
call fcn.140017480
mov rbx, rax
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140035c30
mov byte [rsp + 0x78], 0
movabs rax, 0x500000005
mov qword [rsp + 0x70], rax
mov dword [rsp + 0xa8], 0x3f99999a
lea rbp, [0x1400738d0]
mov qword [rsp + 0x90], rbp
mov rdi, qword [rbx + 0x30]
call fcn.140017480
mov rcx, qword [rax + 0x30]
call fcn.14003f210
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, str.OTTO
vmovss xmm3, dword [0x14006ac8c]
mov rcx, rdi
mov r8d, 0x19944
call fcn.140036610
mov rcx, qword [0x1400c15c8]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
lea rdx, [0x1400996c0]
vmovss xmm3, dword [0x14006b450]
mov r8d, 0x27e78
call fcn.140036610
mov rcx, qword [0x1400c15c8]
mov qword [rcx + 8], rax
mov rcx, qword [rsi]
call fcn.140009df0
cmp dword [rsi + 0x88], 0x12
jne 0x1400669b0
call fcn.140044ae0
call fcn.140045040
xor ecx, ecx
call fcn.140012230
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140066962
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140066971
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140067310
vmovaps xmm6, xmmword [rsp + 0xf0]
vmovaps xmm7, xmmword [rsp + 0x100]
vmovaps xmm8, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsi + 0x80]
mov rdi, qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r13, [rsp + 0x40]
lea r14, [rsp + 0x50]
mov r12, qword [sym.imp.USER32.dll_GetForegroundWindow]
vmovaps xmm8, xmmword [0x1400738f0]
vmovss xmm7, dword [0x14006ad10]
vmovss xmm6, dword [0x14006ad1c]
mov rbp, qword [sym.imp.USER32.dll_GetActiveWindow]
jmp 0x140066a0a
call fcn.140027370
mov rcx, rsi
call fcn.1400666f0
cmp dword [rsi + 0x88], 0x12
je 0x140066935
mov rdx, qword [rsi + 0xc0]
mov dword [rsp + 0x20], 1
mov rcx, r15
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140066a3e
mov rcx, r15
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, r15
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, 0x2e
call rdi
test al, 1
je 0x140066a54
mov rax, qword [rsi + 8]
xor byte [rax + 0x199], 1
call fcn.140017480
mov rbx, rax
mov qword [rsp + 0x40], 0
mov rcx, qword [rsi + 0xb8]
mov rdx, r13
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetCursorPos]
vmovq xmm0, qword [rsp + 0x50]
vmovq xmm1, qword [rsp + 0x40]
vpsubd xmm0, xmm0, xmm1
vcvtdq2ps xmm0, xmm0
vmovlps qword [rbx + 0xe38], xmm0
mov ecx, 1
call rdi
movzx eax, ax
mov ecx, eax
shr ecx, 0xf
mov byte [rbx + 0xe40], cl
test ax, ax
jns 0x140066ac9
mov byte [rbx + 0x3858], 1
mov rax, qword [rbx + 0xe38]
mov qword [rbx + 0x3808], rax
call fcn.140044eb0
call fcn.1400450a0
call fcn.1400186d0
mov rbx, qword [rsi + 0xb8]
call r12
cmp rbx, rax
je 0x140066b10
mov rbx, qword [rsi + 0xb8]
call rbp
cmp rbx, rax
je 0x140066b10
call rbp
mov rbx, rax
call r12
cmp rbx, rax
jne 0x1400669f5
nop word cs:[rax + rax]
mov rax, qword [rsi]
mov eax, dword [rax]
cmp eax, 2
je 0x140066b40
test eax, eax
jne 0x1400669f5
mov rax, qword [0x1400c15c8]
mov rcx, qword [rax + 8]
call fcn.140027250
mov rcx, qword [rsi]
call fcn.14000b560
jmp 0x1400669f0
mov rcx, qword [0x1400c15f0]
call fcn.1400063b0
mov rax, qword [rsi + 8]
cmp byte [rax + 0x199], 0
je 0x1400669f5
mov rax, qword [0x1400c15c8]
mov rcx, qword [rax + 8]
call fcn.140027250
mov rcx, r14
call fcn.140029040
call fcn.140017310
mov rbx, rax
vmovaps xmmword [rsp + 0x40], xmm8
mov rcx, r13
call fcn.14000e3d0
vmovss xmm0, dword [rsp + 0x50]
vmovss xmm1, dword [rsp + 0x54]
vaddss xmm2, xmm0, xmm7
vmovss dword [rsp + 0x38], xmm2
vmovss dword [rsp + 0x3c], xmm1
vaddss xmm0, xmm0, xmm6
vmovss dword [rsp + 0x30], xmm0
vmovss dword [rsp + 0x34], xmm1
mov dword [rsp + 0x20], 0x3f800000
mov rcx, rbx
lea rdx, [rsp + 0x30]
mov rbp, rdi
mov rdi, r12
mov r12, r14
lea r14, [rsp + 0x38]
mov r8, r14
mov r9d, eax
call fcn.140033df0
call fcn.140017310
mov rbx, rax
vmovaps xmmword [rsp + 0x40], xmm8
mov rcx, r13
call fcn.14000e3d0
vmovss xmm0, dword [rsp + 0x50]
vmovss xmm1, dword [rsp + 0x54]
vaddss xmm2, xmm1, xmm7
vmovss dword [rsp + 0x38], xmm0
vmovss dword [rsp + 0x3c], xmm2
vaddss xmm1, xmm1, xmm6
vmovss dword [rsp + 0x30], xmm0
vmovss dword [rsp + 0x34], xmm1
mov dword [rsp + 0x20], 0x3f800000
mov rcx, rbx
lea rdx, [rsp + 0x30]
mov r8, r14
mov r14, r12
mov r12, rdi
mov rdi, rbp
mov rbp, qword [sym.imp.USER32.dll_GetActiveWindow]
mov r9d, eax
call fcn.140033df0
mov rcx, qword [rsi]
call fcn.140009ed0
jmp 0x1400669f0