Function at 0x140058e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0xc8
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [r11 + 0x10], rsi
xorps xmm0, xmm0
movaps xmmword [r11 - 0x18], xmm6
xor esi, esi
movss xmm6, dword [0x14006ac68]
movaps xmmword [r11 - 0x28], xmm7
movss xmm7, dword [0x14006aae8]
mov qword [r11 + 8], rbx
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 8], rdi
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x40], xmm0
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140058eda
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140059203
cmp qword [0x14010bbd0], rsi
jne 0x140058ee8
call fcn.14004e970
mov rcx, qword [0x14010bbf8]
lea rdx, [rsp + 0x48]
mov rdi, qword [0x14010b9b8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
movd xmm1, eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14010bc00]
cvtsi2ss xmm0, qword [0x14010bc08]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14010bc00], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x14010b9b8]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x14b], sil
mov byte [rdi + 0x14a], al
lea rbx, [rcx + 0x130]
cmp byte [rcx + 0x3a3], sil
je 0x140058ffb
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x14010bbf8]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14005906c
mov rdx, qword [0x14010bbf8]
cmp rax, rdx
je 0x14005902c
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x14005906c
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14005906c
mov rcx, qword [0x14010bbf8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14005906c
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], sil
je 0x14005907c
mov eax, 0xffffffff
jmp 0x140059089
mov rax, qword [0x14010b9b8]
mov eax, dword [rax + 0x1fb0]
cmp dword [0x14010ab44], eax
je 0x14005909c
mov dword [0x14010ab44], eax
call fcn.14004eaf0
call fcn.14004ec70
call fcn.140022fa0
call fcn.1400534f0
call fcn.140024940
mov rcx, qword [0x14010bc18]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14010bc18]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14010bc18]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
movss xmm0, dword [0x140069788]
mov r9d, 3
movss xmm1, dword [0x140069794]
mov r10, qword [0x14010bc18]
mulss xmm0, xmm6
mov dword [rsp + 0x30], esi
mulss xmm1, xmm6
mov r11, qword [r10]
cvttss2si eax, xmm0
movss xmm0, dword [0x14006978c]
movzx r8d, al
mulss xmm0, xmm6
cvttss2si eax, xmm1
movss dword [rsp + 0x28], xmm7
shl eax, 8
or r8d, eax
cvttss2si eax, xmm0
shl r8d, 8
movss xmm0, dword [0x140069790]
movzx ecx, al
or r8d, ecx
mulss xmm0, xmm6
shl r8d, 8
mov rcx, r10
cvttss2si eax, xmm0
movzx edx, al
or r8d, edx
xor edx, edx
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [r11 + 0x158]
mov rcx, qword [0x14010bc18]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400591c6
call fcn.140024c30
mov rax, qword [0x14010b9b8]
mov rcx, rsi
add rax, 0x1d90
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14004e300
mov rcx, qword [0x14010bc18]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14010bc18]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140059203
mov rcx, qword [0x14010bc18]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140059203
call fcn.1400592f0
cmp dword [rsp + 0x70], 0x12
jne 0x140058ea0
movaps xmm7, xmmword [rsp + 0xa0]
xor al, al
movaps xmm6, xmmword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14005ec90
add rsp, 0xc8
ret