Function at 0x1800302d0
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 [0x18004e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, qword [0x180056f80]
xor edi, edi
test r15, r15
je 0x18003031e
mov r14, qword [r15 + 0x90]
jmp 0x180030321
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 [0x180056f80]
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 0x1800303de
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x180056f80]
shr eax, 0xf
test al, 1
jne 0x1800303de
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2750], dil
mov dword [rbx + 0x3e4], 0x230
cmp byte [rbx + 0x2780], dil
je 0x180030418
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x180056f80]
shr eax, 0xf
test al, 1
jne 0x180030418
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2780], dil
mov dword [rbx + 0x3e8], 0x234
cmp byte [rbx + 0x2774], dil
je 0x180030452
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x180056f80]
shr eax, 0xf
test al, 1
jne 0x180030452
mov byte [rbx + 0x2b69], dil
mov byte [rbx + 0x2774], dil
mov dword [rbx + 0x2d0], 0x233
cmp byte [rbx + 0x27a4], dil
je 0x18003048c
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x180056f80]
shr eax, 0xf
test al, 1
jne 0x18003048c
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 0x1800304b3
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov r12d, edi
test al, 1
je 0x1800304b9
mov r12d, 1
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800304df
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebp, edi
test al, 1
je 0x1800304e4
mov ebp, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003050a
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov esi, edi
test al, 1
je 0x18003050f
mov esi, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180030535
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, edi
test al, 1
je 0x18003053a
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 [0x180056f80]
test rbx, rbx
je 0x180030587
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 0x1800305d2
mov rdx, qword [rdi]
cmp rsi, rdx
je 0x1800305f3
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x1800305f3
test rbp, rbp
je 0x18003066f
mov rdx, qword [rdi]
cmp rbp, rdx
je 0x1800305f0
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18003066f
mov rsi, rbp
cmp byte [rbx + 0x13f], 0
je 0x18003062c
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 0x18003062c
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 0x18003066f
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18003066f
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 0x18003067d
mov eax, 0xffffffff
jmp 0x18003068a
mov rax, qword [0x180056f80]
mov eax, dword [rax + 0x35c8]
cmp dword [r14 + 0x28], eax
je 0x180030699
mov dword [r14 + 0x28], eax
call fcn.18002fe90
call fcn.180030000
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003ea50
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