Function at 0x140051f20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [0x1400cbf60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor esi, esi
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
nop dword [rax]
mov rcx, qword [0x1400cbd58]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400cbd58]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x1400cbd58]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140051fb9
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x1400cbd48]
lea rcx, [rsp + 0x30]
mov rax, qword [0x1400cbd58]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005202e
mov byte [rbx + 0xe10], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
mov byte [rbx + 0x3748], 1
jmp 0x140052035
mov byte [rbx + 0xe10], sil
xor ecx, ecx
call fcn.140023990
mov rax, qword [0x1400cbd48]
test rax, rax
je 0x140052051
mov rax, qword [rax + 0xa0]
jmp 0x140052054
mov rax, rsi
cmp qword [rax + 0x48], rsi
jne 0x14005205f
call fcn.14002db30
call fcn.14002ec80
call fcn.140008050
mov rcx, qword [0x1400cbeb0]
call fcn.140049bd0
mov rcx, rdi
call fcn.14004eca0
call fcn.14000a150
mov rcx, qword [0x1400cbd60]
lea r8, [0x1400cbea8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x68], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400cbd60]
lea r8, [rsp + 0x68]
mov rdx, qword [0x1400cbea8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400cbd48]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002d0c0
mov rcx, qword [0x1400cbdd8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [rsp + 0x40], 0x12
jne 0x140051f60
mov rbx, qword [0x1400cbd48]
test rbx, rbx
je 0x14005211b
mov rdi, qword [rbx + 0xa0]
jmp 0x14005211e
mov rdi, rsi
call fcn.14002e070
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140052132
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140052140
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005214f
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1400cbd48]
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0xa0], rsi
test rax, rax
je 0x140052173
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400cbd48]
test rax, rax
je 0x140052191
mov rdi, qword [rax + 0x98]
jmp 0x140052194
mov rdi, rsi
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x1400521ae
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400cbd48]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x90], rsi
test rax, rax
je 0x1400521cb
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400cbd48]
mov qword [0x1400cbd48], rbx
call fcn.140006060
mov qword [0x1400cbd48], rsi
test rbx, rbx
je 0x140052216
mov rcx, rbx
call fcn.14001c300
mov rax, qword [0x1400cbd48]
test rax, rax
je 0x14005220d
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400cbd58]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140054fc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret