Function at 0x18002c460
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 [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, qword [0x18004abd0]
xor edi, edi
test r15, r15
je 0x18002c4ae
mov r14, qword [r15 + 0x90]
jmp 0x18002c4b1
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 [0x18004abd0]
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 0x18002c56e
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x18004abd0]
shr eax, 0xf
test al, 1
jne 0x18002c56e
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2750], dil
mov dword [rbx + 0x3e4], 0x230
cmp byte [rbx + 0x2780], dil
je 0x18002c5a8
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x18004abd0]
shr eax, 0xf
test al, 1
jne 0x18002c5a8
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2780], dil
mov dword [rbx + 0x3e8], 0x234
cmp byte [rbx + 0x2774], dil
je 0x18002c5e2
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x18004abd0]
shr eax, 0xf
test al, 1
jne 0x18002c5e2
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2774], dil
mov dword [rbx + 0x2d0], 0x233
cmp byte [rbx + 0x27a4], dil
je 0x18002c61c
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x18004abd0]
shr eax, 0xf
test al, 1
jne 0x18002c61c
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 0x18002c643
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov r12d, edi
test al, 1
je 0x18002c649
mov r12d, 1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002c66f
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebp, edi
test al, 1
je 0x18002c674
mov ebp, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002c69a
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov esi, edi
test al, 1
je 0x18002c69f
mov esi, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002c6c5
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, edi
test al, 1
je 0x18002c6ca
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 [0x18004abd0]
test rbx, rbx
je 0x18002c717
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 0x18002c762
mov rdx, qword [rdi]
cmp rsi, rdx
je 0x18002c783
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x18002c783
test rbp, rbp
je 0x18002c7ff
mov rdx, qword [rdi]
cmp rbp, rdx
je 0x18002c780
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18002c7ff
mov rsi, rbp
cmp byte [rbx + 0x13f], 0
je 0x18002c7bc
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 0x18002c7bc
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 0x18002c7ff
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18002c7ff
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 0x18002c80d
mov eax, 0xffffffff
jmp 0x18002c81a
mov rax, qword [0x18004abd0]
mov eax, dword [rax + 0x35c8]
cmp dword [r14 + 0x28], eax
je 0x18002c829
mov dword [r14 + 0x28], eax
call fcn.18002c020
call fcn.18002c190
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003b020
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