Function at 0x180042890
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x180113a00]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.180021650
mov r13, rax
call fcn.180021400
xor edi, edi
test rax, rax
je 0x1800428ea
call fcn.180021650
mov r15, qword [rax + 0x88]
jmp 0x1800428ed
mov r15, rdi
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
sub eax, dword [rsp + 0x38]
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r13 + 8], xmm1
movss dword [r13 + 0xc], xmm0
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
sub rax, qword [r15 + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [r15 + 0x20]
mov ecx, 0x230
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [r13 + 0x10], xmm1
mov rax, qword [rsp + 0x50]
mov qword [r15 + 0x18], rax
call fcn.180022f20
mov esi, 0xffffffff
test al, al
je 0x1800429c2
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800429c2
call fcn.180021650
xor r8d, r8d
mov edx, 0x230
mov rcx, rax
mov rbx, rax
call fcn.18001ac90
mov r9d, esi
mov dword [rsp + 0x20], esi
mov edx, 0x230
mov r8d, 0xa0
mov rcx, rbx
call fcn.18002cbb0
mov ecx, 0x234
call fcn.180022f20
test al, al
je 0x180042a14
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042a14
call fcn.180021650
xor r8d, r8d
mov edx, 0x234
mov rcx, rax
mov rbx, rax
call fcn.18001ac90
mov r9d, esi
mov dword [rsp + 0x20], esi
mov edx, 0x234
mov r8d, 0xa1
mov rcx, rbx
call fcn.18002cbb0
mov ecx, 0x233
call fcn.180022f20
test al, al
je 0x180042a66
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042a66
call fcn.180021650
xor r8d, r8d
mov edx, 0x233
mov rcx, rax
mov rbx, rax
call fcn.18001ac90
mov r9d, esi
mov dword [rsp + 0x20], esi
mov edx, 0x233
mov r8d, 0x5b
mov rcx, rbx
call fcn.18002cbb0
mov ecx, 0x237
call fcn.180022f20
test al, al
je 0x180042ab8
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042ab8
call fcn.180021650
xor r8d, r8d
mov edx, 0x237
mov rcx, rax
mov rbx, rax
call fcn.18001ac90
mov r9d, esi
mov dword [rsp + 0x20], esi
mov edx, 0x237
mov r8d, 0x5c
mov rcx, rbx
call fcn.18002cbb0
call fcn.180021650
mov ecx, 0xa2
mov r12, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042ae7
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov r14d, edi
test al, 1
je 0x180042aed
mov r14d, 1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042b13
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebp, edi
test al, 1
je 0x180042b18
mov ebp, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042b3e
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, edi
test al, 1
je 0x180042b43
mov ebx, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180042b69
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, edi
test al, 1
je 0x180042b6e
mov edx, 8
or edx, ebx
mov rcx, r12
or edx, ebp
or edx, r14d
call fcn.18001acb0
call fcn.180021400
test rax, rax
je 0x180042b93
call fcn.180021650
mov rdi, qword [rax + 0x88]
call fcn.180021650
mov rbx, rax
movss xmm6, dword [rax + 0xc8]
movss xmm7, dword [rax + 0xcc]
mov dword [rax + 0xc8], 0xff7fffff
mov dword [rax + 0xcc], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbp, qword [rdi + 8]
mov r14, rax
test rbp, rbp
je 0x180042be6
mov rdx, qword [rdi]
cmp rbp, rdx
je 0x180042c07
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x180042c07
test r14, r14
je 0x180042c83
mov rdx, qword [rdi]
cmp r14, rdx
je 0x180042c04
mov rcx, r14
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180042c83
mov rbp, r14
cmp byte [rbx + 0x137], 0
je 0x180042c40
mov rcx, qword [rdi]
lea rdx, [rsp + 0x48]
cvttss2si eax, xmm6
mov dword [rsp + 0x48], eax
cvttss2si eax, xmm7
mov dword [rsp + 0x4c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x180042c40
mov edx, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180042c83
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180042c83
movd xmm0, dword [rsp + 0x30]
movd xmm1, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xc8], xmm0
movss dword [rbx + 0xcc], xmm1
cmp byte [r13 + 0x68], 0
jne 0x180042c91
call fcn.180021680
mov esi, eax
cmp dword [r15 + 0x28], esi
je 0x180042ca0
mov dword [r15 + 0x28], esi
call fcn.180042ff0
call fcn.180042ce0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a3bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret