Function at 0x14005afc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14047d100]
test rax, rax
jne 0x14005b015
mov ecx, 0x128
call fcn.14010a334
mov qword [rbp + 0x7f], rax
mov rcx, rax
call fcn.14023c250
nop
mov qword [0x14047d100], rax
mov rdx, qword [rbx]
mov rcx, rax
call fcn.14023bf00
test rax, rax
jne 0x14005b2f7
mov byte [rsi + 0x110], 1
cmp qword [0x14047d358], rax
je 0x14005b098
call fcn.140081e90
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
shl ebx, 4
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
and al, 1
cmove edi, ebx
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, edi
or ecx, 0x40
and al, 1
cmove ecx, edi
mov eax, dword [0x14047d2c0]
and eax, 0xffffff8f
or eax, ecx
mov dword [0x14047d2c0], eax
jmp 0x14005b09e
mov eax, dword [0x14047d2c0]
test al, 0x70
je 0x14005b2f7
lea rax, [rbp - 0x29]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x19], rax
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov byte [rbp + 0x7f], bl
mov rcx, qword [rsi + 0xf0]
mov rax, qword [rcx]
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x29]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test al, al
je 0x14005b13e
cmp dword [rbp - 0x1d], ebx
je 0x14005b13e
lea rax, [rbp + 7]
mov qword [rbp - 0x11], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x19], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x1f], rax
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
mov r8d, dword [rbp - 0x1d]
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.14001c6f0
nop
movzx eax, byte [rbp + 0x7f]
mov byte [rbp + 0x17], al
lea rcx, [rbp + 7]
call fcn.140091540
mov rax, qword [rsi]
lea edx, [rbx + 1]
mov rcx, rsi
call qword [rax]
jmp 0x14005b290
lea rax, [0x1402be078]
mov qword [rbp - 9], rax
mov rcx, qword [rsi + 0xf0]
mov rax, qword [rcx]
lea r8, [rbp - 9]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test al, al
je 0x14005b2ac
mov rax, qword [rbp - 9]
cmp byte [rax], 0
je 0x14005b2ac
lea rcx, [rbp - 0x11]
mov qword [rbp + 0x1f], rcx
mov qword [rbp - 0x11], rax
lea rcx, [rax - 0x10]
lea rdi, [0x1402be068]
cmp rcx, rdi
je 0x14005b197
mov eax, 1
lock xadd dword [rcx], eax
lea rax, [rbp - 0x11]
mov qword [rbp + 0x1f], rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.14010a334
mov rdx, rax
mov qword [rbp + 0x27], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x2f], rax
mov rcx, qword [rbp - 0x11]
mov qword [rbp - 0x19], rcx
lea rax, [rcx - 0x10]
cmp rax, rdi
je 0x14005b1d2
mov ecx, 1
lock xadd dword [rax], ecx
lea rax, [rbp - 0x19]
mov qword [rbp + 0x2f], rax
lea rax, vtable.juce::ReferenceCountedObject.0
mov qword [rdx], rax
mov dword [rdx + 8], ebx
lea rax, vtable.juce::MessageManager::MessageBase.0
mov qword [rdx], rax
lea rax, vtable.juce::MessageManager::AsyncCallInvoker_class__lambda_4639ba94ddd790eb3b2d959ff5280a8f__.0
mov qword [rdx], rax
lea rcx, [rdx + 0x10]
mov qword [rbp - 1], rcx
mov rax, qword [rbp - 0x19]
mov qword [rcx], rax
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x14005b220
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, rdx
call fcn.140169820
nop
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff0
mov ebx, 0xffffffff
cmp rcx, rdi
je 0x14005b24b
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14005b24b
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x14005b267
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x14005b267
call fcn.14010a370
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
mov rcx, qword [rbp - 9]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x14005b290
lock xadd dword [rcx], ebx
test ebx, ebx
jne 0x14005b290
call fcn.14010a370
nop
lea rax, [rbp - 0x29]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x29]
call fcn.14001a610
nop
jmp 0x14005b2ed
mov rcx, qword [rbp - 9]
add rcx, 0xfffffffffffffff0
lea rdi, [0x1402be068]
cmp rcx, rdi
je 0x14005b2d3
mov ebx, 0xffffffff
lock xadd dword [rcx], ebx
test ebx, ebx
jne 0x14005b2d3
call fcn.14010a370
nop
lea rax, [rbp - 0x29]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x29]
call fcn.14001a610
nop
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret