Function at 0x180082b60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x1800f7040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, qword [0x1800fc718]
xor edi, edi
test r15, r15
je 0x180082bae
mov r14, qword [r15 + 0x90]
jmp 0x180082bb1
mov r14, rdi
xorps xmm0, xmm0
lea rdx, [rsp + 0x28]
movdqu xmmword [rsp + 0x28], xmm0
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], rdi
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 0x10], xmm1
movss dword [r15 + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rbx, qword [0x1800fc718]
mov rax, rcx
sub rax, qword [r14 + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [r14 + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [r15 + 0x18], xmm1
mov qword [r14 + 0x18], rcx
cmp byte [rbx + 0x2750], dil
je 0x180082c6e
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1800fc718]
shr eax, 0xf
test al, 1
jne 0x180082c6e
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2750], dil
mov dword [rbx + 0x3e4], 0x230
cmp byte [rbx + 0x2780], dil
je 0x180082ca8
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1800fc718]
shr eax, 0xf
test al, 1
jne 0x180082ca8
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2780], dil
mov dword [rbx + 0x3e8], 0x234
cmp byte [rbx + 0x2774], dil
je 0x180082ce2
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1800fc718]
shr eax, 0xf
test al, 1
jne 0x180082ce2
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2774], dil
mov dword [rbx + 0x2d0], 0x233
cmp byte [rbx + 0x27a4], dil
je 0x180082d1c
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1800fc718]
shr eax, 0xf
test al, 1
jne 0x180082d1c
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x27a4], dil
mov dword [rbx + 0x2d4], 0x237
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180082d43
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov r12d, edi
test al, 1
je 0x180082d49
mov r12d, 1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180082d6f
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebp, edi
test al, 1
je 0x180082d74
mov ebp, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180082d9a
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov esi, edi
test al, 1
je 0x180082d9f
mov esi, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180082dc5
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, edi
test al, 1
je 0x180082dca
mov ecx, 8
or ecx, esi
or ecx, ebp
or ecx, r12d
movzx eax, cl
mov dword [rbx + 0xd08], ecx
and al, 1
mov byte [rbx + 0xe8], al
mov eax, ecx
shr eax, 1
and al, 1
mov byte [rbx + 0xe9], al
mov eax, ecx
shr eax, 2
and al, 1
shr ecx, 3
mov byte [rbx + 0xea], al
mov byte [rbx + 0xeb], cl
mov rbx, qword [0x1800fc718]
test rbx, rbx
je 0x180082e17
mov rdi, qword [rbx + 0x90]
movss xmm6, dword [rbx + 0xd0]
movss xmm7, dword [rbx + 0xd4]
mov dword [rbx + 0xd0], 0xff7fffff
mov dword [rbx + 0xd4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, qword [rdi + 8]
mov rbp, rax
test rsi, rsi
je 0x180082e62
mov rdx, qword [rdi]
cmp rsi, rdx
je 0x180082e83
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x180082e83
test rbp, rbp
je 0x180082eff
mov rdx, qword [rdi]
cmp rbp, rdx
je 0x180082e80
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180082eff
mov rsi, rbp
cmp byte [rbx + 0x13f], 0
je 0x180082ebc
mov rcx, qword [rdi]
lea rdx, [rsp + 0x38]
cvttss2si eax, xmm6
mov dword [rsp + 0x38], eax
cvttss2si eax, xmm7
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x180082ebc
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180082eff
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180082eff
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xd0], xmm0
movss dword [rbx + 0xd4], xmm1
cmp byte [r15 + 0x70], 0
je 0x180082f0d
mov eax, 0xffffffff
jmp 0x180082f1a
mov rax, qword [0x1800fc718]
mov eax, dword [rax + 0x35c8]
cmp dword [r14 + 0x28], eax
je 0x180082f29
mov dword [r14 + 0x28], eax
call fcn.180082720
call fcn.180082890
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c7ed0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
ret