Function at 0x140080e10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
xor esi, esi
movups xmmword [0x1401923a8], xmm0
movups xmmword [0x1401923b8], xmm0
movups xmmword [0x1401923c8], xmm0
nop dword [rax + rax]
mov rdx, qword [0x1401923d8]
lea rcx, [0x1401923a8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140080e90
lea rcx, [0x1401923a8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401923a8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x140192338]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd0c], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd10], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140080ef0
mov byte [rbx + 0xd14], 1
mov eax, dword [rbx + 0xd10]
mov dword [rbx + 0x35dc], eax
mov byte [rbx + 0x3630], 1
jmp 0x140080ef7
mov byte [rbx + 0xd14], sil
mov rax, qword [0x140192338]
test rax, rax
je 0x140080f0c
mov rcx, qword [rax + 0x98]
jmp 0x140080f0f
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x140080f1a
call fcn.140028e00
call fcn.140029b50
call fcn.140006440
cmp byte [0x140192552], sil
je 0x140080f32
call fcn.1400708a0
call fcn.140070090
call fcn.140008ee0
mov rcx, qword [0x140192358]
lea r8, [0x1401923e8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140192358]
lea r8, [rsp + 0x38]
mov rdx, qword [0x1401923e8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140192338]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140028390
mov rcx, qword [0x1401923e0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [0x1401923b0], 0x12
jne 0x140080e50
mov rdi, qword [0x140192338]
test rdi, rdi
je 0x140080fd7
mov rbx, qword [rdi + 0x98]
jmp 0x140080fda
mov rbx, rsi
call fcn.140029330
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140080fee
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140080ffc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14008100b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140192338]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x98], rsi
test rax, rax
je 0x14008102b
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140192338]
test rax, rax
je 0x140081049
mov rbx, qword [rax + 0x90]
jmp 0x14008104c
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140081066
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140192338]
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x88], rsi
test rax, rax
je 0x14008107c
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140192338]
mov rcx, rbx
call fcn.140007940
mov rax, qword [0x140192338]
cmp rax, rbx
cmove rax, rsi
mov qword [0x140192338], rax
test rbx, rbx
je 0x1400810d1
mov rcx, rbx
call fcn.140018080
mov rax, qword [0x140192338]
test rax, rax
je 0x1400810c8
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401923e8]
test rcx, rcx
je 0x1400810ea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401923e8], rsi
mov rcx, qword [0x1401923e0]
test rcx, rcx
je 0x140081103
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401923e0], rsi
mov rcx, qword [0x140192358]
test rcx, rcx
je 0x14008111c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140192358], rsi
mov rcx, qword [0x140192398]
test rcx, rcx
je 0x140081135
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140192398], rsi
mov rcx, qword [0x1401923d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1401923b8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400835f0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret